Conversation

Compact a conversation into a checkpoint

post/conversation/{conversationId}/compact

Request

  • Base URL: https://api.chatbotkit.com/api/v1
  • URL: https://api.chatbotkit.com/api/v1/conversation/{conversationId}/compact
  • Auth: HTTP bearer

Path parameters

conversationIdstring required

The ID of the conversation to compact

Response

The conversation was compacted successfully

idstring required

The ID of the created checkpoint message, or the conversation ID if there was nothing to compact

textstring required

The compacted text of the messages, or an empty string if there was nothing to compact

Changes

No recorded changes to this operation across all 1 revision of this API.