Policies
Create policy
Creates a new router policy with model configuration, evaluators, retry settings, and limits.
POST
Create policy
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 256Maximum string length:
2048Optional project ID. If null/omitted, the entity is global (workspace-wide).
Required range:
x >= 1000Response
Policy created successfully
Required string length:
1 - 256Minimum string length:
1Required range:
x >= 1000Maximum string length:
2048