openai

0.2.2

Explore all defined data models and types for this version. For live editing and client SDK generators, inspect on TypeHub.

Open in TypeHub
Defined Types (36)
Completion_Choice
Type
Completion_Collection
Type
Completion_Deleted
Type
Completion_Message
Type
Completion_Message_Assistant
Type
Completion_Message_Developer
Type
Completion_Message_System
Type
Completion_Message_Tool
Type
Completion_Message_User
Type
Completion_Request
Type
Completion_Response
Type
Completion_Tokens_Details
Type
Completion_Usage
Type
Error
Type
Error_Detail
Type
Prompt_Tokens_Details
Type
Response_MCP_Tool
Type
Response_Prompt
Type
Response_Reasoning
Type
Response_Request
Type
Response_Request_Input
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.
Type
Response_Request_Input_FunctionCall
A tool call to run a function. See the function calling guide for more information.
Type
Response_Request_Input_FunctionCallOutput
The output of a function tool call.
Type
Response_Request_Input_McpListTools
A list of tools available on an MCP server.
Type
Response_Request_Input_Message
Type
Response_Request_Text
Type
Response_Request_Text_Format
Type
Response_Request_Text_Format_JsonSchema
Type
Response_Request_Text_Format_Text
Type
Response_Request_Tool
Type
Response_Request_Tool_Function
Defines a function in your own code the model can choose to call.
Type
Response_Response
Type
Response_Response_Error
Type
Response_Response_Output
Type
Response_Response_Output_FunctionCall
Type
Response_Response_Output_Message
An output message from the model.
Type
part of the Apioo-Project