---
title: "Complete run"
method: POST
path: "/api/v1/runs/complete"
tags: ["runs"]
---

# Complete run

`POST /api/v1/runs/complete`

Complete a run with results

## Request body

- CompleteRunRequest
  - `error` string
  - `run_id` string, required
  - `status` 'running' | 'completed' | 'failed' | 'cancelled', required
  - `summary` RunSummary
    - `assets_created` integer
    - `assets_deleted` integer
    - `assets_terms_linked` integer
    - `assets_updated` integer
    - `documentation_added` integer
    - `duration_seconds` integer
    - `errors_count` integer
    - `glossary_terms_created` integer — Glossary counts are absent from runs that predate them, and from sources that curate no business terms.
    - `glossary_terms_updated` integer
    - `lineage_created` integer
    - `lineage_updated` integer
    - `total_entities` integer

## Response `200`

OK

- object

## Changes

> 56 revisions in range; 1 not diffed.

- **2026-08-24** `0bd802afff21` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/runs/complete/post.md)

---

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