The Conversations API allows you to create and manage AI conversations. You can create general or persona conversations, continue existing conversations, and manage conversation metadata.
Available Endpoints
Creating Conversations
Create a new general conversation with a specified AI system and model.
Basic Request Format:
Create a new conversation with a specific persona, which has predefined characteristics and behavior.
Basic Request Format:
When creating a conversation, store the conversationId from the response.
You’ll need this ID for continuing the conversation and managing its metadata
in subsequent API calls.
Continuing Conversations
Continue an existing conversation and get the complete response in a single API call.
Continue an existing conversation and stream the response using HTTP/2 protocol.
Basic Request Format:
Continue an existing conversation and stream the response using Server-Sent Events (SSE) protocol.
Basic Request Format:
Retrieving Conversations
Retrieve all conversations for the organization.
Retrieve all conversations for the current user.
Retrieve all conversations with a specific persona.
Retrieve a specific conversation by ID.
Managing Conversations
Mark a conversation as active.
Update the metadata for a conversation.
Update the name of a conversation.
Update the status of a conversation.