Guardrails
Fetch an archived guardrail version
Returns the exact configuration — and so the exact document — that governed at a given version. Approval items, activity entries, and exceptions record the version that governed them, so the audit chain survives edits.
get/v1/projects/{project_id}/guardrails/{guardrail_id}/versions/{version}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/guardrails/{guardrail_id}/versions/{version}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
guardrail_idstring required
versioninteger required
Response
Archived guardrail version
Example response
{
"id": "guard_ver_V1StGXR8Z5jdHi6B",
"guardrail_id": "guard_V1StGXR8Z5jdHi6B",
"version": 1,
"label": "restored from v2",
"created_by_principal_type": "user",
"created_by_principal_id": "user_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.