Beta Managed Agents Session Error Event
BetaManagedAgentsSessionErrorEvent objectAn error event indicating a problem occurred during session execution.
type: "session.error"id: stringUnique identifier for this event.
error: BetaManagedAgentsUnknownError or BetaManagedAgentsModelOverloadedError or BetaManagedAgentsModelRateLimitedError or 5 moreAn unknown or unexpected error occurred during session execution. A fallback variant; clients that don't recognize a new error code can match on
retry_statusandmessagealone.BetaManagedAgentsUnknownError objectAn unknown or unexpected error occurred during session execution. A fallback variant; clients that don't recognize a new error code can match on
retry_statusandmessagealone.type: "unknown_error"message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
type: "retrying"
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
type: "exhausted"
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.type: "terminal"
BetaManagedAgentsModelOverloadedError objectThe model is currently overloaded. Emitted after automatic retries are exhausted.
type: "model_overloaded_error"message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsModelRateLimitedError objectThe model request was rate-limited.
type: "model_rate_limited_error"message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsModelRequestFailedError objectA model request failed for a reason other than overload or rate-limiting.
type: "model_request_failed_error"message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsMCPConnectionFailedError objectFailed to connect to an MCP server.
type: "mcp_connection_failed_error"mcp_server_name: stringName of the MCP server that failed to connect.
message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsMCPAuthenticationFailedError objectAuthentication to an MCP server failed.
type: "mcp_authentication_failed_error"mcp_server_name: stringName of the MCP server that failed authentication.
message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsBillingError objectThe caller's organization or workspace cannot make model requests — out of credits or spend limit reached. Retrying with the same credentials will not succeed; the caller must resolve the billing state.
type: "billing_error"message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
BetaManagedAgentsCredentialHostUnreachableError objectAn
environment_variablecredential'sauth.networking.allowed_hostsincludes a host the environment's network policy does not permit.type: "credential_host_unreachable_error"credential_id: stringID of the affected credential.
message: stringHuman-readable error description.
retry_status: BetaManagedAgentsRetryStatusRetrying or BetaManagedAgentsRetryStatusExhausted or BetaManagedAgentsRetryStatusTerminalWhat the client should do next in response to this error.
BetaManagedAgentsRetryStatusRetrying objectThe server is retrying automatically. Client should wait; the same error type may fire again as retrying, then once as exhausted when the retry budget runs out.
BetaManagedAgentsRetryStatusExhausted objectThis turn is dead; queued inputs are flushed and the session returns to idle. Client may send a new prompt.
BetaManagedAgentsRetryStatusTerminal objectThe session encountered a terminal error and will transition to
terminatedstate.
vault_id: stringID of the vault containing the affected credential.
processed_at: stringA timestamp in RFC 3339 format
format: date-time