---
title: "Get a single rule group."
method: GET
path: "/v1/rule-groups/{id}"
tags: ["rule_groups"]
---

# Get a single rule group.

`GET /v1/rule-groups/{id}`

## Request

- Base URL: `https://demo.firefly-iii.org/api`
- URL: `https://demo.firefly-iii.org/api/v1/rule-groups/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://demo.firefly-iii.org/oauth/authorize`
    - Token URL: `https://demo.firefly-iii.org/oauth/token`
  - HTTP bearer

Get a single rule group. This does not include the rules. For that, see below.

## Path parameters

- `id` string, required

## Headers

- `X-Trace-Id` string, uuid

## Response `200`

The requested rule group

- RuleGroupSingle
  - `data` RuleGroupRead, required
    - `type` string, string, required: Immutable value
    - `id` string, string, required
    - `attributes` RuleGroup, required
      - `created_at` string, date-time
      - `updated_at` string, date-time
      - `title` string, string, required
      - `description` string, string, nullable
      - `order` integer
      - `active` boolean
    - `links` ObjectLink, required
      - `0` object
        - `rel` string, string
        - `uri` string, string
      - `self` string, uri

## Other responses

- `400`: Bad request
- `401`: Unauthenticated
- `404`: Page not found
- `500`: Internal exception

---

[API](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-1.md) - [All operations](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-1/llms.txt) - [OpenAPI document](https://skmtc.dev/firefly-iii/apis/firefly-iii-api-v6-5-1/revisions/d60bf328844a?raw)
