Beta Managed Agents Session Status Idle Event
BetaManagedAgentsSessionStatusIdleEvent objectIndicates the agent has paused and is awaiting user input.
type: "session.status_idle"id: stringUnique identifier for this event.
processed_at: stringA timestamp in RFC 3339 format
format: date-time
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"