Skip to main content
POST
Stream a thread run

Authorizations

X-Api-Key
string
header
default:LANGSMITH_API_KEY
required

Path Parameters

threadID
string
required

Thread ID.

Body

application/json
agent_id
string<uuid>
required

Managed Deep Agent ID. The server forwards this upstream as assistant_id.

messages
object[]
required

Input messages for the run.

Minimum array length: 1
stream_mode
enum<string>[]

Stream modes to return.

Available options:
values,
updates,
messages-tuple
stream_subgraphs
boolean

Whether to stream subgraph events.

user_timezone
string

User timezone for runtime context.

Example:

"America/Los_Angeles"

Response

Server-sent event stream.

The response is of type string.