Get Document Packet
Retrieve one document packet: status, files, and its latest run id
latest_run_id — the id of the packet’s most recent run, null until the packet has been run.
latest_run_id is the hop to results: follow it with GET /v3/runs/{run_id}/. Run history is not embedded — list a workflow’s runs via GET /v3/workflows/{workflow_id}/runs/.
Unknown ids — including packets belonging to another organization — return 404.
Authorizations
API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.
Path Parameters
Response
Successful Response
A packet with its per-file breakdown and latest run reference.
Unique identifier of the document packet (hyphenated UUID).
"069dcc2c-e14c-7606-8000-2ee4fb17b4e1"
The workflow this packet belongs to (hyphenated UUID).
"0686bb97-8c30-70f0-8000-97669e000eb8"
Processing status. Non-terminal: not_started, queued, in_progress. Terminal: processed (success), error, cancelled.
not_started, queued, in_progress, processed, error, cancelled "processed"
Files in this packet.
Human-readable name of the packet.
Timestamp when the packet was created (ISO 8601).
Timestamp when the packet was last updated (ISO 8601).
Id of the packet's most recent run (hyphenated UUID); null until the packet has been run.
