Artifacts
Download artifact content
Returns artifact bytes directly or a 302 redirect to a signed storage URL valid for five minutes. Follow the redirect without forwarding Authorization across origins; with curl use —location, never —location-trusted. Verify length and SHA-256 against artifact metadata. Deleted or expired content returns 410. Encrypted downloads use application/jose and a .jwe filename.
GET
Download artifact content
See downloads and retention for integration guidance.
This TypeScript example fetches metadata, follows a signed download redirect when present, and verifies byte length and SHA-256. For a raw Response use
revise.artifacts.content(id). Encrypted content is compact JWE, with application/jose MIME and a .jwe filename.
TypeScript
Authorizations
Revise API key from https://revise.io/console/api-keys. Send Authorization: Bearer .
Path Parameters
Response
The exact output bytes, or compact JWE ciphertext when output encryption was requested.
The response is of type file.