Filter Categories

Gets all prompt categories for the specified prompt.

get

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

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptObjectIdentifierstring · uuidRequired

The object identifier of the prompt.

playbookIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional

The page number for paginated results.

pageSizeinteger · int32Optional

The number of items per page.

searchTextstringOptional

Optional search text to filter results.

sortinginteger · enumOptional

The sorting option for the results.

Possible values:
descbooleanOptional

Whether to sort in descending order.

Default: true
Responses
get
/playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/categories

Creates a new prompt category for the specified prompt.

post

Creates a new prompt category for the specified prompt.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
promptObjectIdentifierstring · uuidRequired

The object identifier of the prompt.

playbookIdentifierstringRequired
Body
namestring · nullableRequired
colourinteger · enumOptionalPossible values:
Responses
chevron-right
201

Created

post
/playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/categories

Gets the details of a specific prompt category by its object identifier.

get

Retrieves the details of a prompt category using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt category.

playbookIdentifierstringRequired
promptObjectIdentifierstringRequired
Responses
get
/playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}

Updates an existing prompt category by its object identifier.

put

Updates the details of an existing prompt category using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt category to update.

playbookIdentifierstringRequired
promptObjectIdentifierstringRequired
Body
namestring · nullableRequired
colourinteger · enumOptionalPossible values:
Responses
put
/playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}

Deletes a prompt category by its object identifier.

delete

Deletes a prompt category using its object identifier.

Authorizations
AuthorizationstringRequired

Bearer authentication with JWT

Path parameters
objectIdentifierstring · uuidRequired

The object identifier of the prompt category to delete.

playbookIdentifierstringRequired
promptObjectIdentifierstringRequired
Responses
delete
/playbooks/{playbookIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}

No content

Last updated