---
title: "Frameworks with their status, ON/OFF state and rule counts"
method: GET
path: "/v1/compliance/frameworks"
tags: ["Compliance"]
---

# Frameworks with their status, ON/OFF state and rule counts

`GET /v1/compliance/frameworks`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/compliance/frameworks`
- Auth: HTTP bearer

Every framework of the workspace whose document still exists, newest first, without the extracted items. A framework is a workspace document tagged `compliance-framework`.

## Response `200`

The workspace's frameworks.

- object
  - `data` ComplianceFramework[]
    - `document_id` string, uuid
    - `status` 'pending' | 'processing' | 'waiting' | 'completed' | 'error': The reading of the framework's requirements. `waiting`: the reading waits for the workspace's own agent (decider `external`). A `processing` row older than the staleness limit reads `error`.
    - `active` boolean: Whether the framework's rules are in force (ON). Off by default.
    - `framework_name` string, nullable
    - `rule_count` integer: Items extracted from the framework (its captured fields), not the stored rules.
    - `error` string, nullable
    - `extracted_at` string, date-time, nullable
    - `updated_at` string, date-time
    - `rules_status` 'none' | 'generating' | 'waiting' | 'ready' | 'error': Rule generation: `waiting` means it waits for the workspace's own agent.
    - `rules_error` string, nullable
    - `rules_decided_by` string, nullable: The external agent's label when it derived the rules.
    - `decided_by` string, nullable: The external agent's label when it read the requirements.
    - `generated_rule_count` integer: Rules currently stored (generated, then edited or deleted by people).
    - `summary` string, nullable: One or two sentences describing the document. Null when the view is returned after a change.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

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