Skip to content
Navigation

List playbook runs in a space

Lists playbook runs in this space, newest first. Authorization: space:read (org admins bypass); missing → 404. Query params: playbookId (filter to one playbook), status (one of running, waiting_approval, waiting_action, waiting_user, paused, completed, failed, cancelled — an unrecognized value returns 400 invalid_status), limit (1–100), and starting_after (opaque cursor = the id of the last run from the previous page). Returns { data: PlaybookRun[], has_more }; when has_more is true, page again using the last run id as starting_after.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Query parameters

  • playbookId
    optional
    string

    Only runs of this playbook.

    minLength: 1
  • status
    optional
    running
    or
    waiting_approval
    or
    waiting_action
    or
    waiting_user
    or
    paused
    or
    completed
    +2 more

    Run-status filter. An unrecognized value returns 400 invalid_status.

  • 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

Returns

200

One page of playbook runs, newest first.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
    • spaceId
      string
      required
    • playbookId
      string
      required
    • playbookVersion
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • playbookName
      string
      required
    • status
      running
      or
      waiting_approval
      or
      waiting_action
      or
      waiting_user
      or
      paused
      or
      completed
      +2 more
      required
    • fileScope
      PlaybookFileScope
      required

      One of the following:

      • object
        • mode
          string
          required
      • object
        • mode
          string
          required
        • fileIds
          array of
          string
          required
          minLength: 1
    • taskProgress
      object
      required
      • total
        integer
        required
        maximum: 9007199254740991 · minimum: -9007199254740991
      • completed
        integer
        required
        maximum: 9007199254740991 · minimum: -9007199254740991
    • pendingApproval
      required

      Any of the following:

      • object
        • id
          string
          required
        • kind
          pre
          or
          post
          required
        • actionName
          string
          required
        • requestedAt
          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))$
      • null
    • result
      string | null
      required
    • error
      string | null
      required
    • startedBy
      string
      required
    • 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))$
    • updatedAt
      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
  • has_more
    boolean
    required

400

Unrecognized status filter (invalid_status)

Type to search…

↑↓ navigate↵ selectEsc close