Skip to content
Navigation

Get one action run

Fetches a single run by id within the space. Requires space:read (denied → 404); a runId belonging to another space also 404s. Returns 200 { data: ActionRun } with the run's status (running | awaiting_input | done | failed), error, output, documents (input files), outputs (downloadable byproducts — each fileId streams via getRunOutput), artifacts (rendered links) and awaitingInput. Callers who lack space:contribute get capability fields (URLs, storage references, and artifacts) redacted.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • runId
    string
    required

Returns

200

The run.

JSON
  • data
    object
    required
    • id
      string
      required
    • spaceId
      string
      required
    • actionSlug
      string
      required
    • actionVersion
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • installedActionId
      string
      required
    • configRevision
      required

      The revision of the saved config the run used. Null on a run created before revisions existed.

      Any of the following:

      • integer
      • null
    • configOverridden
      boolean
      required

      True when inline config changed the saved config for this run.

    • playbookRunId
      string | null
      required
    • status
      running
      or
      awaiting_input
      or
      done
      or
      failed
      required
    • error
      string | null
      required
    • output
      required

      The action’s JSON output, when it has one.

      Any of the following:

      • Option 1
      • null
    • artifacts
      array of
      object
      required

      Rendered links. Redacted for callers without space:contribute.

      • id
        string
        required
      • kind
        string
        required
      • title
        string
        required
      • url
        string
        required
      • open
        tab
        or
        embed
        required
    • awaitingInput
      array of
      object
      required

      Open human steps while the run is awaiting_input.

      • id
        string
        required
      • title
        string
        required
      • url
        string
        required
      • resolved
        boolean
        required
    • documents
      array of
      object
      required
      • fileId
        string
        required
      • name
        string
        required
      • contentType
        string | null
        required
    • outputs
      array of
      object
      required

      Downloadable byproducts; stream each with the run-output route.

      • fileId
        string
        required
      • kind
        string
        required
      • key
        string
        required
      • size
        number
        required
    • timeoutSeconds
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • lastEventAt
      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))$
    • 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))$
    • createdBy
      string | null
      required
    • finishedAt
      required

      Any of the following:

      • string
      • null
    • config
      optional
      map of
      unknown

      The exact config used by this run, including inline overrides. Returned on the run detail read only.

    • apiRunId
      optional
      string

      The id of the /v1 run that started this run, for example exr_…. Absent when the run started another way.

Type to search…

↑↓ navigate↵ selectEsc close