---
title: "Create Rule"
method: POST
path: "/api/organization/rules"
tags: ["organization"]
---

# Create Rule

`POST /api/organization/rules`

Create a manual rule through the same transactional core as chat.

## Request body

- CreateRuleRequest
  - `rule_text` string, required
  - `scope` string, required
  - `context_entities` RuleContextEntityRequest[]
    - `type` string, required
    - `id` string, required
    - `display` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/revisions/7a690d2171a0/schema)
