Prompt Categories
Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
promptObjectIdentifierstring · uuidRequired
The object identifier of the prompt.
projectIdentifierstringRequired
Query parameters
pageNumberinteger · int32Optional
The page number to retrieve.
pageSizeinteger · int32Optional
The number of items per page.
searchTextstringOptional
Optional search text to prompt categories.
sortinginteger · enumOptionalPossible values:
The sorting option for the results.
descbooleanOptionalDefault:
Whether to sort in descending order.
trueResponses
200
OK
403
Forbidden
get
/projects/{projectIdentifier}/prompts/{promptObjectIdentifier}/categoriesAuthorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
promptObjectIdentifierstring · uuidRequired
The object identifier of the prompt.
projectIdentifierstringRequired
Body
namestring · nullableRequired
colourinteger · enumOptionalPossible values:
Responses
200
OK
400
Bad Request
403
Forbidden
post
/projects/{projectIdentifier}/prompts/{promptObjectIdentifier}/categoriesAuthorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the prompt category.
projectIdentifierstringRequired
promptObjectIdentifierstringRequired
Responses
200
OK
403
Forbidden
404
Not Found
get
/projects/{projectIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the prompt category to update.
projectIdentifierstringRequired
promptObjectIdentifierstringRequired
Body
namestring · nullableRequired
colourinteger · enumOptionalPossible values:
Responses
200
OK
400
Bad Request
403
Forbidden
404
Not Found
put
/projects/{projectIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}Authorizations
AuthorizationstringRequired
Bearer authentication with JWT
Path parameters
objectIdentifierstring · uuidRequired
The unique identifier of the prompt category to delete.
projectIdentifierstringRequired
promptObjectIdentifierstringRequired
Responses
204
No Content
403
Forbidden
404
Not Found
delete
/projects/{projectIdentifier}/prompts/{promptObjectIdentifier}/categories/{objectIdentifier}No content
Last updated
