Playbook Prompts

Gets all prompts for the specified playbook.

get

Retrieves a paginated list of all prompts for the specified playbook, with optional search and sorting.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Query parameters
flattenbooleanOptional

Whether to flatten the prompt tree.

parentObjectIdentifierstring · uuidOptional

Optional parent prompt object identifier.

pageNumberinteger · int32Optional

The page number for paginated results.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to prompt results.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
chevron-right
200

OK

get
/playbooks/{playbookIdentifier}/prompts

Creates a new prompt for the specified playbook.

post

Creates a new prompt for the specified playbook, including conditions and question JSON validation.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstringRequired
Body
labelstring · nullableRequired
descriptionstring · nullableRequired
modelIdentifierstring · uuid · nullableOptional
questionstring · nullableOptional
parentObjectIdentifierstring · uuid · nullableOptional
promptDataTypeIdinteger · int32Required
Responses
post
/playbooks/{playbookIdentifier}/prompts

Gets a specific prompt by its object identifier.

get

Retrieves the details of a prompt for the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt.

playbookIdentifierstringRequired
Responses
chevron-right
200

OK

get
/playbooks/{playbookIdentifier}/prompts/{objectIdentifier}

Updates an existing prompt for the specified playbook.

put

Updates the details of an existing prompt for the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt to update.

playbookIdentifierstringRequired
Body
labelstring · nullableRequired
descriptionstring · nullableRequired
modelIdentifierstring · uuid · nullableOptional
questionstring · nullableOptional
parentObjectIdentifierstring · uuid · nullableOptional
promptDataTypeIdinteger · int32Required
Responses
chevron-right
200

OK

put
/playbooks/{playbookIdentifier}/prompts/{objectIdentifier}

Deletes a prompt from the specified playbook.

delete

Deletes a prompt from the specified playbook using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt to delete.

playbookIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/prompts/{objectIdentifier}

No content

Updates the position of a prompt in the playbook prompt tree.

put

Updates the position of a prompt in the playbook prompt tree for the specified playbook.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt to update.

playbookIdentifierstringRequired
Body
parentObjectIdentifierstring · uuid · nullableOptional
orderNumberinteger · int32Optional
Responses
chevron-right
200

OK

put
/playbooks/{playbookIdentifier}/prompts/{objectIdentifier}/position

Gets a preview of all prompts for the specified playbook.

get

Retrieves a paginated preview list of all prompts for the specified playbook, with optional search and sorting.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
playbookIdentifierstring · uuidRequired

The identifier of the playbook.

Query parameters
flattenbooleanOptional

Whether to flatten the prompt tree.

parentObjectIdentifierstring · uuidOptional

Optional parent prompt object identifier.

pageNumberinteger · int32Optional

The page number for paginated results.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to prompt results.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
chevron-right
200

OK

get
/playbooks/{playbookIdentifier}/prompts/preview

Last updated