List files

List files from the upstream OpenAI Files API using the authenticated organization key's OpenAI credentials.

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, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Query parameters

provider_idstringRequired

Provider route with customer-owned credentials, for example openai or parasail.

Response

List of files.
datalist of objects
objectstringOptional

Errors

401
Unauthorized Error