---
title: "Parse Rule"
method: POST
path: "/api/v1/rules/parse"
tags: ["Budget Rules"]
---

# Parse Rule

`POST /api/v1/rules/parse`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/rules/parse`
- Auth: none declared

Parse a natural language rule description into a structured rule definition

## Request body

- ParseRuleRequest: Request to parse a natural language rule
  - `description` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
