Overview
The playbooks API exposes the governed cross-department operating playbooks and their handoff contracts. Both endpoints are read-only. Write access goes through the idempotent seed script (pnpm seed:playbooks), not the API.
Use these endpoints when you need to:
- List every seeded playbook with its full handoff sequence.
- Fetch one playbook by its stable ID, such as
revenue-lead-to-sale. - Drive a UI or agent that needs owners, payloads, fallbacks, or evidence requirements for a journey.
Authentication
Send a Bearer token in the standardAuthorization header:
List playbooks
sequence.
Get a playbook
sequence.
Response fields
Playbook
Handoff
Errors and fallback behavior
When the database is unavailable, empty, or a query fails, both endpoints fall back to the built-in canonical playbook registry and return
200 with the five canonical playbooks. The fallback is read-only, so listing playbooks degrades gracefully instead of returning 503.
