Api referenceProviders
Providers
Providers API endpoints
Providers API
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/providers/api-keys | AddProviderAPIKey adds a new API key to a provider configuration |
DELETE | /v1/providers/api-keys/{keyId} | DeleteProviderAPIKey deletes an API key |
PATCH | /v1/providers/api-keys/{keyId}/toggle | ToggleAPIKey activates or deactivates an API key |
PATCH | /v1/providers/api-keys/{keyId}/weight | UpdateAPIKeyWeight updates the weight of an API key for load balancing |
GET | /v1/providers/api-keys/{providerConfigId} | ListProviderAPIKeys lists all API keys for a provider configuration |
GET | /v1/providers/catalog | ListProviderCatalog returns all available providers from the catalog (defaults) |
GET | /v1/providers/config-yaml | GetConfigYAML gets the current YAML config content |
POST | /v1/providers/config-yaml | SaveConfigYAML saves YAML config and syncs to database |
GET | /v1/providers/configured | ListConfiguredProviders returns all providers with their status (configured and unconfigured) |
POST | /v1/providers/reload | ReloadConfig syncs YAML to DB and triggers gateway reload |
GET | /v1/providers/sync-status | GetSyncStatus checks if YAML and DB are in sync |
GET | /v1/providers/{providerName} | GetProvider returns detailed information about a specific provider |
DELETE | /v1/providers/{providerName} | DeleteProviderConfiguration removes a provider configuration |
POST | /v1/providers/{providerName}/configure | ConfigureProvider creates or updates a provider configuration |

