Beta Managed Agents Session Thread Status Idle Event
BetaManagedAgentsSessionThreadStatusIdleEvent objectA session thread has yielded and is awaiting input. Emitted on the thread's own stream and cross-posted to the primary stream for child threads.
type: "session.thread_status_idle"id: stringUnique identifier for this event.
agent_name: stringName of the agent the thread runs.
processed_at: stringA timestamp in RFC 3339 format
format: date-time
session_thread_id: stringPublic sthr_ ID of the thread that went idle.
stop_reason: BetaManagedAgentsSessionEndTurn or BetaManagedAgentsSessionRequiresAction or BetaManagedAgentsSessionRetriesExhausted or BetaManagedAgentsSessionBudgetReachedThe agent completed its turn naturally and is ready for the next user message.
BetaManagedAgentsSessionEndTurn objectThe agent completed its turn naturally and is ready for the next user message.
type: "end_turn"
BetaManagedAgentsSessionRequiresAction objectThe agent is idle waiting on one or more blocking user-input events (tool confirmation, custom tool result, etc.). Resolving all of them transitions the session back to running.
type: "requires_action"event_ids: array of stringThe ids of events the agent is blocked on. Resolving fewer than all re-emits
session.status_idlewith the remainder.
BetaManagedAgentsSessionRetriesExhausted objectThe turn ended because repeated errors exhausted the retry budget or an error escalated to
retry_status: 'exhausted'.type: "retries_exhausted"
BetaManagedAgentsSessionBudgetReached objectThe agent stopped because the session's tracked list cost reached its budget, or because its usage includes a model with no list price (which the budget cannot measure). Raise the budget to continue — or, if raising is rejected because a model has no list price, remove the budget.
type: "budget_reached"