---
title: "List all policy rules"
method: GET
path: "/api/v1/policy/automation/"
tags: ["Policy Rules"]
---

# List all policy rules

`GET /api/v1/policy/automation/`

## Request

- Base URL: `https://api.tuteliq.ai`
- URL: `https://api.tuteliq.ai/api/v1/policy/automation/`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Returns all policy rules for the authenticated user, sorted by priority (ascending).

## Response `200`

Default Response

- object
  - `success` boolean
  - `rules` object[]
    - `id` string
    - `name` string
    - `enabled` boolean
    - `endpoints` string[]
    - `conditions` object
      - `min_risk_score` number
      - `min_severity` 'low' | 'medium' | 'high' | 'critical'
      - `categories` string[]
      - `age_groups` string[]
    - `action` object
      - `type` 'block' | 'flag' | 'escalate' | 'notify' | 'log_only', required
      - `escalate_to` string
      - `notify_channel` string
      - `message` string
      - `override_severity` string
    - `priority` integer
    - `created_at` string
    - `updated_at` string

---

[API](https://skmtc.dev/tuteliq/apis/tuteliq-api.md) · [All operations](https://skmtc.dev/tuteliq/apis/tuteliq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tuteliq/apis/tuteliq-api/revisions/8490332e0031?raw)
