The playbook and its revision 1, in one act. A playbook with no revision resolves to
nothing, so creating one without instructions would be creating a row that never applies.
Field Type Notes slugstring required min length 1 max length 120 namestring required min length 1 max length 200 descriptionstring | null optional max length 4000 templatesobject optional — scopeworkspace | organization | platform | nulloptional — is_defaultboolean optional Default false. change_notestring | null optional max length 500
Status Description Body 201Successful Response ReviewPlaybookView422Validation Error HTTPValidationError
Only the success paths are declared
Any operation may also answer any status in the error catalogue , and
every failure body is the platform envelope — including the 422 this document types
as HTTPValidationError.
The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/review-playbooks \
-H " Authorization: Bearer $COBRE_TOKEN " \
-H " Content-Type: application/json " \
Field Type Notes idstring (uuid) required — slugstring required — namestring required — descriptionstring | null required , nullable— scopeworkspace | organization | platformrequired — is_defaultboolean required — is_activeboolean required — active_revision_idstring (uuid) | null required , nullable— revision_numberinteger required — templatesobject required — organization_idstring (uuid) | null required , nullable— workspace_idstring (uuid) | null required , nullable— created_atstring (date-time) required — updated_atstring (date-time) required —