---
title: "Get Validation Rule"
method: GET
path: "/v1/validation/rules/{code}"
tags: ["validation"]
---

# Get Validation Rule

`GET /v1/validation/rules/{code}`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/validation/rules/{code}`
- Auth: none declared

Return one rule catalog entry (including ``explain``) or 404.

``staged_changes`` is the catalog's meta section, not a rule — a lookup
for it is a miss like any unknown code.

## Path parameters

- `code` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
