GET
/
v1
/
playbooks
List Playbooks
curl --request GET \
  --url https://api.devin.ai/v1/playbooks \
  --header 'Authorization: Bearer <token>'
[
  {
    "playbook_id": "playbook-abc123",
    "title": "Deploy to Production",
    "body": "Steps to deploy the application to production environment...",
    "status": "published",
    "access_type": "team",
    "org_id": "org-xyz789",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-20T14:45:00Z",
    "created_by_user_id": "user-123",
    "created_by_user_name": "John Doe",
    "updated_by_user_id": "user-456",
    "updated_by_user_name": "Jane Smith",
    "macro": "!deploy"
  }
]
Retrieve all team playbooks accessible to your organization. Only team playbooks are returned via the API.

Response

Returns an array of playbook objects with metadata including title, body, access type, and creation details.
[
  {
    "playbook_id": "playbook-abc123",
    "title": "Deploy to Production",
    "body": "Steps to deploy the application to production environment...",
    "status": "published",
    "access_type": "team",
    "org_id": "org-xyz789",
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-01-20T14:45:00Z",
    "created_by_user_id": "user-123",
    "created_by_user_name": "John Doe",
    "updated_by_user_id": "user-456",
    "updated_by_user_name": "Jane Smith",
    "macro": "!deploy"
  }
]