Responses
Create Responses
Retrieve Responses
Cancel Responses
ModelsExpand Collapse
ActionClick = object { button, type, x, y } A click action.
A click action.
button: "left" or "right" or "wheel" or 2 more
ActionDoubleClick = object { type, x, y } A double click action.
A double click action.
ActionDrag = object { path, type } A drag action.
A drag action.
path: array of object { x, y }
ActionFind = object { pattern, type, url } Action type "find": Searches for a pattern within a loaded page.
Action type "find": Searches for a pattern within a loaded page.
ActionKeyDown = object { keys, type } Press and hold a key.
Press and hold a key.
ActionKeyUp = object { keys, type } Release a held key.
Release a held key.
ActionKeypress = object { keys, type } A collection of keypresses the model would like to perform.
A collection of keypresses the model would like to perform.
ActionMouseDown = object { type, x, y } Press and hold the left mouse button at a position.
Press and hold the left mouse button at a position.
ActionMouseUp = object { type, x, y } Release the left mouse button at a position.
Release the left mouse button at a position.
ActionMove = object { type, x, y } A mouse move action.
A mouse move action.
ActionOpenPage = object { type, url } Action type "open_page" - Opens a specific URL from search results.
Action type "open_page" - Opens a specific URL from search results.
ActionPointAndType = object { text, type, x, y } Click at a position then type text.
Click at a position then type text.
ActionScreenshot = object { type } A screenshot action.
A screenshot action.
ActionScroll = object { scroll_x, scroll_y, type, 2 more } A scroll action.
A scroll action.
ActionSearchSource = object { type, url } A source used in the search.
A source used in the search.
ActionType = object { text, type } An action to type in text.
An action to type in text.
ActionWait = object { type } A wait action.
A wait action.
AnnotationContainerFileCitation = object { container_id, end_index, file_id, 3 more } A citation for a container file used to generate a model response.
A citation for a container file used to generate a model response.
AnnotationFileCitation = object { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationFilePath = object { file_id, index, type } A path to a file.
A path to a file.
AnnotationURLCitation = object { end_index, start_index, title, 2 more } A citation for a web resource used to generate a model response.
A citation for a web resource used to generate a model response.
Logprob = object { token, bytes, logprob, top_logprobs } The log probability of a token.
The log probability of a token.
top_logprobs: array of object { token, bytes, logprob }
McpApprovalRequest = object { id, arguments, name, 2 more } A request for human approval of a tool invocation.
A request for human approval of a tool invocation.
OutputImage = object { type, url } The image output from the code interpreter.
The image output from the code interpreter.
OutputLogs = object { logs, type } The logs output from the code interpreter.
The logs output from the code interpreter.
PendingSafetyCheck = object { id, code, message } A pending safety check for the computer call.
A pending safety check for the computer call.
ResponseComputerToolCall = object { id, action, call_id, 3 more } A tool call to a computer use tool.
See the
computer use guide for more information.
A tool call to a computer use tool.
See the computer use guide for more information.
action: ActionClick { button, type, x, y } or ActionDoubleClick { type, x, y } or ActionDrag { path, type } or 11 moreA click action.
A click action.
ActionClick = object { button, type, x, y } A click action.
A click action.
button: "left" or "right" or "wheel" or 2 more
ActionDoubleClick = object { type, x, y } A double click action.
A double click action.
ActionDrag = object { path, type } A drag action.
A drag action.
path: array of object { x, y }
ActionKeypress = object { keys, type } A collection of keypresses the model would like to perform.
A collection of keypresses the model would like to perform.
ActionMove = object { type, x, y } A mouse move action.
A mouse move action.
ActionScreenshot = object { type } A screenshot action.
A screenshot action.
ActionScroll = object { scroll_x, scroll_y, type, 2 more } A scroll action.
A scroll action.
ActionType = object { text, type } An action to type in text.
An action to type in text.
ActionWait = object { type } A wait action.
A wait action.
ActionPointAndType = object { text, type, x, y } Click at a position then type text.
Click at a position then type text.
ActionMouseDown = object { type, x, y } Press and hold the left mouse button at a position.
Press and hold the left mouse button at a position.
ActionMouseUp = object { type, x, y } Release the left mouse button at a position.
Release the left mouse button at a position.
ActionKeyDown = object { keys, type } Press and hold a key.
Press and hold a key.
ActionKeyUp = object { keys, type } Release a held key.
Release a held key.
status: "in_progress" or "completed" or "incomplete"
ResponseFunctionToolCall = object { arguments, call_id, name, 3 more } A tool call to run a function.
See the
function calling guide for more information.
A tool call to run a function.
See the function calling guide for more information.
status: optional "in_progress" or "completed" or "incomplete"
ResponseInputFileParam = object { type, file_data, file_id, 2 more } A file input to the model.
A file input to the model.
ResponseInputImageParam = object { detail, type, file_id, image_url } An image input to the model.
Learn about image inputs.
An image input to the model.
Learn about image inputs.
detail: "low" or "high" or "auto"
ResponseInputTextParam = object { text, type } A text input to the model.
A text input to the model.
ResponseOutputMessage = object { id, content, role, 2 more } An output message from the model.
An output message from the model.
content: array of ResponseOutputText { annotations, text, type, logprobs } or ResponseOutputRefusal { refusal, type }
ResponseOutputText = object { annotations, text, type, logprobs } A text output from the model.
A text output from the model.
annotations: array of AnnotationFileCitation { file_id, filename, index, type } or AnnotationURLCitation { end_index, start_index, title, 2 more } or AnnotationContainerFileCitation { container_id, end_index, file_id, 3 more } or AnnotationFilePath { file_id, index, type }
AnnotationFileCitation = object { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationURLCitation = object { end_index, start_index, title, 2 more } A citation for a web resource used to generate a model response.
A citation for a web resource used to generate a model response.
AnnotationContainerFileCitation = object { container_id, end_index, file_id, 3 more } A citation for a container file used to generate a model response.
A citation for a container file used to generate a model response.
AnnotationFilePath = object { file_id, index, type } A path to a file.
A path to a file.
top_logprobs: array of object { token, bytes, logprob }
ResponseOutputRefusal = object { refusal, type } A refusal from the model.
A refusal from the model.
status: "in_progress" or "completed" or "incomplete"
ResponseOutputRefusal = object { refusal, type } A refusal from the model.
A refusal from the model.
ResponseOutputText = object { annotations, text, type, logprobs } A text output from the model.
A text output from the model.
annotations: array of AnnotationFileCitation { file_id, filename, index, type } or AnnotationURLCitation { end_index, start_index, title, 2 more } or AnnotationContainerFileCitation { container_id, end_index, file_id, 3 more } or AnnotationFilePath { file_id, index, type }
AnnotationFileCitation = object { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationURLCitation = object { end_index, start_index, title, 2 more } A citation for a web resource used to generate a model response.
A citation for a web resource used to generate a model response.
AnnotationContainerFileCitation = object { container_id, end_index, file_id, 3 more } A citation for a container file used to generate a model response.
A citation for a container file used to generate a model response.
AnnotationFilePath = object { file_id, index, type } A path to a file.
A path to a file.
top_logprobs: array of object { token, bytes, logprob }
Summary = object { text, type } A summary text from the model.
A summary text from the model.