Files
Upload a file
Upload a file with specified purpose, file name, and file type.
post/files/upload
Response
File uploaded successfully
Example response
{
"filename": "my_file.jsonl",
"purpose": "fine-tune",
"FileType": "jsonl"
}Changes
Changed in 1 of the 14 revisions of this API.1
- ▲
the
validation_report/nlinesresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲