/
/OpenAI API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 2y ago
Assistants23
Audio3
Audit Logs1
Batch4
Chat1
Completions1
Embeddings1
Files5
  • getReturns a list of files that belong to the user's organization.
  • postUpload 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 100 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.
  • getReturns information about a specific file.
  • deleteDelete a file.
  • getReturns the contents of the specified file.
Fine-tuning6
Images3
Invites4
Models3
Moderations1
Projects17
Uploads4
Users4
Vector Stores13
    Files

    Returns a list of files that belong to the user's organization.

    get/files

    Query parameters

    purposestring

    Only return files with the given purpose.

    Response

    OK

    object'list' required

    Changes