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

Chatbot intents

Lists all intents for a chatbot

get

Required Permission: chatbots.intents.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

List of all intents.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/intents

Creates a new intent

post

Required Permission: chatbots.intents.create

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
namestringRequired

The name of the new intent.

Example: Register return
confidenceScorenumber · max: 1Required

The required minimum confidence score (0.0-1.0).

Example: 0.8
Responses
post
/v1/chatbots/{chatbotId}/intents

Retrieves a specific intent

get

Required Permission: chatbots.intents.get

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

intentIdstringRequired

The ID of the intent to retrieve.

Responses
200

Details of the intent.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/intents/{intentId}

Deletes an intent

delete

Required Permission: chatbots.intents.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

intentIdstringRequired

The ID of the intent 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}/intents/{intentId}

Updates an existing intent

patch

Required Permission: chatbots.intents.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

intentIdstringRequired

The ID of the intent to update.

Body
namestringOptional

The new name for the intent.

Example: Returns and exchanges
confidenceScorenumber · max: 1Optional

The new confidence score for the intent.

Example: 0.85
trainingRequiredbooleanOptional

Whether the intent requires training.

Example: true
Responses
200

Intent updated successfully.

application/json
errorstringOptional

Optional error message.

patch
/v1/chatbots/{chatbotId}/intents/{intentId}

Last updated