Skip to content
Navigation

List active playbooks available in a space

Lists the ACTIVE playbook definitions launchable in this space, i.e. whose spaceTypes include the space's spaceType (resolved server-side from the space record — the caller never passes it). These are the playbooks a user can start as a run here. Authorization: requires space:read on the space (org admins bypass); callers without it get 404 (existence is hidden). 404 is also returned when the space does not exist. Returns { data: Playbook[] } with no pagination; each Playbook carries its id, name, description, tasks and configured actions.

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

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • spaceId
    string
    required

Returns

200

Active playbooks launchable in this space.

JSON
  • data
    array of
    object
    required
    • id
      string
      required
    • name
      string
      required
    • description
      string
      required
    • status
      draft
      or
      active
      or
      archived
      required
    • spaceTypes
      array of
      string
      required

      Space-type identifiers this playbook applies to. Empty means every space type.

    • tasks
      array of
      object
      required
      • id
        string
        required
        maxLength: 64 · minLength: 1
      • title
        string
        required
        maxLength: 200 · minLength: 1
      • instructions
        required

        Any of the following:

        • string
        • null
      • dependsOn
        array of
        string
        required

        Task ids that must complete first.

      • executor
        agent
        or
        human
        required

        human tasks are completed by a person out-of-band; the agent never does them.

      • assignee
        string | null
        required

        User id. Human tasks only; null = anyone in the space.

    • actions
      array of
      object
      required
      • installedActionId
        string
        required
        minLength: 1
      • preApproval
        boolean
        required

        Gate the action behind a human approval.

      • postApproval
        boolean
        required

        Review the action output before continuing.

      • dependsOn
        array of
        string
        required

        Task ids only — an action may never depend on another action.

      • trigger
        agent
        or
        user
        required

        user actions are started from the run view; the agent never proposes them.

    • model
      string | null
      required

      Optional model override for agent runs. Validated against an allowlist.

    • version
      integer
      required
      maximum: 9007199254740991 · minimum: -9007199254740991
    • 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))$
    • createdBy
      string
      required

404

Space not found, or caller lacks space:read

Type to search…

↑↓ navigate↵ selectEsc close