Skip to main content
GET
/
policies
/
{policyId}
/
rules
List policy rules
curl --request GET \
  --url https://api.indoralabs.com/policies/{policyId}/rules \
  --header 'x-api-key: <api-key>'
{
  "rules": [
    {
      "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"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

policyId
string<uuid>
required

Policy document ID.

Response

Policy rules

rules
object[]