Files
POST
/v1/files/v1/files
The key is `id` — verified 2026-08-04
Earlier revisions of this page called the field gw_file_id. The response has no such key; it is OpenAI Files-compatible and the id lives in id. Re-uploading identical bytes returns the same id with HTTP 200 instead of 201 (SHA-256 dedupe, confirmed in testing).
POST /v1/files
multipart/form-data upload with a file part. Max 20 MB. Identical bytes are deduped by SHA-256.
GET /v1/files/:id
Returns 302 to a short-lived presigned URL on the object store. Follow the redirect to download.