Upload File
Upload a file to the provider.
Required fields:
- file: The file to upload (multipart/form-data)
- purpose: The purpose of the file (e.g., "batch", "assistants")
- provider_id: The provider to upload to (e.g., "openai", "parasail")
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Response
No response body