Skip to main content
Same request body as Create Event, but the response is text/event-stream. Each SSE data: line is a JSON frame in the OpenAI Agents envelope (agent.turn.*). There is no [DONE] sentinel; the stream ends at agent.turn.completed or agent.turn.failed.

Endpoint

Authentication

Authorization: Bearer <api_key> or Authorization: ApiKey <key>. Optional if AGENT_CLOUD_API_KEY is unset.

Path parameters

string
required
Session identifier.

Request body

Same as create event: input and/or content parts. Empty input returns 400.

Response

text/event-stream of JSON frames. Common type values include:
  • agent.turn.created
  • agent.turn.in_progress
  • agent.turn.item.added / agent.turn.item.done
  • agent.turn.output_text.delta
  • agent.turn.output_text.done
  • agent.turn.approval.requested / agent.turn.approval.resolved (decision is allow / deny / unavailable; with no broker the call is refused as unavailable and the reason is fed back)
  • agent.turn.usage (usage{input_tokens, output_tokens, total_tokens}, model; provider-reported tokens win)
  • agent.turn.completed (terminal)
  • agent.turn.failed (terminal)