Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Enter your API token in the format: Bearer <your_token_here>

Body

application/json
conversation_id
string | null

ID of the existing conversation to join

Example:

"conv_abc123def456"

user_prompt
string | null

Message to send when joining the conversation

Example:

"Please review the code we discussed earlier"

research_mode
enum<string> | null

Research mode to use in the conversation. Must be one of: chat, deep_research, follow_up

Available options:
chat,
deep_research,
follow_up
Example:

"deep_research"

latest_event_id
integer | null

ID of the latest event to resume from

Example:

123

x_device_id
string | null

Device ID to use for the conversation

Example:

"123"

Response

Successfully joined conversation with streaming response

Server-Sent Events stream with real-time conversation updates. Events are serialized using event_to_dict() and sent as SSE format.

Examples: