---
title: "Get rule"
method: GET
path: "/rules/{id}"
tags: ["Rules"]
---

# Get rule

`GET /rules/{id}`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/rules/{id}`
- Auth: API key in header `X-API-KEY`

Retrieve a single content rule by ID.

## Path parameters

- `id` string, uuid, required

## Response `200`

Rule details

- object
  - `data` RuleDetail: Rule with additional detail fields including updated_at
    - `id` string, uuid
    - `name` string
    - `description` string, nullable
    - `condition_type` 'score_threshold' | 'term_compliance' | 'verify_chips' | 'word_count' | 'meta_required' | 'link_count' | 'section_required' | 'regex_pattern' | 'competitor_filter'
    - `config` object: Rule configuration object, structure varies by condition_type
    - `severity` 'error' | 'warning' | 'info'
    - `fix_hint` string, nullable
    - `is_system` boolean
    - `created_at` string, date-time
    - `updated_at` string, date-time, nullable
  - `request_id` string

## Other responses

- `400`: Validation failed
- `401`: Authentication failed
- `404`: Resource not found
- `429`: Rate limit exceeded

---

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