Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Retrieve Stream

post/v1/runs/{run_id}/stream

Retrieve Stream

Path ParametersExpand Collapse
run_id: string
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 Stream
curl https://api.letta.com/v1/runs/$RUN_ID/stream \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $LETTA_API_KEY"
{}
Returns Examples
{}