Concepts
Artifacts, access modes, credentials and lifetimes.
Artifacts, access and lifetimes
An artifact is either one or a (a directory with an at its root). Its id is 26 characters from and (130 random bits), which is also a valid DNS label.
Status
| Status | Meaning | Content URLs answer |
|---|---|---|
| Created; waiting for its uploads and . | 404 |
| Live until (or forever when persistent). | 200 |
| Published, and has passed. Not stored: computed on every request. | 410 |
| Publication failed (uploads did not match the manifest, or the upload window ended). Create a new artifact. | 404 |
| Deleted by its owner. | 410 |
| Taken down by the operator. | 410 |
Deleted and expired artifacts keep a tombstone for 7 days, during which their URLs answer 410; after that, 404. Blocked tombstones are kept.
Access modes
| Access | Who can open it | Notes |
|---|---|---|
(default) | Anyone with the URL. | . The id is unguessable, but anyone who has the URL can open it. |
| Anyone with the URL. | No : search engines may index it. |
| Only with the access token. | Files only. Sites cannot be private (). |
Lifetimes
- Default lifetime: 1 day. Minimum: 1 minute.
- Anonymous artifacts live at most 7 days. With an API key: up to 90 days, or
(never expires; allowed: yes).persistent is fixed at create, counted from creation (not from publication), and never changes.expires_at - Expiry, deletion and takedown take effect on the next request: content is never cached at the edge, and every request checks the artifact's current state.
Credentials
Every credential travels as . The API never uses cookies and never accepts a credential in the URL. The only exception is the access token of a private file, which the files host also accepts as so that a browser can open it.
| Credential | Format | Grants |
|---|---|---|
| Delete token | + 43 characters | Manage one artifact: , , the full , . Returned once by create. |
| API key | + 12-character id + + 43 characters | Create as owner (longer lifetimes, persistence, higher limits); manage the artifacts it created. Issued by the operator. |
| Access token | + 43 characters | Read one private file on the files host (header or ). Returned once by create, with a ready-made . Never accepted by the API. |
| Admin secret | opaque | The admin routes only. |
Tokens are shown once; the service stores only their SHA-256 hashes and cannot show them again. A malformed, unknown or revoked key is always ; it never falls back to anonymous.