---
title: "Get Rules"
method: GET
path: "/dashboard/bot/settings/{guild_id}/automod/rules/"
tags: ["dashboard"]
---

# Get Rules

`GET /dashboard/bot/settings/{guild_id}/automod/rules/`

## Request

- Base URL: `https://api.monni.fyi` (the document declares no server; this is the origin it was published from)
- URL: `https://api.monni.fyi/dashboard/bot/settings/{guild_id}/automod/rules/`
- Auth: HTTP bearer

Get all automod rules for a guild.

## Path parameters

- `guild_id` integer, required

## Response `200`

Successful Response

- RulesResponse
  - `checks` object, required
  - `limit` integer, required
  - `premium_limit` integer
  - `premium` boolean, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-01** `c08615391337`: 2 info
  - added the optional property `checks/additionalProperties/defaults/filters/only_roles` to the response with the `200` status
  - added the optional property `checks/additionalProperties/rules/items/filters/only_roles` to the response with the `200` status
- **2026-09-16** `83ac8f547df8`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-09** `0f647fa78ebf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/monni/apis/monni-api/changes/dashboard/bot/settings/:guild_id/automod/rules/get.md)

---

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