Get a prompt
Read status, receipt, and unexpired result.
TypeScript
Authorizations
Revise API key from https://revise.io/console/api-keys. Send Authorization: Bearer .
Path Parameters
Response
Current status and receipt. Retained result content is omitted after expiry or deletion; settled usage remains.
queued, running, paused, succeeded, failed, cancelled Customer-facing settled charges and usage. Supplier costs, margins and internal reconciliation diagnostics are not exposed. Historical charges are never recalculated using current prices.
Up to 16 string values for application attribution. Keys are 1–64 UTF-8 bytes; values at most 512 UTF-8 bytes. Metadata is deleted with request content; persist your own job mapping for long-term attribution.
Non-secret ID of the key that originally submitted this prompt; null when not recorded. Idempotent retries preserve the original key.
True disables continuation and reuse. Artifacts are encrypted for the supplied public key.
24 hours after terminal completion. Result content and new continuation become unavailable at this deadline.
True when the request returned a partial result.
Flat native comment records; replies use parentId. Omitted when disabled by response_options or when content is unavailable.
Pending native tracked changes. Replacements can appear as linked insertion/deletion entries. Omitted when disabled by response_options or when content is unavailable.
Limit that ended further agent work. The current result is returned; successful partial results incur the base fee even without inference, plus actual billable usage.
spending_limit, time_limit