Skip to content
Start here

Custom Providers

List custom providers
client.AIGateway.CustomProviders.List(ctx, params) (*V4PagePaginationArray[CustomProviderListResponse], error)
GET/accounts/{account_id}/ai-gateway/custom-providers
Get a custom provider
client.AIGateway.CustomProviders.Get(ctx, id, query) (*CustomProviderGetResponse, error)
GET/accounts/{account_id}/ai-gateway/custom-providers/{id}
Create a custom provider
client.AIGateway.CustomProviders.New(ctx, params) (*CustomProviderNewResponse, error)
POST/accounts/{account_id}/ai-gateway/custom-providers
Delete a custom provider
client.AIGateway.CustomProviders.Delete(ctx, id, body) (*CustomProviderDeleteResponse, error)
DELETE/accounts/{account_id}/ai-gateway/custom-providers/{id}