---
title: "Run Finish"
method: POST
path: "/internal/instructions/run/finish"
tags: ["instructions"]
---

# Run Finish

`POST /internal/instructions/run/finish`

## Request

- Base URL: `https://api.brickway.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brickway.app/internal/instructions/run/finish`
- Auth: none declared

Close a run with its summary. A run already closed by the reaper stays closed.

## Headers

- `x-instructions-token` string

## Request body

- RunFinishRequest
  - `run_id` integer, required
  - `mirrored` integer
  - `gone` integer
  - `retry` integer
  - `bytes` integer
  - `batches` integer
  - `stopped_on_budget` boolean
  - `error` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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