---
title: "Choose the base document of a group"
method: POST
path: "/v1/pipelines/{id}/assembly/resolve-anchor"
tags: ["Pipelines"]
---

# Choose the base document of a group

`POST /v1/pipelines/{id}/assembly/resolve-anchor`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/pipelines/{id}/assembly/resolve-anchor`
- Auth: HTTP bearer

Settles one group by choosing its base document (a candidate's `documentId` from the needs-anchor list); the group is assembled again around it. 400 when the pipeline does not assemble documents into groups; 404 when the document is not on the run or is hidden from the key's person. Requires the `reviews:write` scope. The key's person needs the `edit` permission (Contract Management and above by default), as in the web app.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `group_key` string, required
  - `anchor_document_id` string, required

## Response `200`

OK

- object
  - `group_key` string
  - `status` string
  - `product_record_id` string, nullable

## 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.
- `429`: Daily rate limit exceeded.

## Changes

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

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/pipelines/:id/assembly/resolve-anchor/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)
