The identity and technical contract details declared by the specification.
EnvironmentTypeResource
string
The kind of execution environment.
CreateAgentParams
object
Parameters for creating a reusable agent.
9 properties
1 required
TurnObjectResource
string
The object type for a turn.
MultiAgentConfigResource
object
The resolved configuration for creating and coordinating subagents.
2 properties
2 required
CloseSubagentCallItemResource
object
A request to close a subagent.
6 properties
6 required
PersistedAgentToolConfigParamToolSearch
object
Discovers deferred function tools and loads them into the model context.
1 property
1 required
SessionEnvironmentStatusResource
string
The connection status of a session environment.
InputContentResourceInputText
object
Text input recorded in a session item.
2 properties
2 required
NetworkPolicyResource
object
Network access for an OpenAI-hosted environment.
2 properties
2 required
SessionEventAgentSessionTurnCreated
object
Emitted when a turn is created.
5 properties
5 required
SessionInputParamAgentSessionInputToolResult
object
Submits the result of a function call.
6 properties
4 required
AssistantMessageItemResource
object
An assistant message produced by the agent.
7 properties
7 required
MessageContentResourceInputText
object
Text supplied by the user.
2 properties
2 required
SessionArtifactResource
object
An immutable file published by a completed hosted session turn.
8 properties
8 required
EnvironmentFileListResource
object
A paginated list of live execution environment files.
4 properties
4 required
McpTransportConfigParamStdio
object
Starts an MCP server as a local process.
6 properties
3 required
HostedPluginParamInline
object
Supplies a plugin ZIP directly in the session request.
4 properties
4 required
WebSearchActionResource
An action performed by the web search tool.
SessionStatusResource
string
The current status of a session.
EnvironmentResourceOpenaiHosted
object
An environment hosted by OpenAI.
8 properties
8 required
SessionEvent
An event emitted by a Managed Agents session.
MultiAgentConfigCurrentParam
object
Explicit configuration for creating and coordinating subagents.
2 properties
1 required
SessionEventAgentSessionTurnReasoningSummaryTextDelta
object
Emitted when text is appended to a reasoning summary.
8 properties
8 required
HostedEnvironmentFileParam
A file materialized in an OpenAI-hosted execution environment.
ReasoningItemResource
object
A reasoning item produced by the agent.
5 properties
5 required
HostedPluginResourceInline
object
A plugin installed from an inline ZIP archive.
3 properties
3 required
TextFormatResourceJsonSchema
object
Constrains generated text to a JSON Schema.
2 properties
2 required
WebhookSafetyAlertCreated
object
Sent when an approved safety alert is available for an API project.
5 properties
5 required
AgentToolConfigParamFunction
object
A function defined by the application.
5 properties
4 required
PersistedAgentToolResourceProgrammaticToolCalling
object
Enables calling tools from model-generated code.
2 properties
2 required
HostedEnvironmentFileParamInline
object
A file supplied directly as standard-base64 data.
3 properties
3 required
SessionMessageRoleResource
string
The author of a session message.
PersistedAgentToolConfigParam
A tool that can be stored on a reusable agent without session credentials.
PersistedAgentToolResourceFunction
object
A function defined by the application.
5 properties
5 required
AgentToolResource
A tool available to the agent.
SessionEventAgentSessionFailed
object
Emitted when a session fails.
3 properties
3 required
EnvironmentResourceSelfHosted
object
An environment hosted by the application.
5 properties
5 required
SessionEventAgentSessionEnvironmentConnected
object
Emitted when a session environment connects.
5 properties
5 required
SessionAgentConfigParam
object
Agent configuration for a session. Omitted fields inherit from agentid when supplied. Supplied objects and arrays replace the whole field; null resets nullable…
7 properties
FunctionCallItemResource
object
A function call produced by the agent.
7 properties
7 required
EnvironmentParamOpenaiHosted
object
An existing OpenAI-hosted environment or new inline/template-based hosted configuration.
10 properties
1 required
TextFormatParamJsonSchema
object
Constrains generated text to a JSON Schema.
2 properties
2 required
TextResource
object
The text configuration used by an agent.
2 properties
2 required
PersistedMcpTransportConfigParam
A credential-free transport used to connect to an MCP server.
EnvironmentPackagesParam
object
Packages to install in an OpenAI-hosted environment.
3 properties
ServiceTierResource
string
The service-tier policy configured for an agent.
TurnResource
object
The canonical public representation of a session turn.
11 properties
11 required
ErrorBodyResource
object
Details about an API error.
4 properties
4 required
SessionEventAgentSessionTurnContentPartDone
object
Emitted when an output content part is complete.
8 properties
8 required
SessionEventAgentSessionTurnReasoningSummaryPartDone
object
Emitted when a reasoning summary part is complete.
9 properties
9 required
SendSubagentInputCallItemResource
object
A request to send input to another agent.
7 properties
7 required
SessionRequiredActionResourceFunctionCall
object
Run a function tool and submit its result.
5 properties
5 required
TextFormatResourceText
object
Generates ordinary text without a structured-output constraint.
1 property
1 required
WebhookRealtimeCallIncoming
object
Sent when an incoming API SIP session is available for Realtime acceptance. The same pending session can also emit live.transport.incoming; the first successfu…
5 properties
4 required
WebSearchLocationParam
object
Approximate user location used to localize web search results.
4 properties
CommandExecutionItemResource
object
A command execution produced by the agent.
9 properties
9 required
AgentToolResourceFunction
object
A function defined by the application.
5 properties
5 required
McpTransportConfigParamHttp
object
Connects to an MCP server over HTTP.
4 properties
2 required
PersistedAgentToolResource
A credential-free tool available to a reusable agent.
SessionEventAgentSessionEnvironmentReset
object
Emitted after a hosted sandbox is replaced. Conversation history survives; changes to the previous sandbox's files and processes do not.
6 properties
6 required
WebhookLiveCallIncoming
object
Deprecated: use live.transport.incoming. Retained for existing subscriptions during migration; new subscriptions to this event are not allowed. Sent when an in…
5 properties
4 required
WebSearchContextSizeResource
string
The amount of web search context made available to the model.
PersistedAgentToolConfigParamWebSearch
object
Web search.
5 properties
1 required
McpCallItemResource
object
A call to a tool on an MCP server.
9 properties
9 required
HostedSkillParamInline
object
Supplies a skill ZIP directly in the session request.
4 properties
4 required
VerbosityResource
string
The amount of text produced by an agent.
CreateEnvironmentTemplateParams
object
Parameters for creating a reusable, project-scoped OpenAI-hosted environment template.
9 properties
EnvironmentParamSelfHosted
object
An application-hosted environment configured inline.
3 properties
2 required
SessionEventAgentSessionIdle
object
Emitted when a session becomes idle.
3 properties
3 required
SessionInputParam
Input submitted to an existing session.
WebhookBatchExpired
object
Sent when a batch API request has expired.
5 properties
4 required
InputContentResourceInputImage
object
Image input recorded in a session item.
2 properties
2 required
PersistedAgentToolResourceWebSearch
object
Web search.
5 properties
5 required
MessageContentResourceInputImage
object
An image supplied by the user.
2 properties
2 required
UpdateAgentParams
object
Fields to replace on an existing reusable agent.
9 properties
SessionListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
SessionEventAgentOutputCommandExecutionOutputDelta
object
Emitted when command execution produces an output delta.
7 properties
7 required
SessionTurnErrorResource
object
A customer-safe error describing why a session request failed.
2 properties
2 required
SessionEventAgentSessionCreated
object
Emitted when a session is created.
3 properties
3 required
PersistedAgentToolConfigParamFunction
object
A function defined by the application.
5 properties
4 required
OutputTextResource
object
A text content part produced by the agent.
2 properties
2 required
SessionEventAgentSessionSubagentClosed
object
Emitted when a subagent is closed.
3 properties
3 required
PersistedAgentToolResourceToolSearch
object
Discovers deferred function tools and loads them into the model context.
1 property
1 required
UpdateSessionReasoningParam
object
Reasoning effort for subsequent turns. The reasoning summary stays unchanged.
1 property
AgentContentResource
A plaintext or encrypted content part exchanged between agents.
MessageContentResourceOutputText
object
Text produced by the assistant.
2 properties
2 required
WebSearchCallItemResource
object
A web search call produced by the agent.
5 properties
5 required
UpdateSessionAgentParam
object
Model settings that can change after session creation.
3 properties
TextParam
object
Configuration for text generated by the agent.
2 properties
ReasoningSummaryResource
string
The reasoning summary format requested from an agent.
WebSearchActionResourceFindInPage
object
Finds text within a web page.
3 properties
3 required
SessionEventAgentSessionTurnReasoningSummaryTextDone
object
Emitted when a reasoning summary content part is complete.
8 properties
8 required
DeletedEnvironmentTemplateResource
object
A deleted reusable environment template.
3 properties
3 required
ReasoningSummaryParam
string
The reasoning summary format requested from the model.
NetworkAccessResource
string
The network access mode for an OpenAI-hosted environment.
SubagentStatusResource
string
The current status of a subagent.
WaitForSubagentsCallItemResource
object
A request to wait for one or more subagents.
6 properties
6 required
WebhookResponseFailed
object
Sent when a background response has failed.
5 properties
4 required
WebhookSafetyOrgAlertCreated
object
Sent when an approved safety alert is available for an enterprise workspace.
5 properties
5 required
SessionEventAgentSessionTurnItemAdded
object
Emitted when an item is added to a turn.
6 properties
6 required
EnvironmentParam
The execution environment and optional reusable template for a session.
DeletedAgentResource
object
A deleted reusable agent.
3 properties
3 required
EnvironmentResourceNone
object
The session talks to CCA without selecting or provisioning an execution environment.
1 property
1 required
SessionEnvironmentStateResource
object
The current state of a session environment.
4 properties
4 required
InlineCapabilitySourceParam
The encoded ZIP archive for an inline skill or plugin.
PersistedMcpTransportResourceStdio
object
Starts an MCP server as a local process.
5 properties
5 required
InlineCapabilitySourceParamBase64
object
Provides ZIP bytes encoded with standard base64.
3 properties
3 required
AgentMessageItemResource
object
A message exchanged between agent threads.
6 properties
6 required
WebSearchLocationResource
object
Approximate user location used to localize web search results.
4 properties
4 required
SessionEventAgentSessionSubagentCreated
object
Emitted when a subagent is created.
3 properties
3 required
HostedTemplateSkillResource
Safe metadata for a skill configured by an environment template.
TextFormatParam
The output format for generated text.
ErrorResponse-2
object
An API error response.
1 property
1 required
EnvironmentPackagesResource
object
Packages installed in an OpenAI-hosted environment.
3 properties
3 required
PersistedAgentToolConfigParamProgrammaticToolCalling
object
Enables calling tools from model-generated code.
2 properties
1 required
WebhookEvalRunSucceeded
object
Sent when an eval run has succeeded.
5 properties
4 required
EnvironmentTemplateListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
McpTransportResourceHttp
object
Connects to an MCP server over HTTP.
2 properties
2 required
AgentToolConfigParam
A tool available to the agent.
HostedEnvironmentFileResourceFileId
object
A file copied from the OpenAI Files API.
5 properties
5 required
ListOrderParam
string
The order in which paginated resources are returned.
SessionTurnErrorCodeResource
string
Stable public categories for session request failures.
SessionResource
object
A Managed Agents session.
12 properties
12 required
McpTransportConfigParam
The transport used to connect to an MCP server.
HostedSkillResourceSkillReference
object
A skill installed from the Skills API.
5 properties
5 required
SessionEventAgentSessionTurnInProgress
object
Emitted when a turn starts running.
5 properties
5 required
WebSearchModeResource
string
The source used for web search results.
WebhookBatchCompleted
object
Sent when a batch API request has been completed.
5 properties
4 required
WebhookBatchCancelled
object
Sent when a batch API request has been cancelled.
5 properties
4 required
SessionItemListResource
object
A page of messages, reasoning, and tool calls from a session's item history.
5 properties
5 required
SessionEventAgentSessionInProgress
object
Emitted when a session starts processing a turn.
3 properties
3 required
HostedEnvironmentFileParamFileId
object
A file previously uploaded through the OpenAI Files API.
3 properties
3 required
InputTokensDetailsResource
object
A breakdown of input token usage for a session or turn.
1 property
1 required
SessionRequiredActionResourceEnvironmentConnection
object
Reconnect a session environment.
2 properties
2 required
WebhookBatchFailed
object
Sent when a batch API request has failed.
5 properties
4 required
HostedTemplateFileResourceFileId
object
A project-scoped Files API reference resolved separately for each session.
3 properties
3 required
InputContentParamInputText
object
Text input to the model.
2 properties
2 required
DeletedSessionResource
object
A Managed Agents session removed from the public API. Physical cleanup may continue asynchronously.
3 properties
3 required
EnvironmentFileResource
object
A live file in an execution environment.
4 properties
4 required
AgentOutputItemResource
An output item produced by an agent.
AgentResource
object
A reusable agent scoped to the caller's project.
13 properties
13 required
WebhookLiveTransportIncoming
object
Sent when an incoming API SIP session is available for Live acceptance. The same pending session can also emit realtime.call.incoming; the first successful Rea…
5 properties
4 required
McpTransportResource
The transport used to connect to an MCP server.
NetworkAccessParam
string
The network access mode for an OpenAI-hosted environment.
SessionEventError
object
Emitted when a turn or session fails.
4 properties
4 required
SetupCommandParam
object
A confidential setup command executed before the hosted agent starts.
2 properties
1 required
HostedSkillResource
A skill installed in an OpenAI-hosted environment.
SubagentResource
object
A subagent created within a session.
9 properties
9 required
PersistedMcpTransportConfigParamHttp
object
Connects to an MCP server over HTTP.
3 properties
2 required
McpTransportResourceStdio
object
Starts an MCP server as a local process.
5 properties
5 required
AgentListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
VerbosityParam
string
The amount of text the model should produce.
EnvironmentTemplateResource
object
Reusable configuration that provisions a fresh OpenAI-hosted environment for each session.
11 properties
11 required
CreateSessionEventsParams
object
Input events submitted to an existing session.
1 property
1 required
WebSearchActionResourceSearch
object
A search query or group of search queries.
3 properties
3 required
CreateAgentSessionParams
object
Parameters for creating a Managed Agents session.
7 properties
1 required
SessionEventAgentSessionTurnOutputTextDone
object
Emitted when an output text content part is complete.
8 properties
8 required
HostedSkillParamSkillReference
object
References a skill uploaded through the Skills API.
3 properties
2 required
WebhookFineTuningJobCancelled
object
Sent when a fine-tuning job has been cancelled.
5 properties
4 required
MessageItemResource
object
A user or assistant message recorded in a session.
7 properties
7 required
SessionEventAgentSessionRequiresAction
object
Emitted when a session is waiting for one or more required actions.
3 properties
3 required
SessionEnvironmentErrorResource
object
An error reported while preparing a session environment.
3 properties
3 required
AgentToolConfigParamToolSearch
object
Discovers deferred function tools and loads them into the model context.
1 property
1 required
WebSearchModeParam
string
The source used for web search results.
WebhookResponseIncomplete
object
Sent when a background response has been interrupted.
5 properties
4 required
HostedTemplateFileResource
Safe metadata for a file configured by an environment template.
FunctionCallStatusResource
string
The status of a tool call.
MessagePhaseResource
string
The phase of an assistant message.
WebSearchContextSizeParam
string
The amount of web search context made available to the model.
EnvironmentStatusResource
string
The public lifecycle status of an execution environment.
SummaryTextResource
object
A reasoning summary content part.
2 properties
2 required
ServiceTierParam
string
The service tier used for model requests.
NetworkPolicyParam
object
Network access for an OpenAI-hosted environment.
2 properties
1 required
DeletedSessionArtifactResource
object
Confirmation that an immutable session artifact was deleted.
3 properties
3 required
SessionEventAgentSessionEnvironmentPending
object
Emitted while a session environment is being prepared.
5 properties
5 required
PersistedMcpTransportResourceHttp
object
Connects to an MCP server over HTTP.
3 properties
3 required
EncryptedContentResource
object
Encrypted content exchanged between agents.
2 properties
2 required
TurnStatusResource
string
The current status of a turn.
WebhookResponseCompleted
object
Sent when a background response has been completed.
5 properties
4 required
HostedPluginResource
A plugin installed in an OpenAI-hosted environment.
WebhookEvalRunCanceled
object
Sent when an eval run has been canceled.
5 properties
4 required
ResumeSubagentCallItemResource
object
A request to resume a subagent.
6 properties
6 required
HostedPluginParam
A plugin installed in an OpenAI-hosted environment.
HostedEnvironmentFileResourceInline
object
A file supplied inline when the session was created.
4 properties
4 required
SessionEventAgentSessionTurnContentPartAdded
object
Emitted when an output text content part is added.
8 properties
8 required
InterruptSubagentCallItemResource
object
A request to interrupt a subagent's current turn. The subagent remains available.
6 properties
6 required
AgentToolConfigParamProgrammaticToolCalling
object
Enables calling tools from model-generated code.
2 properties
1 required
PersistedAgentToolConfigParamMcp
object
Tools provided by a remote MCP server without stored credentials.
8 properties
3 required
AgentToolResourceMcp
object
Tools provided by a remote MCP server.
8 properties
8 required
SessionEventAgentSessionEnvironmentFailed
object
Emitted when a session environment fails.
5 properties
5 required
SessionEventAgentSessionTurnCancelled
object
Emitted when a turn is cancelled.
6 properties
6 required
SessionArtifactListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
ReasoningEffortParam
string
The amount of reasoning effort the model should use.
McpConnectionOriginResource
string
Where outbound MCP HTTP connections originate.
ReasoningEffortResource
string
The amount of reasoning effort used by an agent.
HostedSkillResourceInline
object
A skill installed from an inline ZIP archive.
3 properties
3 required
InputContentResource
User-provided content recorded in a session item.
CreateSessionInputParam
Initial input submitted when creating a session.
FunctionCallOutputItemResource
object
The result supplied for a function call.
7 properties
7 required
PersistedAgentToolResourceMcp
object
Tools provided by a remote MCP server without stored credentials.
8 properties
8 required
UpdateEnvironmentTemplateParams
object
Fields to replace on an existing reusable OpenAI-hosted environment template.
9 properties
TextFormatParamText
object
Generates ordinary text without a structured-output constraint.
1 property
1 required
WebhookSafetyWarningIssued
object
Sent when a warning is issued for a safety identifier in your organization.
5 properties
5 required
PersistedMcpTransportResource
A credential-free transport used to connect to an MCP server.
WebhookFineTuningJobFailed
object
Sent when a fine-tuning job has failed.
5 properties
4 required
SessionAgentResource
object
The effective agent configuration for a session.
9 properties
9 required
SessionEventAgentSessionTurnOutputTextDelta
object
Emitted when text is appended to an output text content part.
8 properties
8 required
InputContentParamInputImage
object
Image input to the model.
2 properties
2 required
HostedTemplateSkillResourceSkillReference
object
A skill resolved afresh from the Skills API whenever a session starts.
3 properties
3 required
HostedTemplateSkillResourceInline
object
Safe metadata for an inline skill archive.
3 properties
3 required
ReasoningResource
object
The reasoning configuration used by an agent.
2 properties
2 required
SessionTurnListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
OutputItemStatusResource
string
The status of an agent output item.
WebhookResponseCancelled
object
Sent when a background response has been cancelled.
5 properties
4 required
SessionEventAgentSessionSubagentActive
object
Emitted when a closed subagent successfully resumes.
3 properties
3 required
HostedEnvironmentFileResource
Metadata for a file materialized in an OpenAI-hosted execution environment.
TokenUsageResource
object
Recorded token usage for a session or turn. Usage is best effort and may change.
5 properties
5 required
SessionEventAgentSessionTurnFailed
object
Emitted when a turn fails.
6 properties
6 required
HostedTemplateFileResourceInline
object
Metadata for confidential inline file contents.
3 properties
3 required
MessageContentResource
A content part in a session message.
SessionRequiredActionResource
An action that must be completed before a session can continue.
EnvironmentParamNone
object
Runs the agent without an execution environment.
1 property
1 required
EnvironmentFilePageObjectResource
string
The object type for a page of files in an execution environment.
AgentToolResourceProgrammaticToolCalling
object
Enables calling tools from model-generated code.
2 properties
2 required
InputContentParam
Content included in an input message.
EnvironmentResource
The execution environment for a session.
SubagentObjectResource
string
The object type for a subagent.
WebSearchActionResourceOpenPage
object
Opens a web page.
2 properties
2 required
WebSearchActionResourceOther
object
Another web search action.
1 property
1 required
PersistedMcpTransportConfigParamStdio
object
Starts an MCP server as a local process.
5 properties
3 required
UpdateAgentSessionParams
object
Fields to update on an existing session.
2 properties
TextFormatResource
The effective output format for generated text.
SessionEventAgentSessionTurnReasoningSummaryPartAdded
object
Emitted when a reasoning summary content part is added.
8 properties
8 required
SessionEventAgentSessionTurnCompleted
object
Emitted when a turn completes.
6 properties
6 required
ReasoningParam
object
Reasoning configuration for the agent.
2 properties
AgentToolResourceWebSearch
object
Web search.
5 properties
5 required
HostedSkillParam
A skill installed in an OpenAI-hosted environment.
McpConnectionOriginParam
string
Where outbound MCP HTTP connections originate.
FunctionCallOutputResource
The text or model-input content supplied as a function result.
WebhookSafetyDeactivationIssued
object
Sent when a deactivation is issued for a safety identifier in your organization.
5 properties
5 required
CreateSubagentCallItemResource
object
A request to spawn a subagent.
8 properties
8 required
InputMessageParam
object
A user message submitted to a session.
3 properties
2 required
SessionTurnItemResource
An item associated with a session turn.
WebhookFineTuningJobSucceeded
object
Sent when a fine-tuning job has succeeded.
5 properties
4 required
SessionEventAgentSessionEnvironmentDisconnected
object
Emitted when a session environment disconnects.
5 properties
5 required
SessionEventAgentSessionTurnItemDone
object
Emitted when an output item is complete.
6 properties
6 required
AgentToolConfigParamWebSearch
object
Web search.
5 properties
1 required
AgentToolConfigParamMcp
object
Tools provided by a remote MCP server.
8 properties
3 required
SessionErrorResource
object
An error payload with the same public fields as Responses API streaming errors.
4 properties
4 required
WebhookEvalRunFailed
object
Sent when an eval run has failed.
5 properties
4 required
SessionInputParamAgentSessionInputMessage
object
Adds one or more user messages and starts a turn.
2 properties
2 required
SessionInputParamAgentSessionInputCancel
object
Cancels the session's active turn.
1 property
1 required
OutputTokensDetailsResource
object
A breakdown of output token usage for a session or turn.
1 property
1 required
PublicEnvironmentResource
object
Safe metadata for a first-class execution environment.
7 properties
7 required
FunctionCallOutputParam
A function result represented as text or supported model-input content.
SessionEventAgentSessionEnvironmentReady
object
Emitted when a hosted session environment is ready to connect.
5 properties
5 required
CreateAgentParams_2
object
Parameters for creating a reusable agent.
9 properties
1 required
SessionEnvironmentStatusResource_2
string
The connection status of a session environment.
AgentToolResourceComputerUse
object
Browser use in an OpenAI-hosted session.
2 properties
2 required
BrowserOriginAccessDecisionParam
string
The user's decision for a browser origin access request.
SessionEventAgentSessionEnvironmentExpired
object
Emitted after a suspended hosted session environment and its checkpoint expire.
5 properties
5 required
ComputerUseApprovalResponseParamBrowserOriginAccessParam
object
2 properties
2 required
SessionAgentConfigParam_2
object
Agent configuration for a session. Omitted fields inherit from agentid when supplied. Supplied objects and arrays replace the whole field; null resets nullable…
7 properties
ServiceTierResource_2
string
The service-tier policy configured for an agent.
ComputerUseApprovalRequestKindResourceBrowserAuthentication
object
A registered form awaiting the application's response.
5 properties
5 required
SessionInputParamAgentSessionInputComputerUseApprovalRequestResult
object
Responds to a pending Computer Use approval request.
3 properties
3 required
CreateEnvironmentTemplateParams_2
object
Parameters for creating a reusable, project-scoped OpenAI-hosted environment template.
10 properties
UpdateAgentParams_2
object
Fields to replace on an existing reusable agent.
9 properties
SessionTurnTraceResource
object
5 properties
5 required
ComputerUseApprovalRequestKindResourceBrowserOriginAccess
object
A browser origin awaiting the application's approval decision.
3 properties
3 required
ComputerScreenshotResource
object
A browser screenshot emitted by the model during computer use.
2 properties
2 required
NetworkAccessParam_2
string
The network access mode for an OpenAI-hosted environment.
BrowserAuthenticationOptionResource
object
A sign-in method and the fields that belong to it.
3 properties
3 required
InputTokensDetailsResource-2
object
A breakdown of input token usage for a session or turn.
1 property
1 required
ComputerUseApprovalResponseKindResource
SessionSpendControlParam
object
Sets the session-wide limit without changing recorded spend.
1 property
1 required
WebhookAgentEnvironmentReady
object
Sent when a prewarmed OpenAI-hosted environment finishes setup before being attached to a session.
ComputerUseApprovalResponseKindResourceBrowserAuthenticationCancelResource
object
2 properties
2 required
SessionRequiredActionResourceComputerUseApprovalRequest
object
Respond to a computer-use request.
4 properties
4 required
ComputerUseApprovalResponseParamBrowserAuthenticationSubmitParam
object
4 properties
3 required
SessionTurnItemResource_2
An item associated with a session turn.
BrowserAuthenticationHistoryRequestKindResourceBrowserAuthentication
object
A registered form awaiting the application's response.
5 properties
5 required
SessionEvent_2
An event emitted by a Managed Agents session.
CreateEnvironmentParam
Configuration for a new prewarmed OpenAI-hosted environment.
BrowserAuthenticationHistoryRequestKindResource
PersistedAgentToolResource_2
A credential-free tool available to a reusable agent.
WebhookAgentSessionInProgress
object
Sent when an agent session enters the in-progress state.
NetworkAccessResource_2
string
The network access mode for an OpenAI-hosted environment.
WebhookAgentSessionIdle
object
Sent when an agent session becomes idle.
DesktopResource
object
The effective desktop configuration for an OpenAI-hosted environment.
1 property
1 required
AgentToolConfigParam_2
A tool available to the agent.
PersistedAgentToolResourceComputerUse
object
Browser use in an OpenAI-hosted session.
2 properties
2 required
BrowserAuthenticationFieldResource
object
A control in a registered browser-login form.
4 properties
4 required
EnvironmentTemplateResource_2
object
Reusable configuration that provisions a fresh OpenAI-hosted environment for each session.
12 properties
12 required
SessionSpendControlResource
object
Session-wide spending control, present only when a limit is configured.
2 properties
2 required
WebhookAgentSessionEnvelope
object
3 properties
3 required
AgentSessionActionRequiredPayloadResource
object
2 properties
2 required
AgentSessionRequiredActionPayloadResource
object
1 property
1 required
EnvironmentResourceOpenaiHosted_2
object
An environment hosted by OpenAI.
10 properties
9 required
SessionEventAgentSessionEnvironmentSuspended
object
Emitted after an idle hosted session environment is checkpointed and stopped.
5 properties
5 required
ComputerUseApprovalResponseParamBrowserAuthenticationCancelParam
object
2 properties
2 required
PersistedAgentToolConfigParam_2
A tool that can be stored on a reusable agent without session credentials.
EnvironmentParamOpenaiHosted_2
object
An existing OpenAI-hosted environment or new inline/template-based hosted configuration.
13 properties
1 required
SessionInputParam_2
Input submitted to an existing session.
WebhookAgentSessionActionRequired
object
Sent when an agent session requires an action. Retrieve the session for action details.
CreateAgentEnvironmentParams
object
Parameters for creating an execution environment before its sessions.
2 properties
1 required
ContainerSizeParam
string
The CPU and memory tier for a new OpenAI-hosted session environment.
ComputerUseApprovalResponseKindResourceBrowserAuthenticationSubmitResource
object
3 properties
3 required
WebhookAgentEnvironmentFailed
object
Sent when setup fails for a prewarmed OpenAI-hosted environment before it is attached to a session.
AgentSessionRequiredActionTypeResource
string
WebhookAgentSessionFailed
object
Sent when an agent session fails.
ComputerUseApprovalResponseParamBrowserAuthentication
object
1 property
1 required
PersistedAgentToolConfigParamComputerUse
object
Browser use in an OpenAI-hosted session.
2 properties
1 required
AgentSessionEnvironmentPayloadResource
object
3 properties
2 required
ComputerUseCallItemResource
object
One execution of the platform-provided computer-use capability.
6 properties
6 required
ContainerSizeResource
string
The effective CPU and memory tier of an OpenAI-hosted environment.
OutputTokensDetailsResource-2
object
A breakdown of output token usage for a session or turn.
1 property
1 required
UpdateEnvironmentTemplateParams_2
object
Fields to replace on an existing reusable OpenAI-hosted environment template.
10 properties
WebhookAgentEnvironmentSuspended
object
Sent when an agent environment is suspended and can resume from a snapshot.
UpdateAgentSessionParams_2
object
Fields to update on an existing session.
3 properties
BrowserAuthenticationFieldValueParam
object
One user-entered value, including non-password fields such as an email address.
2 properties
2 required
DesktopParam
object
Desktop configuration for an OpenAI-hosted environment.
1 property
1 required
WebhookAgentSessionCreated
object
Sent when an agent session is created.
ComputerUseApprovalRequestKindResource
AgentToolResource_2
A tool available to the agent.
CreateEnvironmentParamOpenaiHosted
object
Provision an OpenAI-hosted environment from inline configuration or a template.
11 properties
1 required
BrowserAuthenticationRequestItemResource
object
A credential-free history record of the emitted login request.
5 properties
5 required
AgentSessionConnectPayloadResource
object
1 property
1 required
EnvironmentTypeParam
string
The hosting type of an execution environment.
SessionTurnErrorCodeResource_2
string
Stable public categories for session request failures.
SessionResource_2
object
A Managed Agents session.
13 properties
12 required
AgentOutputItemResource_2
An output item produced by an agent.
AgentToolConfigParamComputerUse
object
Browser use in an OpenAI-hosted session.
2 properties
1 required
WebhookAgentEnvironmentExpired
object
Sent when an agent environment expires and can no longer resume from a snapshot.
ComputerUseApprovalResponseParam
CreateAgentSessionParams_2
object
Parameters for creating a Managed Agents session.
8 properties
1 required
SessionTraceListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
EnvironmentStatusResource_2
string
The public lifecycle status of an execution environment.
NetworkPolicyParam_2
object
Network access for an OpenAI-hosted environment.
3 properties
1 required
AgentEnvironmentEvent
object
Identifies the environment whose lifecycle changed.
1 property
1 required
ComputerUseApprovalRequestResultItemResource
object
A credential-free record of an admitted response, not proof of completion.
5 properties
5 required
TokenUsageResource_2
object
Recorded token usage for a session or turn. Usage is best effort and may change.
5 properties
5 required
AgentSessionCreatedPayloadResource
object
4 properties
2 required
SessionRequiredActionResource_2
An action that must be completed before a session can continue.
AgentEnvironmentListResource
object
A page of Agents API resources, with IDs for retrieving additional pages.
5 properties
5 required
The full machine-readable OpenAPI contract behind this narrative.
Other APIs OpenAI publishes across the network.