Set a customer's default routing policy
Marks one of the customer’s existing policies as its default: the policy that routes a request carrying customer but no model and no routing_policy_id. The previous default is cleared. The policy must belong to this customer (404 otherwise) and be active (422).
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Path parameters
customer_id
Request
This endpoint expects an object.
routing_policy_id
Response
The policy, now the default.
id
name
description
Optional free-text description
strategy
Allowed values:
is_default
Used when a request names no explicit policy.
allowed_providers
allowed_models
priority_order
axis
Optimization axis the router optimizes for. Set for INTELLIGENT policies; null for PRIORITY.
Allowed values:
created_at
modified_at