Responses
Create Responses
Retrieve Responses
Cancel Responses
ModelsExpand Collapse
ActionClick { button, type, x, y } A click action.
A click action.
button: "left" | "right" | "wheel" | 2 more
ActionDoubleClick { type, x, y } A double click action.
A double click action.
ActionDrag { path, type } A drag action.
A drag action.
path: Array<Path>
ActionFind { 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 { keys, type } Press and hold a key.
Press and hold a key.
ActionKeyUp { keys, type } Release a held key.
Release a held key.
ActionKeypress { keys, type } A collection of keypresses the model would like to perform.
A collection of keypresses the model would like to perform.
ActionMouseDown { type, x, y } Press and hold the left mouse button at a position.
Press and hold the left mouse button at a position.
ActionMouseUp { type, x, y } Release the left mouse button at a position.
Release the left mouse button at a position.
ActionMove { type, x, y } A mouse move action.
A mouse move action.
ActionOpenPage { 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 { text, type, x, y } Click at a position then type text.
Click at a position then type text.
ActionScreenshot { type } A screenshot action.
A screenshot action.
ActionScroll { scroll_x, scroll_y, type, 2 more } A scroll action.
A scroll action.
ActionSearchSource { type, url } A source used in the search.
A source used in the search.
ActionType { text, type } An action to type in text.
An action to type in text.
ActionWait { type } A wait action.
A wait action.
AnnotationContainerFileCitation { 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 { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationFilePath { file_id, index, type } A path to a file.
A path to a file.
AnnotationURLCitation { 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 { token, bytes, logprob, top_logprobs } The log probability of a token.
The log probability of a token.
top_logprobs: Array<TopLogprob>
McpApprovalRequest { id, arguments, name, 2 more } A request for human approval of a tool invocation.
A request for human approval of a tool invocation.
OutputImage { type, url } The image output from the code interpreter.
The image output from the code interpreter.
OutputLogs { logs, type } The logs output from the code interpreter.
The logs output from the code interpreter.
PendingSafetyCheck { id, code, message } A pending safety check for the computer call.
A pending safety check for the computer call.
ResponseComputerToolCall { 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 } | ActionDoubleClick { type, x, y } | ActionDrag { path, type } | 11 moreA click action.
A click action.
ActionClick { button, type, x, y } A click action.
A click action.
button: "left" | "right" | "wheel" | 2 more
ActionDoubleClick { type, x, y } A double click action.
A double click action.
ActionDrag { path, type } A drag action.
A drag action.
path: Array<Path>
ActionKeypress { keys, type } A collection of keypresses the model would like to perform.
A collection of keypresses the model would like to perform.
ActionMove { type, x, y } A mouse move action.
A mouse move action.
ActionScreenshot { type } A screenshot action.
A screenshot action.
ActionScroll { scroll_x, scroll_y, type, 2 more } A scroll action.
A scroll action.
ActionType { text, type } An action to type in text.
An action to type in text.
ActionWait { type } A wait action.
A wait action.
ActionPointAndType { text, type, x, y } Click at a position then type text.
Click at a position then type text.
ActionMouseDown { type, x, y } Press and hold the left mouse button at a position.
Press and hold the left mouse button at a position.
ActionMouseUp { type, x, y } Release the left mouse button at a position.
Release the left mouse button at a position.
ActionKeyDown { keys, type } Press and hold a key.
Press and hold a key.
ActionKeyUp { keys, type } Release a held key.
Release a held key.
status: "in_progress" | "completed" | "incomplete"
ResponseFunctionToolCall { 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?: "in_progress" | "completed" | "incomplete" | null
ResponseInputFileParam { type, file_data, file_id, 2 more } A file input to the model.
A file input to the model.
ResponseInputImageParam { 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" | "high" | "auto"
ResponseInputTextParam { text, type } A text input to the model.
A text input to the model.
ResponseOutputMessage { id, content, role, 2 more } An output message from the model.
An output message from the model.
content: Array<ResponseOutputText { annotations, text, type, logprobs } | ResponseOutputRefusal { refusal, type } >
ResponseOutputText { annotations, text, type, logprobs } A text output from the model.
A text output from the model.
annotations: Array<AnnotationFileCitation { file_id, filename, index, type } | AnnotationURLCitation { end_index, start_index, title, 2 more } | AnnotationContainerFileCitation { container_id, end_index, file_id, 3 more } | AnnotationFilePath { file_id, index, type } >
AnnotationFileCitation { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationURLCitation { 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 { 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 { file_id, index, type } A path to a file.
A path to a file.
top_logprobs: Array<TopLogprob>
ResponseOutputRefusal { refusal, type } A refusal from the model.
A refusal from the model.
status: "in_progress" | "completed" | "incomplete"
ResponseOutputRefusal { refusal, type } A refusal from the model.
A refusal from the model.
ResponseOutputText { annotations, text, type, logprobs } A text output from the model.
A text output from the model.
annotations: Array<AnnotationFileCitation { file_id, filename, index, type } | AnnotationURLCitation { end_index, start_index, title, 2 more } | AnnotationContainerFileCitation { container_id, end_index, file_id, 3 more } | AnnotationFilePath { file_id, index, type } >
AnnotationFileCitation { file_id, filename, index, type } A citation to a file.
A citation to a file.
AnnotationURLCitation { 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 { 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 { file_id, index, type } A path to a file.
A path to a file.
top_logprobs: Array<TopLogprob>
Summary { text, type } A summary text from the model.
A summary text from the model.