/
OM
omnistack-sh
/
OpenAI API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 34m ago · Updated 2y ago
View markdown
omnistack-sh
OpenAI API
get
Returns a list of files that belong to the user's organization.
v2
latest
OpenAPI 3.0.0
MIT
raw.githubusercontent.com
2024-10-17
94
217
620.9 KB
Assistants
23
Audio
3
Audit Logs
1
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](/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.
get
Returns information about a specific file.
delete
Delete a file.
get
Returns the contents of the specified file.
Fine-tuning
6
Images
3
Invites
4
Models
3
Moderations
1
Projects
17
Uploads
4
Users
4
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