Playbooks
Create playbook
Create a playbook with a name, a description and a list of checks.
POST
Creates a playbook. A playbook is a saved set of checks that a playbook review runs against a document. You can send the checks now, or add them later with Add check. The playbook is created whole or not at all: if saving its description or any check fails, the request fails and no playbook is left behind, so you can retry it.
A new playbook is visible only to you. Share it with your team through Update sharing. You can run a review with it before you share it.
To build a playbook from example contracts instead of writing the checks yourself, use Generate playbook.
Authentication
Requires an API key, or an OAuth token withplaybooks:write.
Body parameters
What the playbook is for, such as the contract type and the side it acts for. Up to 2,000 characters.
Up to 100 checks, in the order a review runs them. Each check takes the body of Add check:
Response
Returns201 with the new playbook. Each check now has an id.