Get a run in a space
Returns a run created in this space. Identical to GET /v1/runs/{id}, except that a run belonging to another space — or to no space — answers 404.
Learn more: Spaces
https://api.cloudraker.com/v1/spaces/{spaceId}/runs/{id}Try it
Authorization
Path parameters
Query parameters
Returns
200
The run.
Any of the following:
- V1ExtractRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown
- configoptionalobject
The output shape this run actually applied.
On an inference run — one sent with neither
schemanoraction— this is where you read the schema that was inferred, ready to review and save as an action for the next run.- schemamap ofunknownrequired
- revisionoptionalinteger
The revision of the saved config the run used. Each save that changes a config adds one. Absent on a run without a saved config, or one created before revisions existed.
maximum: 9007199254740991 · minimum: 1 - overriddenoptionalboolean
True when inline config on the call changed the saved config for this run. Present with
revision.
- outputoptionalobject
The extracted data. Present once
statusisprocessed.documents[]always has one entry per input file. For a single-document run,value,citationsand any parsed source fields are lifted to the top as aliases ofdocuments[0]so the common case reads without indexing.Parsed source fields are present only when requested with
?output=inline. The signed URLs remain as a fallback;markdownandjsonare omitted when the combined inline source exceeds 1 MiB.- documentsarray ofobjectrequired
- fileIdstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- valueoptionalunknown
- citationsoptionalmap ofarray<object>
Where each extracted value came from, keyed by the field it backs.
Keys are the top-level field keys of
value(load_number); for arows_per_documentrun they are prefixed with the row index,[0].description. Each entry names thefileIdand, when known, thepageandbbox(ortimecodeStartandtimecodeEndfor audio), plus the matchedtext. Addjudge: trueto also get aconfidencescore on each entry. An entry withnotFound: trueinstead records that the value is not present in the documents at all, and the field isnull; one withuncited: truerecords that the field IS filled but nothing in the source backs the value.Present whenever the run was grounded. Send
citations: trueon the request to ask for it. - markdownUrloptionalstring
- jsonUrloptionalstring
- markdownoptionalstring
- jsonoptionalunknown
- valueoptionalunknown
- citationsoptionalmap ofarray<object>
Where each extracted value came from, keyed by the field it backs.
Keys are the top-level field keys of
value(load_number); for arows_per_documentrun they are prefixed with the row index,[0].description. Each entry names thefileIdand, when known, thepageandbbox(ortimecodeStartandtimecodeEndfor audio), plus the matchedtext. Addjudge: trueto also get aconfidencescore on each entry. An entry withnotFound: trueinstead records that the value is not present in the documents at all, and the field isnull; one withuncited: truerecords that the field IS filled but nothing in the source backs the value.Present whenever the run was grounded. Send
citations: trueon the request to ask for it. - citationsOmittedoptionalboolean
The citations were dropped because the result exceeded the size budget.
- markdownUrloptionalstring
- jsonUrloptionalstring
- markdownoptionalstring
- jsonoptionalunknown
- V1ParseRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown
- outputoptionalobject
The parsed document. Present once
statusisprocessed.Both links are signed and valid for about an hour:
markdownUrlfor the readable form,jsonUrlfor the structured one. With?output=inline,markdownand parsedjsonare included too when their combined payload is at most 1 MiB; larger content falls back to the URLs only.- markdownUrloptionalstring
- jsonUrloptionalstring
- markdownoptionalstring
- jsonoptionalunknown
- V1RedactRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown
- outputoptionalobject
The redacted files. Present once
statusisprocessed.files[]holds the new documents —fileis an alias of the first for single-file runs — each with a signed download link. A/v1/redactcall takes one input, so it returns at most one file; aredactpipeline step over many files returns one per input that had a match.entitiestallies what was removed per category. Its keys are open, not a closed set: a finding thecategorieslist does not cover reports under its own label.skippedcounts documents that contained nothing to redact and so produced no new file.- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- urloptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- urloptionalstring
- entitiesoptionalmap ofnumber
- skippedoptionalnumber
- V1FillRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown
- outputoptionalobject
The completed form. Present once
statusisprocessed.fileis the filled PDF with a signed download link;fieldsreports the values that were written into it, keyed by field name.- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- urloptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- urloptionalstring
- fieldsoptionalmap ofunknown
- V1SignRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- envelopeUrlstringrequired
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown
- outputoptionalobject
The signed document. Present once every required signing slot has completed.
fileis the sealed PDF,signers[]records who signed and when, andauditUrlpoints at the machine-readable audit trail.- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- urloptionalstring
- fileoptionalobject
- idstringrequired
- namestringrequired
- urloptionalstring
- envelopeIdoptionalstring
- signersoptionalarray ofobject
- namestringrequired
- emailstringrequired
- signedAtoptionalstring
- ccoptionalarray ofobject
- namestringrequired
- emailstringrequired
- auditUrloptionalstring
- V1PipelineRun
- objectstringrequired
- idstringrequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- expiresAtstring | nullrequired
- statusUrlstringrequired
- filesarray ofobjectrequired
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- stepsarray ofobjectrequired
- idstring | nullrequired
- capabilityextractorparseorredactorfillorsignorclassify+2 morerequired
- statusqueuedorprocessingorprocessedorfailedorcancelledorexpired+1 morerequired
Where the run is in its life.
Status Meaning queuedAccepted, not started processingWork in flight needs_inputWaiting for an external action, such as an e-signature processedFinished; outputis populatedfailedFinished unsuccessfully cancelledStopped on request expiredTTL elapsed and the data was purged The last four are terminal.
- erroroptionalstring
- outputoptionalunknown
- fileoptionalobject
- idstringrequired
- namestringrequired
- statusstringrequired
- erroroptionalstring
- erroroptionalobject
Why the run failed. Present whenever
statusisfailed, and only then.codeis the stable, snake_case reason (input_unavailable,parse_failed, …);messageis the human-readable detail. Per-file and per-step failures are also reported infiles[].errorand, for a pipeline,steps[].error.- codestringrequired
- messagestringrequired
- metadataoptionalmap ofunknown