Expand description
Types used in OpenAI API requests and responses. These types are created from component schemas in the OpenAPI spec
Modules§
- admin
- Admin-related types for organization management APIs.
- assistants
- audio
- batches
- chat
- chatkit
- containers
- embeddings
- evals
- files
- finetuning
- graders
- images
- models
- moderations
- realtime
realtime - responses
- uploads
- vectorstores
- videos
- webhooks
webhook
Structs§
- Create
Completion Request - Create
Completion Request Args - Builder for
CreateCompletionRequest. - Create
Completion Response - LogProb
Properties - Log probability information for a transcribed token.
- MCPList
Tools Tool - MCPTool
- MCPTool
Approval Filter - MCPTool
Args - Builder for
MCPTool. - MCPTool
Filter - Metadata
- Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
Enums§
- Input
Source - MCPTool
Allowed Tools - MCPTool
Approval Setting - MCPTool
Require Approval - Approval policy or filter for MCP tools.
- McpTool
Connector Id - Organization
Role
Type Aliases§
- Completion
Response Stream - Parsed server side events stream until an [DONE] is received from server.