---
title: "Get rule set"
method: GET
path: "/rule-sets/{id}"
tags: ["Rule Sets"]
---

# Get rule set

`GET /rule-sets/{id}`

## Request

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

Retrieve a single rule set by ID, including full rule details.

## Path parameters

- `id` string, uuid, required

## Response `200`

Rule set details

- object
  - `data` RuleSetDetail
    - `id` string, uuid
    - `name` string
    - `description` string, nullable
    - `is_system` boolean
    - `is_enabled` boolean
    - `rule_count` integer
    - `rules` RuleSetRuleDetail[]
      - `id` string, uuid
      - `name` string
      - `description` string, nullable
      - `condition_type` string
      - `config` object, nullable
      - `severity` string
      - `fix_hint` string, nullable
      - `is_system` boolean
      - `sort_order` integer
    - `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

---

[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)
