create_provider
Configure AI model provider integrations like OpenAI or Anthropic in Portkey by setting up names, rate limits, credit controls, and workspace connections.
Instructions
Create a new provider configuration in Portkey. Providers define integrations with AI model providers like OpenAI, Anthropic, etc.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the provider | |
| integration_id | Yes | Integration slug for the provider (e.g., 'openai', 'anthropic', 'azure-openai') | |
| workspace_id | No | Workspace ID - required when using organization admin API keys | |
| slug | No | Custom slug for the provider. Auto-generated with random suffix if omitted | |
| note | No | Optional note or description for the provider | |
| credit_limit | No | Credit limit for usage | |
| alert_threshold | No | Alert threshold percentage (0-100) | |
| rate_limit_value | No | Rate limit value | |
| rate_limit_unit | No | Rate limit unit: 'rpm' (requests per minute) or 'rpd' (requests per day) | |
| expires_at | No | Expiration date in ISO 8601 format |