curl --request GET \ --url https://api.indoralabs.com/policies/{policyId}/rules/{ruleId} \ --header 'x-api-key: <api-key>'
Copy
{ "rule": { "id": "b87e2a3c-6ef9-4f9b-8e1b-9f9c2c1eab23", "doc_id": "f1c8e8b0-7a1b-4f34-9b5b-0d99a3c9b77d", "type": "REDACT", "target": "all police contact information", "source_text": "All personal contact information of officers must be redacted", "source_page": 3, "offset_start": 120, "offset_end": 182, "created_at": "2026-01-22 14:31:09.123 -0600" }}
Policies
Get A Policy Rule
Retrieve a single policy rule by ID.
GET
/
policies
/
{policyId}
/
rules
/
{ruleId}
Get policy rule
Copy
curl --request GET \ --url https://api.indoralabs.com/policies/{policyId}/rules/{ruleId} \ --header 'x-api-key: <api-key>'
Copy
{ "rule": { "id": "b87e2a3c-6ef9-4f9b-8e1b-9f9c2c1eab23", "doc_id": "f1c8e8b0-7a1b-4f34-9b5b-0d99a3c9b77d", "type": "REDACT", "target": "all police contact information", "source_text": "All personal contact information of officers must be redacted", "source_page": 3, "offset_start": 120, "offset_end": 182, "created_at": "2026-01-22 14:31:09.123 -0600" }}