Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
cURL
curl --request GET \ --url https://api.orq.ai/v2/guardrail-rules/{guardrail_rule_id} \ --header 'Authorization: Bearer <token>'
{ "_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "created_by_id": "<string>", "display_name": "<string>", "enabled": true, "project_id": "<string>", "timeout": 123, "updated_at": "2023-11-07T05:31:56Z", "updated_by_id": "<string>", "description": "<string>", "expression": { "cel": "<string>", "config": {} }, "guardrails": [ { "execute_on": "<string>", "id": "<string>" } ] }
Retrieves the details of an existing guardrail rule by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the guardrail rule
Guardrail rule retrieved successfully
Show child attributes
Was this page helpful?
Contact support