Skip to content
Sign up

Retrieve Conversation Stream

post/v1/conversations/{conversation_id}/stream

Resume the stream for the most recent active run in a conversation.

This endpoint allows you to reconnect to an active background stream for a conversation, enabling recovery from network interruptions.

Path ParametersExpand Collapse
conversation_id: string

The ID of the conv in the format 'conv-'

minLength41
maxLength41
Body ParametersExpand Collapse
batch_size: optional number

Number of entries to read per batch.

include_pings: optional boolean

Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts.

poll_interval: optional number

Seconds to wait between polls when no new data.

starting_after: optional number

Sequence id to use as a cursor for pagination. Response will start streaming after this chunk sequence id

Retrieve Conversation Stream
curl https://api.letta.com/v1/conversations/$CONVERSATION_ID/stream \
    -X POST \
    -H "Authorization: Bearer $LETTA_API_KEY"
{}
Returns Examples
{}