---
title: "Send several of a framework's rules back to heavy mode"
method: POST
path: "/v1/compliance/frameworks/{documentId}/rules/modes"
tags: ["Compliance"]
---

# Send several of a framework's rules back to heavy mode

`POST /v1/compliance/frameworks/{documentId}/rules/modes`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/compliance/frameworks/{documentId}/rules/modes`
- Auth: HTTP bearer

Every rule named must belong to this framework. Only `heavy` (the documents are read for each check) can be set: a rule moves to its field check on its own once that check agreed with full reads often enough.

## Path parameters

- `documentId` string, uuid, required

## Request body

- object
  - `rule_ids` string[], required
  - `mode` 'heavy', required

## Response `201`

Saved.

- object
  - `updated` integer: The rules set.

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `404`: A rule is not in this framework, the framework belongs to another app, or the workspace has not added the app.

## Changes

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

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/compliance/frameworks/:documentId/rules/modes/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)
