---
title: "Commit a chunk of a link sweep"
method: POST
path: "/internal/operating_memory/link_explorations"
tags: ["operating_memory"]
---

# Commit a chunk of a link sweep

`POST /internal/operating_memory/link_explorations`

## Request

- Base URL: `https://api.rhythms.ai`
- URL: `https://api.rhythms.ai/internal/operating_memory/link_explorations`
- Auth: none required

Internal Temporal activity interface for OperatingMemoryLinkSweepWorkflow: the link agent's answers for a chunk of anchors. Rails re-checks and writes them as one repair run tagged with the sweep, named run_uuid so a retried chunk returns the run that already landed. 409 while another repair run holds the tenant; 410 once the sweep has been undone.

## Request body

- object
  - `tenant_uuid` string, required: Tenant matching the internal tenant header
  - `sweep_uuid` string, required: The sweep these answers belong to
  - `run_uuid` string, required: The workflow's id for this chunk, used as its repair run's uuid
  - `mode` string, required: dry_run or apply
  - `results` string[], required: Per anchor: anchor_uuid, fingerprint and the agent's response, or error

## Other responses

- `400`: Bad Request - Invalid parameters or malformed request
- `401`: Unauthorized - Invalid or missing authentication
- `403`: Forbidden - User lacks permission to access this resource
- `404`: Not Found - Resource does not exist
- `422`: Unprocessable Entity - Invalid request parameters or validation errors
- `429`: Too Many Requests - Rate limit exceeded
- `500`: Internal Server Error - Unexpected server error

## Changes

- **2026-10-12** `4bad43aa655d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/changes/internal/operating_memory/link_explorations/post.md)

---

[API](https://skmtc.dev/rhythms/apis/rhythms-params-in-body.md) - [All operations](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/llms.txt) - [OpenAPI document](https://skmtc.dev/rhythms/apis/rhythms-params-in-body/revisions/3776068254ff?raw)
