Create a custom provider
Create a custom provider. Use PATCH /api/providers/{provider_id}/ to update an existing provider.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.
Request
This endpoint expects an object.
provider_id
Unique provider identifier within your organization.
provider_name
Human-readable provider name.
api_key
Provider API key. This field is write-only and is never returned.
extra_kwargs
Additional provider configuration.
Response
Created provider.
id
Provider string ID. Same value as provider_id.
provider_id
Unique provider identifier within your organization.
provider_name
Human-readable provider name.
extra_kwargs
Provider configuration such as base_url and timeout values. Secret values are not returned here.
created_at
updated_at
Errors
400
Bad Request Error
401
Unauthorized Error