Skip to main content
GET
Get one artifact

Authorizations

Authorization
string
header
required

Create a key under Settings → API Keys and send it as Authorization: Bearer amd_live_…. See https://docs.anythingmd.com/authentication.

Path Parameters

artifactId
string
required

Id of a job output artifact

Minimum string length: 1

Response

Artifact metadata / content hints

id
string
required

Id of a job output artifact

Minimum string length: 1
jobId
string
required

Id of an async job

Minimum string length: 1
kind
enum<string>
required
Available options:
markdown,
image,
zip,
metadata
contentType
string
required

MIME type, e.g. text/markdown or image/png

createdAt
string<date-time>
required
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
fileName
string

Suggested download file name

sizeBytes
integer
Required range: 0 <= x <= 9007199254740991
downloadUrl
string

Time-limited URL to download the artifact bytes

text
string

Inline text content when kind is markdown/metadata and small enough

contentHash
string

SHA-256 of artifact bytes as sha256:. Omitted when bytes were not available to hash (e.g. external zip URL).

expiresAt
string<date-time>

When artifact metadata/bytes may be deleted (aligned with job retention)

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$