Playbook Rules
Endpoints for managing rules within a playbook.
List playbook rules
Returns all rules for the given playbook, scoped to the current organization.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
List playbook rules › Responses
A list of playbook rules
Create a playbook rule
Creates a new rule under the given playbook. name is required. actions is required unless generate_summary is true and questions is present. Optional: description, internal_notes, questions, generate_summary, reviewer_id. reviewer_id must be an available reviewer for the organization.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Create a playbook rule › Request Body
nameName for the rule.
descriptionOptional description for the rule.
actionsActions to take when this rule is triggered. Required unless generate_summary is true and questions is present.
internal_notesOptional team notes. Does not affect how Gerri applies the rule.
questionsOptional questions to answer when summarizing this topic on a clean agreement.
generate_summaryWhen true, Gerri summarizes this topic during a clean-agreement (summary) review. Defaults to true.
reviewer_id^[0-9a-fA-F]{8}-[0-9…User id of the reviewer to escalate to; must be an available reviewer for the organization. Omit to use the organization default.
Create a playbook rule › Responses
Playbook rule created; returns the new rule resource
Retrieve a playbook rule
Returns one rule by id under the given playbook, scoped to the current organization.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Retrieve a playbook rule › Responses
A single playbook rule
Delete a playbook rule
Permanently deletes one rule by id under the given playbook.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Delete a playbook rule › Responses
Playbook rule deleted; no content returned
Update a playbook rule
Updates one or more fields on a single playbook rule. Send only the fields you want to change: name, description, actions, internal_notes, questions, generate_summary, reviewer_id. Text fields description, actions, internal_notes, and questions may be sent as null to clear them. reviewer_id must be an available reviewer for the organization, or null to fall back to the organization default.
path Parameters
organization_idOrganization id
playbook_idParent playbook id
rule_idPlaybook rule id
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Update a playbook rule › Request Body
nameUpdated name for the rule.
descriptionUpdated description for the rule. Send null to clear.
actionsUpdated actions for the rule. Send null to clear.
internal_notesUpdated team notes. Send null to clear.
questionsUpdated summary questions. Send null to clear.
generate_summaryWhether Gerri should summarize this topic during a clean-agreement review.
User id of the reviewer to escalate to; must be an available reviewer for the organization. Send null to fall back to the organization default.
Update a playbook rule › Responses
Updated playbook rule