Skip to content
Navigation

List approvals for a playbook run

Lists the run's action approval requests — both pre-action gates (approve before an action runs) and post-action gates (review the action output) — each with its status (pending, approved, rejected, void), the proposed action (slug, installedActionId, name), rationale, params, input files, output and artifacts, plus decision metadata (decidedBy, decidedAt, note, edited params/files/output). Authorization: space:read (org admins bypass); missing → 404. Returns { data: Approval[] } with no pagination. Capability redaction: callers without space:contribute get artifact URLs / storage keys stripped from the payload.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required
  • runId
    string
    required

Returns

200

The run’s approval requests.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
    • kind
      pre
      or
      post
      required

      pre gates the dispatch; post reviews the output.

    • actionSlug
      string
      required
    • installedActionId
      string
      required
    • actionName
      string
      required
    • actionRunId
      string | null
      required
    • rationale
      string | null
      required
    • files
      array of
      object
      required
      • id
        string
        required
      • name
        string
        required
    • params
      required

      Any of the following:

      • map<unknown>
      • null
    • output
      required

      Any of the following:

      • Option 1
      • null
    • artifacts
      array of
      object
      required
      • id
        string
        required
      • kind
        string
        required
      • title
        string
        required
      • url
        string
        required
      • open
        tab
        or
        embed
        required
    • status
      pending
      or
      approved
      or
      rejected
      or
      void
      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))$
    • decidedBy
      string | null
      required
    • decidedAt
      required

      Any of the following:

      • string
      • null
    • note
      string | null
      required
    • editedParams
      required

      Any of the following:

      • map<unknown>
      • null
    • editedFileIds
      required

      Any of the following:

      • array<string>
      • null
    • editedOutput
      required

      Any of the following:

      • Option 1
      • null

Type to search…

↑↓ navigate↵ selectEsc close