---
title: "Capture To Case"
method: POST
path: "/v1/cases/{case_id}/capture"
tags: ["cases"]
---

# Capture To Case

`POST /v1/cases/{case_id}/capture`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/cases/{case_id}/capture`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

R3a — the generic "freeze into case": the caller names a TOOL and its
knobs; the SERVER re-executes it (executor dispatch or the app's own MCP
tool registry) and freezes the server's envelope. Caller result bytes are
never accepted — the two-lane law is structural. The captured event is the
analyst-act record (the run-event catalog stays closed); every captured
kind automatically gains rerun→diff, the human renderer, and
document-block use.

## Path parameters

- `case_id` integer, required

## Request body

- CaptureBody
  - `kind` string, required
  - `subject` string, required
  - `chain` string
  - `params` object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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