---
title: "Get Tag Rules Endpoint"
method: GET
path: "/getTagRules"
---

# Get Tag Rules Endpoint

`GET /getTagRules`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/getTagRules`
- Auth: none declared

Tag rules of a project: "if an image has X in category A, also add Y in category B".
Same gate as the custom tag categories page they live on; also enforces membership.

## Query parameters

- `projectId` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-26** `2c06d2d329ca`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/getTagRules/get.md)

---

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