Skip to content
Navigation

List action runs in a space

Lists the space's action runs, newest first. Requires space:read (denied → 404, which also hides the space's existence). Query: limit (1–100), starting_after (a run id, cursor pagination) and file_id (only the runs that read this input file). Returns 200 { data: ActionRun[], has_more: boolean } — keep paging with starting_after set to the last returned id while has_more is true. Callers who lack space:contribute get capability fields (download and storage references, plus the artifacts array) redacted from each run.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Query parameters

  • limit
    optional
    integer

    Page size, 1–100.

    maximum: 100 · minimum: 1 · default: 20
  • starting_after
    optional
    string

    Cursor: the id of the last run on the previous page.

    minLength: 1
  • file_id
    optional
    string

    Only the runs that read this input file.

    minLength: 1

Returns

200

One page of runs, newest first.

JSON
  • data
    array of
    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.

  • has_more
    boolean
    required

Type to search…

↑↓ navigate↵ selectEsc close