cURL
curl --request POST \ --url https://gomodel.example.com/v1/files \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form 'purpose=<string>' \ --form file='@example-file'
{ "bytes": 123, "created_at": 123, "filename": "<string>", "id": "<string>", "object": "<string>", "provider": "<string>", "purpose": "<string>", "status": "<string>", "status_details": "<string>" }
Provider override when multiple providers are configured
File purpose
File to upload
OK
Gateway enrichment for multi-provider deployments.
Was this page helpful?