Skip to main content
GET
Read metadata for an immutable output variant

TypeScript

Authorizations

Authorization
string
header
required

Revise API key from https://revise.io/console/api-keys. Send Authorization: Bearer .

Path Parameters

id
string
required

Response

Read metadata for an immutable output variant

id
string
required
format
enum<string>
required
Available options:
docx,
pdf,
md,
html,
txt
filename
string
required
content_type
string
required
variant
enum<string>
required
Available options:
tracked_changes,
clean,
converted
sha256
string
required

SHA-256 of the exact downloadable bytes (ciphertext for encrypted artifacts).

bytes
integer
required

Size of the downloadable bytes, including JWE encoding overhead when encrypted.

download_url
string
required

Same-origin path. Requires the same Bearer API key; never a public signed link in this local build.

input_eligible
boolean
required

False for encrypted artifacts; they must be decrypted locally and re-uploaded.

expires_at
string<date-time> | null
required
prompt_id
string
conversion_id
string
encryption
object
deleted_at
string<date-time> | null