v1
latestOpenAPI 3.1.02026-07-26132433.7 KBFiles
Upload a file
Upload a JSONL file with purpose=batch (max 100 MB). Use the returned id as input_file_id when creating a batch.
post/v1/files
Headers
x-project-idstring
Optional project identifier. Scopes the request to a specific project when provided.
Response
File uploaded