Skip to main content
POST
Drain Conversation Queue (Stream)
Call this when a conversation has queued messages and no turn is running. It runs the queued messages in order, one turn each, and streams the same events as Run Conversation Turn (Stream). If a turn is already running with a stream open, that stream drains the queue itself and this call does nothing. See the Conversations overview for the full conversation model.

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

agent_id
string
required
conversation_id
string
required

Query Parameters

version
string | null

Agent version to run.

Response

Successful Response