---
title: "Complete Run"
method: POST
path: "/api/internal/runs/complete"
---

# Complete Run

`POST /api/internal/runs/complete`

## Headers

- `x-internal-secret` string, nullable

## Request body

- UpdateBundle
  - `run_id` string, required
  - `status` 'changed' | 'no_change' | 'error' | 'blocked' | 'skipped', required
  - `head_sha` string, required
  - `files` ChangedFile[]
    - `path` string, required
    - `content` string, required
  - `summary` string, nullable
  - `blocker` string, nullable
  - `error` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/codealmanac/apis/codealmanac-api.md) · [All operations](https://skmtc.dev/codealmanac/apis/codealmanac-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codealmanac/codealmanac-api/revisions/bc053e1aa7f6/schema)
