Explore all defined operations, data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.
Creates a model response for the given chat conversation.
Delete a stored chat completion. Only Chat Completions that have been created with the store parameter set to true can be deleted.
List stored Chat Completions. Only Chat Completions that have been stored with the store parameter set to true will be returned.
Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model's response.
An item representing part of the context for the response to be generated by the model. Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
A tool call to run a function. See the function calling guide for more information.
The output of a function tool call.
A list of tools available on an MCP server.
Defines a function in your own code the model can choose to call.
An output message from the model.