---
title: "Create a document set picked by hand"
method: POST
path: "/v1/compliance/sets"
tags: ["Compliance"]
---

# Create a document set picked by hand

`POST /v1/compliance/sets`

## Request

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

The set holds from 2 documents up to the configured maximum (20 by default). Frameworks are not accepted as members. Without `rule_set_id`, the set is judged against every rule of the ON frameworks.

## Request body

- object
  - `name` string, required
  - `document_ids` string[], required: The configured maximum (20 by default) applies on top.
  - `rule_set_id` string, uuid, nullable: The rule set to judge the set against; omitted or null means every rule of the ON frameworks.

## Response `201`

The set.

- ComplianceDocumentSet
  - `id` string, uuid
  - `name` string
  - `source` 'manual' | 'assembly'
  - `source_ref` object, nullable: For an `assembly` set: the pipeline and the group it follows.
    - `pipeline_id` string, uuid
    - `group_key` string
  - `documents` object[]
    - `id` string, uuid
    - `filename` string
    - `display_name` string, nullable
  - `rule_set_id` string, uuid, nullable: Null means every rule of the ON frameworks.
  - `rule_set_name` string, nullable
  - `created_at` string, date-time

## Other responses

- `400`: The request is invalid.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `422`: The request is well-formed but violates the declared task contract.

## Changes

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

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