Close
Toolcog home
toolcog
openai
Search
⌘
+
K
Command Palette
Search for a command to run...
Search Toolcog
Sign In
API
Operations
Auth Schemes
Overrides
Intents
Targets
API
Operations
Auth Schemes
Overrides
Intents
Targets
Operations
API endpoints available to AI agents
All methods
All methods
GET
POST
DELETE
Upload a file that can be used across various endpoints. Individual files can be up to 512 MB, and the size of all files uploaded by one organization can be up to 100 GB. The Assistants API supports files up to 2 million tokens and of specific file types. See the [Assistants Tools guide](/docs/assistants/tools) for details. The Fine-tuning API only supports `.jsonl` files. The input also has certain required formats for fine-tuning [chat](/docs/api-reference/fine-tuning/chat-input) or [completions](/docs/api-reference/fine-tuning/completions-input) models. The Batch API only supports `.jsonl` files up to 200 MB in size. The input also has a specific required [format](/docs/api-reference/batch/request-input). Please [contact us](https://help.openai.com/) if you need to increase these storage limits.
Authenticated
createFile
POST/files
Files
Delete a file.
Authenticated
deleteFile
DELETE/files/{file_id}
Files
Returns the contents of the specified file.
Authenticated
downloadFile
GET/files/{file_id}/content
Files
Returns a list of files.
Authenticated
listFiles
GET/files
Files
Returns information about a specific file.
Authenticated
retrieveFile
GET/files/{file_id}
Files