Skip to main content
PUT
Bulk update integration models

Portkey is now PRISMA AIRS AI Gateway. See it in action.

Contact Us
Bulk-update which models an integration can use, plus optional per-model routing and pricing.

Auto-enabling new models

auto_enable_new_models controls whether models the provider adds later are automatically enabled on this integration. It is the preferred, clearer alias for allow_all_models - both are accepted and functionally identical. If you send both, auto_enable_new_models takes precedence. Each call also syncs the provider’s catalog - any models the integration doesn’t have yet are added. Synced models follow this flag: enabled when true, added but left disabled when false. Keep it false to curate access explicitly through the models list.

Per-model configurations

Each item in models accepts an optional configurations object:

Precedence

  • Model-level custom_headers override integration-level custom_headers for that model.
  • A request-time / header-level custom_host still takes priority over a model-level custom_host.
See Custom hosts and Custom models.

Example

custom_headers values must be strings. Nested objects or non-string values are rejected.

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Body

application/json
models
object[]
required
allow_all_models
boolean

Whether to allow all models by default

Response

200 - application/json

Models updated successfully

The response is of type object.

Last modified on September 17, 2026