Create a custom provider
Create a custom provider. Use PATCH /api/providers/{provider_id}/ to update an existing provider.
Authentication
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.
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Request
Human-readable provider name.
Provider API key. This field is write-only and is never returned.
Response
Provider string ID. Same value as provider_id.
Human-readable provider name.
Provider configuration such as base_url and timeout values. Secret values are not returned here.