Create File
Upload a file that can be used across various endpoints/features. The size of all the files uploaded by one organization can be up to 100 GB.
The size of individual files for can be a maximum of 512MB. See the Assistants Tools guide to learn more about the types of files supported. The Fine-tuning API only supports .jsonl files.
Please contact us if you need to increase these storage limits.
| Request Body — REQUIRED |
|---|
file binary — REQUIRED |
purpose Purpose — REQUIRED |
| Responses | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
200Successful Response
| ||||||||||
422Validation Error
|