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

Chatbot entities

Lists all entities for a chatbot

get

Required Permission: chatbots.entities.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

List of all entities.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/entities

Creates a new entity

post

Required Permission: chatbots.entities.create

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
Responses
post
/v1/chatbots/{chatbotId}/entities

Retrieves a specific entity

get

Required Permission: chatbots.entities.get

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

entityIdstringRequired

The ID of the entity to retrieve.

Responses
200

Details of the entity.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/entities/{entityId}

Deletes an entity

delete

Required Permission: chatbots.entities.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

entityIdstringRequired

The ID of the entity to delete.

Responses
200

Result of the deletion process.

application/json
deletedbooleanRequired

Indicates whether the deletion operation was successful.

Example: true
errorstringOptional

Optional error message.

delete
/v1/chatbots/{chatbotId}/entities/{entityId}

Updates an existing entity

patch

Required Permission: chatbots.entities.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

entityIdstringRequired

The ID of the entity to update.

Body
Responses
200

Entity updated successfully.

application/json
errorstringOptional

Optional error message.

patch
/v1/chatbots/{chatbotId}/entities/{entityId}

Changes the activation status of an entity

patch

Required Permission: chatbots.entities.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

entityIdstringRequired

The ID of the entity.

Body
enabledbooleanRequired

Sets the entity to enabled (true) or disabled (false).

Example: true
Responses
200

Status changed successfully.

application/json
errorstringOptional

Optional error message.

patch
/v1/chatbots/{chatbotId}/entities/{entityId}/state

Last updated