---
title: "Propose a field check for one rule"
method: POST
path: "/v1/compliance/rules/{ruleId}/compile"
tags: ["Compliance"]
---

# Propose a field check for one rule

`POST /v1/compliance/rules/{ruleId}/compile`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/compliance/rules/{ruleId}/compile`
- Auth: HTTP bearer

Proposes a field check for the rule over the fields extracted from the documents on the Evaluations list, or says why it stays `heavy`. A rule asked for on its own is always proposed afresh. The proposal is kept unconfirmed until a person puts it in force.

## Path parameters

- `ruleId` string, uuid, required

## Request body

- object
  - `locale` string: The language the check's wording is written in (de, en, es, fr, it, pt; English otherwise).

## Response `201`

The proposal.

- union: What proposing a field check for a rule returns.
  - object
    - `rule_id` string, uuid, required
    - `status` 'check', required
    - `check` ComplianceRuleCheckView, required: A field check as a person reads it.
      - `readback` object, nullable: The check restated in plain language.
        - `headline` string
        - `body` string
        - `outcomes` object: One sentence per outcome, for a reviewer.
          - `passed` string
          - `failed` string
          - `unclear` string
      - `fields` string[]: The fields the check reads; fields of linked documents as `alias.field`.
  - object
    - `rule_id` string, uuid, required
    - `status` 'heavy', required
    - `reason` string, required: Why the rule needs its documents read.

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The app is switched off in this workspace, or the rule is already checked by its fields (send it back to `heavy` first).
- `422`: No document on the Evaluations list has extracted fields yet.
- `502`: Checks cannot be proposed right now; try again.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/compliance/rules/:ruleId/compile/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
