Skip to Content

Get a guardrail

GET

https://novapai.ai/api/v1/guardrails/:id 

GET

/api/v1/guardrails/:id

cURL
$curl https://novapai.ai/api/v1/guardrails/550e8400-e29b-41d4-a716-446655440000 \ >-H "Authorization: Bearer <token>"
200 Retrieved
reference-guardrails-get-guardrail-01.json
{ "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Production Guardrail", "created_at": "2025-08-24T10:30:00Z", "description": "Guardrail for production environment", "limit_usd": 100, "reset_interval": "monthly", "allowed_providers": ["openai", "anthropic", "google"], "enforce_zdr": false, "updated_at": "2025-08-24T15:45:00Z" } }

Get a single guardrail by ID. Management key  required.

Authentication

Authorization Bearer

API key as bearer token in Authorization header

Path parameters

id string Requiredformat: "uuid"

The unique identifier of the guardrail to retrieve

Response

Guardrail details

字段类型必填说明
dataobject-The guardrail

Errors

状态码说明
401Unauthorized Error
404Not Found Error
500Internal Server Error