---
title: "get customized rule detail"
method: GET
path: "/open/policy/detail"
tags: ["rule"]
---

# get customized rule detail

`GET /open/policy/detail`

## Query parameters

- `id` integer

## Response `200`

OK

- object
  - `data` PolicyGetPolicyRes
    - `action` 0 | 1 | 2 | 3 | 4 | 5 | 999 | 999
    - `auth_callback` string
    - `auth_rule` integer
    - `auth_source_ids` integer[]
    - `black_rule` integer
    - `builtin` boolean
    - `captcha_rule` integer
    - `cloud_id` integer
    - `cloud_total` integer
    - `compatible` integer
    - `created_at` string
    - `expire` integer
    - `id` integer
    - `is_enabled` boolean
    - `level` integer
    - `log` boolean
    - `name` string
    - `negate` boolean
    - `pass_count` integer
    - `pattern` array[]
      - ModelRulePattern[]
        - `k` string
        - `op` string
        - `sub_k` string
        - `v` string[]
    - `replay` boolean
    - `req_count` integer
    - `review` 0 | 1
    - `tfa_enabled` boolean
    - `updated_at` string
    - `white_rule` integer
  - `err` string
  - `msg` string

---

[API](https://skmtc.net/chaitin/apis/mgt-api.md) · [All operations](https://skmtc.net/chaitin/apis/mgt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaitin/mgt-api/versions/8ff8cf839cf1/schema)
