---
title: "Sweeps Approve"
method: POST
path: "/bernayser/{sweep_id}/approve"
---

# Sweeps Approve

`POST /bernayser/{sweep_id}/approve`

## Request

- Base URL: `https://www.clipzyn.com/v1`
- URL: `https://www.clipzyn.com/v1/bernayser/{sweep_id}/approve`
- Auth: HTTP bearer

Approve an awaiting-approval sweep against an exact manifest digest.

This bernayser:write operation is the only API route into approved and costs
no run quota itself. The store compare-and-set accepts only
awaiting_approval; any other state returns validation_error, and unknown or
foreign ids are not_found. Fix the manifest or state before retrying; for
transient rate_limited or service_unavailable, wait retry_after_sec. Requires the explicitly minted `bernayser:write` scope; bernayser:read permits safe projections and bernayser:write permits mutations. This BERNAYSER operation is quota-neutral. While dark it returns not_found, and a valid key without the required scope receives scope_missing. Fix a non-retryable request or credential before retrying; for rate_limited or service_unavailable, wait for retry_after_sec and retry once.

## Path parameters

- `sweep_id` string, required

## Request body

- SweepApproveRequest
  - `manifest_sha` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clipzyn/apis/clipzyn-api.md) · [All operations](https://skmtc.dev/clipzyn/apis/clipzyn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clipzyn/apis/clipzyn-api/revisions/a0f30a836536?raw)
