runs

Retrieve Stream

Changed on
post/v1/runs/{run_id}/stream

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/runs/{run_id}/stream
  • Auth
    HTTP bearer

Path parameters

run_idstring required

Request body

starting_afterinteger

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

include_pingsboolean nullable

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

poll_intervalnumber nullable

Seconds to wait between polls when no new data.

batch_sizeinteger nullable

Number of entries to read per batch.

Response

Successful response

unknown required

Changes

    • info

      added the optional property / to the response with the status

    • info

      response property oneOf[subschema #5: ToolCallMessage]/tool_call deprecated

    • info

      added the optional property / to the response with the status

    • info

      response property oneOf[subschema #6: ToolReturnMessage]/status deprecated

    • info

      response property oneOf[subschema #6: ToolReturnMessage]/stderr deprecated

    • info

      response property oneOf[subschema #6: ToolReturnMessage]/stdout deprecated

    • info

      response property oneOf[subschema #6: ToolReturnMessage]/tool_call_id deprecated

    • info

      response property oneOf[subschema #6: ToolReturnMessage]/tool_return deprecated