{}Update Integration
{}Portkey is now PRISMA AIRS AI Gateway. See it in action.
Authorizations
Path Parameters
Body
Human-readable name for the integration
"Production OpenAI"
API key for the provider (if required)
"sk-..."
Optional description of the integration
"Production OpenAI integration for customer-facing applications"
Configuration for OpenAI integrations. Supports three authentication modes
selected via provider_auth_type:
- apiKey (default) – standard API-key auth; no extra fields required.
- oauthClientCredentials – Portkey obtains an access token from your IdP using the OAuth 2.0 client-credentials grant and forwards it to OpenAI.
- wif (Workload Identity Federation) – Portkey mints a subject JWT via your configured IdP and exchanges it at OpenAI's WIF token endpoint.
- OpenAI
- Anthropic
- Azure OpenAI
- AWS Bedrock
- Vertex AI
- Azure AI
- Workers AI
- AWS Sagemaker
- Hugginface
- Cortex
- Custom Base URL
Show child attributes
Show child attributes
Dynamically resolve secrets from secret references at runtime. Valid target_field values are "key" or "configurations." (e.g. "configurations.aws_secret_access_key", "configurations.azure_entra_client_secret"). Each target_field must be unique.
Show child attributes
Show child attributes
Per-Integration pricing adjustments applied on top of Portkey's base model pricing for cost tracking, analytics, and budget limits. Use to reflect negotiated discounts, committed-use rates, or internal markups for cost showback.
Show child attributes
Show child attributes
{
"multiplier": {
"default": 0.8,
"cache_read_input_token": 0.9,
"cache_write_input_token": 0.9
}
}
Response
Successful response
The response is of type object.
Was this page helpful?

