AI Gateway · Authentication Profile

Ai Gateway Authentication

Authentication

AI Gateway secures its APIs with apiKey across 2 declared security schemes, as derived from its OpenAPI definitions.

AI GatewayLLM RouterLLM ProxyModel RoutingPrompt FirewallGuardrailsAI ObservabilityCost ControlsAI GovernanceAPI Gateway
Methods: apiKey Schemes: 2 OAuth flows: API key in: header

Security Schemes

PortkeyApiKey apiKey
· in: header (x-portkey-api-key)
PortkeyProvider apiKey
· in: header (x-portkey-provider)

Source

Authentication Profile

ai-gateway-authentication.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/ai-gateway-openapi.yml
summary:
  types:
  - apiKey
  api_key_in:
  - header
schemes:
- name: PortkeyApiKey
  type: apiKey
  in: header
  parameter: x-portkey-api-key
  description: Portkey API key header.
  sources:
  - openapi/ai-gateway-openapi.yml
- name: PortkeyProvider
  type: apiKey
  in: header
  parameter: x-portkey-provider
  description: Upstream provider selector header.
  sources:
  - openapi/ai-gateway-openapi.yml