For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Get a lightweight summary of a conversation: its title, the generated transcript summary, whether the call was successful, and — only when the conversation is short — the plain chat messages. Tool calls, tool results, and contextual updates are omitted so the response stays small. Use this instead of the full conversation endpoint when you only need the gist (e.g. an agent reading many conversations); use GET /v1/convai/conversations/{conversation_id} when you need the full transcript with tool calls and contextual updates.
Parametry ścieżki
conversation_idstringWymagany
The id of the conversation you're taking the action on.
Nagłówki
xi-api-keystringOpcjonalny
Parametry zapytania
max_messagesintegerOpcjonalny1-200Domyślnie 40
Maximum number of chat message turns to include inline. When the conversation has more than this, the messages are omitted and messages_omitted is set.
Odpowiedź
Successful Response
conversation_idstring
agent_idstring
statusenum
Dozwolone wartości:
message_countinteger
Number of plain chat message turns in the conversation.
notestring
Guidance telling the agent how to get the full transcript.
call_summary_titlestringOpcjonalny
Short generated title for the conversation.
transcript_summarystringOpcjonalny
Generated natural-language summary of the call.
call_successfulenumOpcjonalny
Dozwolone wartości:
messageslist of objectsOpcjonalny
The plain chat messages (role and text only). Included only when message_count does not exceed the requested max_messages; otherwise null and messages_omitted is true.
messages_omittedbooleanOpcjonalnyDomyślnie false
True when the chat messages were omitted because the conversation was too long. Fetch the full transcript for the messages.
Błędy
422
Conversations Get Summary Request Unprocessable Entity Error
Get a lightweight summary of a conversation: its title, the generated transcript summary, whether the call was successful, and — only when the conversation is short — the plain chat messages. Tool calls, tool results, and contextual updates are omitted so the response stays small. Use this instead of the full conversation endpoint when you only need the gist (e.g. an agent reading many conversations); use GET /v1/convai/conversations/{conversation_id} when you need the full transcript with tool calls and contextual updates.