Skip to content

Artifacts

GET /api/orgs/{org_id}/artifacts/{artifact_id}

Section titled “GET /api/orgs/{org_id}/artifacts/{artifact_id}”

Get Artifact

Get a single artifact by ID.

Requires membership in the organization.

Parameters

NameInTypeRequiredDescription
artifact_idpathstring (uuid)yes
org_idpathstring (uuid)yes

Responses

StatusDescriptionBody
200Successful ResponseArtifactDetailResponse
422Validation ErrorHTTPValidationError

GET /api/orgs/{org_id}/artifacts/{artifact_id}/download

Section titled “GET /api/orgs/{org_id}/artifacts/{artifact_id}/download”

Download Artifact

Download the raw bytes of a FILE-type artifact.

Only valid for artifacts with artifact_type == “file”. For all other types (code, markdown, text, json) the content is already inline in the GET /{artifact_id} response.

Returns the file bytes with appropriate Content-Type and Content-Disposition headers so browsers trigger a native download.

Parameters

NameInTypeRequiredDescription
artifact_idpathstring (uuid)yes
org_idpathstring (uuid)yes

Responses

StatusDescriptionBody
200Successful Responseobject
422Validation ErrorHTTPValidationError