---
title: "Create Exclusion"
method: POST
path: "/api/exclusions"
tags: ["exclusions"]
---

# Create Exclusion

`POST /api/exclusions`

Create a manual exclusion rule.

## Request body

- ExclusionRuleCreate
  - `rule_type` string, required
  - `value` string, required
  - `reason` string, required
  - `created_by` string, nullable

## Response `201`

Successful Response

- ExclusionRuleOut
  - `id` string, uuid, required
  - `rule_type` string, required
  - `value` string, required
  - `reason` string, nullable, required
  - `auto_generated` boolean, required
  - `created_by` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rethoric/apis/rethoric-os.md) · [All operations](https://skmtc.dev/rethoric/apis/rethoric-os/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rethoric/rethoric-os/revisions/76b6d39426f6/schema)
