List playbook definitions

View as Markdown
Lists the org-level playbook definitions for the caller tenant. Authorization: any authenticated org member (session + tenant context only, no admin required). Optional query `status` filters by lifecycle state and MUST be one of `draft` | `active` | `archived` — any other value returns 400 `invalid_status`. Optional query `spaceType` filters to playbooks whose `spaceTypes` includes that space-type slug (playbooks with an empty `spaceTypes` apply to all space types). Response is `{ data: Playbook[] }` — a single unpaginated array; each Playbook carries id, name, description, status, spaceTypes, tasks, actions, version, createdAt/updatedAt, createdBy.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

statusenumOptional

Lifecycle filter: draft, active or archived. Any other value returns 400 invalid_status.

Allowed values:
spaceTypestringOptional>=1 character

Only playbooks whose spaceTypes includes this identifier. Playbooks with an empty spaceTypes apply everywhere.

Response

The playbook definitions.
datalist of objects