/
OP
openai
/
OpenAI API
Search skmtc…
⌘K
Changes
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 60m ago · Updated 2y ago
Details
Filter operations
Assistants
23
Audio
3
Batch
4
Chat
1
Completions
1
Embeddings
1
Files
5
get
Returns a list of files that belong to the user's organization.
post
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](https://platform.openai.com/docs/assistants/tools) for details. The Fine-tuning API only supports `.jsonl` files. The Batch API only supports `.jsonl` files up to 100 MB in size. Please [contact us](https://help.openai.com/) if you need to increase these storage limits.
get
Returns information about a specific file.
delete
Delete a file.
get
Returns the contents of the specified file.
Fine-tuning
6
Images
3
Models
3
Moderations
1
Vector Stores
13
Files
Returns a list of files that belong to the user's organization.
get
/files
Query parameters
purpose
string
Only return files with the given purpose.
Response
OK
ListFilesResponse
required
data
OpenAIFile[]
required
object
'list'
required
Changes