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

# Complete run

`POST /runs/complete`

Complete a run with results

## Request body

- RunsCompleteRunRequest
  - `error` string
  - `run_id` string, required
  - `status` 'running' | 'completed' | 'failed' | 'cancelled', required
  - `summary` PluginRunSummary
    - `assets_created` integer
    - `assets_deleted` integer
    - `assets_updated` integer
    - `documentation_added` integer
    - `duration_seconds` integer
    - `errors_count` integer
    - `lineage_created` integer
    - `lineage_updated` integer
    - `total_entities` integer

## Response `200`

OK

- object

## Changes

- **2025-09-24** `01ebcc70d5ab` — 1 info
  - endpoint added
- **2025-06-02** `0c070796939d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/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/a27bbdf5acdc/schema)
