Skip to content
Navigation

Get a run result

Fetches the durable, grounded result of a terminal extract-structured run: one entry per source document with extracted data, per-field evidence (source citations), envelope (unit, fieldKeys, schema) and per-document status. Requires space:read (denied → 404, which also hides the space's existence). Returns 404 while the run is still running or when no result exists. Response status and headers are preserved.

GET
https://api.cloudraker.com/spaces/{spaceId}/runs/{runId}/result
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • runId
    string
    required

Returns

200

The durable, grounded run result.

JSON
  • version
    integer
    required
    maximum: 9007199254740991 · minimum: -9007199254740991
  • runId
    string
    required
  • actionSlug
    string
    required
  • unit
    per_document
    or
    across_documents
    or
    rows_per_document
    required
  • fieldKeys
    array of
    string
    required

    The schema's fields in the order their author set, which is the order to display them in. data and schema.properties are returned in this order too. A nested object and an array's item schema carry their own order in x-order.

  • schema
    required

    The applied (or inferred) extraction schema, its properties in the authored order. Each object level also carries that order in x-order.

    Any of the following:

    • map<unknown>
    • null
  • docs
    array of
    object
    required
    • id
      string
      required

      The source fileId, or merged for across_documents.

    • name
      string
      required
    • contentType
      string | null
      required
    • status
      done
      or
      failed
      required
    • error
      optional
      string
    • data
      optional
      map of
      unknown
    • evidence
      optional
      map of
      array<map<unknown>>

      Field key → citations backing that value.

    • rows
      optional
      array of
      object

      Present for a rows_per_document run.

      • data
        map of
        unknown
        required
      • evidence
        optional
        map of
        array<map<unknown>>
    • edited
      optional
      boolean

      A human has edited this document.

  • createdAt
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
  • finishedAt
    required

    Any of the following:

    • string
    • null
  • evidenceOmitted
    optional
    boolean

    The size guard dropped the citations.

  • dataOmitted
    optional
    boolean

    The size guard dropped the values too.

Type to search…

↑↓ navigate↵ selectEsc close