GET
/
v1
/
playbooks
/
{playbook_id}
Get Playbook
curl --request GET \
  --url https://api.devin.ai/v1/playbooks/{playbook_id} \
  --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 details of a specific playbook by its ID.

Path Parameters

playbook_id
string
required
The ID of the playbook to retrieve

Response

Returns the playbook object with all metadata.
{
  "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"
}