Skip to main content
PATCH
Update policy
Replace a policy’s name and configuration. Both name and config are required; the configuration you send replaces the existing one in full. Changes apply to new inference requests immediately.

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

policy_id
string<uuid>
required

The policy ID

Body

application/json
name
string
required

New policy name

Example:

"production-chat"

config
object
required

Policy strategy and model chain. Set exactly one of fallback, load_balance, or latency, with at least one model.

scope
enum<string>
required

Policy scope. The Management API only accepts POLICY_SCOPE_ORGANIZATION.

Available options:
POLICY_SCOPE_ORGANIZATION
Example:

"POLICY_SCOPE_ORGANIZATION"

Response

Policy updated successfully

policy
object
Last modified on September 8, 2026