---
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

## Changes

- **2026-08-23** `7a690d2171a0` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/every/apis/every-api/changes/api/organization/rules/post.md)

---

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