For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chatbot expressions

Lists and filters user inputs (expressions)

get

Required Permission: chatbots.expressions.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Query parameters
limitnumberOptional

The limit for how many examples should be fetched.

pageTokenstringOptional

The date after which to filter examples. Only examples after this date will be fetched.

intentIdstringOptional

Filters by a specific intent ID.

maxScorenumberOptional

Filters for expressions with a confidence score less than or equal to this value.

languagestringOptional

The language of the examples.

Responses
200

List of expressions.

application/json
pageTokenstringRequired

The date of the latest fetched example.

Example: 2025-09-29T07:08:00Z
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/expressions

Retrieves statistics for recorded expressions

get

Required Permission: chatbots.expressions.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

Statistical evaluation.

application/json
totalnumberRequired

Total number of expressions.

Example: 1250
averagePredictionScorenumber · max: 1Required

Average confidence score of all expressions.

Example: 0.89
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/expressions/stats

Deletes an expression

delete

Required Permission: chatbots.expressions.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

expressionIdstringRequired

The ID of the expression to delete.

Responses
200

Result of the deletion process.

application/json
deletedbooleanRequired

Indicates whether the deletion was successful.

Example: true
errorstringOptional

Optional error message.

delete
/v1/chatbots/{chatbotId}/expressions/{expressionId}

Last updated