---
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

---

[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/799a3172c3cf/schema)
