Create routing policy
Authentication
AuthorizationBearer
Your production key sent as a bearer token.
Path parameters
customer_id
Request
This endpoint expects an object.
name
strategy
Allowed values:
description
Optional free-text description
is_default
allowed_providers
allowed_models
priority_order
axis
Optimization axis for INTELLIGENT policies (the objective the router optimizes for). Must be omitted for PRIORITY. Defaults to COST when omitted.
Allowed values:
Response
Successful Response
id
name
description
Optional free-text description
strategy
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.
created_at
modified_at