Fetch, modify, or hard-delete a single guardrail policy. Visibility: author or any member of the owning org. Non-members receiveDocumentation Index
Fetch the complete documentation index at: https://docs.hitheo.ai/llms.txt
Use this file to discover all available pages before exploring further.
404 so the existence of team policies is never leaked.
Authentication
Requires a Bearer token with thebilling API key scope.
GET
Fetch the full policy snapshot.PATCH
Update fields on an existing policy. Sendingrules replaces the entire rule set (the rules table is treated as a single document on save).
Policy name.
Free-text description.
Replacement rule set.
Pause/unpause without deleting.
Promote/demote default. One default per scope.
manageWebhooks permission on the active organization.
DELETE
Hard delete. Cascade-removes everyapi_key_guardrail_policies binding pointing at this policy — previously-bound keys revert to the strict opt-in default (no enforcement).
Errors
400 guardrail_policy_invalid— Validation failure on PATCH.404 not_found— Policy doesn’t exist or isn’t visible to the caller.409 conflict— Default-uniqueness violation.
