/developers
Developer docsAtom Files ↗
← API referenceFile intelligence · API access unavailable
API REFERENCE / FILE INTELLIGENCE

GET /v1/artifacts/{artifact_id}/content

Read one derived output with its actual content type.

Request fields

LocationFieldTypeRequiredDescription
HeaderAuthorizationstringYesCredential scoped to the authorized resource.
Pathartifact_idstringYesStable derived-artifact ID.
HeaderRangestring (byte range)NoOptional byte range for large derived outputs.

Request example

Example request
GET /v1/artifacts/art_123/content
Authorization: Bearer <scoped token>

HTTP status codes

StatusMeaning
200 OKSuccess response shown below.
401 UnauthorizedMissing, expired, or invalid credential.
403 ForbiddenCredential is valid but lacks the required scope or role.
404 Not FoundArtifact is absent or its source file is not visible.
416 Range Not SatisfiableRequested bytes fall outside this artifact.
429 Too Many RequestsRate limit reached; honor Retry-After when provided.
503 Service UnavailableService temporarily unavailable; retry safely.

Response fields

FieldTypeExample
bodybinary streamFile bytes

Response example

Example response
200 OK
Content-Type: text/plain; charset=utf-8
ETag: "art_123"

<derived output bytes>

How it works

Authorization is checked against the source file on every read. A known artifact ID never bypasses a revoked folder grant. Large artifacts may support byte ranges; this route never returns underlying provider credentials or device paths.