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_idstringRequired

Request

This endpoint expects an object.
routing_policy_idstringRequiredformat: "uuid"

Response

The policy, now the default.
idstringOptional
namestringOptional
descriptionstring or nullOptional

Optional free-text description

strategyenumOptional
Allowed values:
is_defaultbooleanOptional
Used when a request names no explicit policy.
allowed_providerslist of strings or nullOptional
allowed_modelslist of strings or nullOptional
priority_orderlist of objects or nullOptional
axisenum or nullOptional

Optimization axis the router optimizes for. Set for INTELLIGENT policies; null for PRIORITY.

Allowed values:
created_atdatetimeOptional
modified_atdatetimeOptional