Trasmetti in streaming gli eventi del thread di sessione
GET/v1/sessions/{session_id}/threads/{thread_id}/stream
Requires
anthropic-beta: managed-agents-2026-04-01. Learn how to send beta headers.Trasmetti in streaming gli eventi del thread di sessione
Path parameters
Query parameters
Headers
Returns
Trasmetti in streaming gli eventi del thread di sessione
curl https://api.anthropic.com/v1/sessions/$SESSION_ID/threads/$THREAD_ID/stream \
-H 'anthropic-version: 2026-10-21' \
-H 'anthropic-beta: managed-agents-2026-04-01' \
-H "Authorization: Bearer $ANTHROPIC_API_KEY"Response 200
{
"id": "sevt_011CZkZGPp1iBcp4kaQSihUm",
"content": [
{
"text": "Where is my order #1234?",
"type": "text"
}
],
"type": "user.message",
"processed_at": "2026-03-15T10:00:00Z"
}Returns Examples
Response 200
{
"id": "sevt_011CZkZGPp1iBcp4kaQSihUm",
"content": [
{
"text": "Where is my order #1234?",
"type": "text"
}
],
"type": "user.message",
"processed_at": "2026-03-15T10:00:00Z"
}