Get routing policy

Authentication

AuthorizationBearer

Your production key (prefixed mg_), sent as a bearer token.

Path parameters

customer_idstringRequired
policy_idstringRequired

Response

Successful Response
idstring
namestring
strategyenum
is_defaultboolean
Used when a request names no explicit policy.
is_activeboolean

Whether the policy is usable. Deactivate (PATCH is_active=false) to stop routing through it without deleting it; a default policy cannot be inactive.

allowed_providerslist of strings or null
allowed_modelslist of strings or null
priority_orderlist of objects or null
created_atdatetime
modified_atdatetime