Conversation

Compact an array of messages into a single summary

post/conversation/compact

Request

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

Headers

X-Timezonestring
Example:Europe/London

The timezone to use for the request

Request body

OR

Example request

{
  "model": "gpt-5.4"
}

Response

The messages were compacted successfully

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.