Guardrail Policies
List model availability policies
Changed onList the model availability policies in a workspace. Management key required.
get/guardrails/policies/model-availability
Request
- Base URLhttps://openrouter.ai/api/v1
- AuthHTTP bearer
Query parameters
offset, integer
Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned
limit, integer
Maximum number of records to return (max 100). When both offset and limit are omitted, the full list is returned
Example:50
workspace_id, string uuid
Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other.
Example:0df9e665-d932-5740-b2c7-b52af166bc11
Response
List of model availability policies
List Model Availability Guardrail Policies Response required
data, Model Availability Guardrail Policy Summary[] required
total_count, integer required
Total number of policies
Example response
{
"data": [
{
"config": {
"allowed_models": [
"openai/gpt-4o",
"anthropic/claude-sonnet-4"
],
"allowed_providers": [
"openai",
"anthropic"
],
"enforce_zdr_anthropic": true,
"enforce_zdr_openai": true
},
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Engineering monthly budget"
}
],
"total_count": 1
}Changes
- info
added the optional property
data/items/config/allow_safety_retention_openaito the response with the status
- info
- info
added the optional property
data/items/config/allow_provisional_providersto the response with the status
- info