---
title: "Update Run Status"
method: PATCH
path: "/api/v3/automations/{automation_id}/runs/{run_id}/status"
tags: ["Automations"]
---

# Update Run Status

`PATCH /api/v3/automations/{automation_id}/runs/{run_id}/status`

## Path parameters

- `automation_id` string, required
- `run_id` string, required

## Request body

- RunStatusUpdate
  - `status` 'pending' | 'executing' | 'completed' | 'failed' | 'cancelled', required

## Response `200`

Successful Response

- AutomationRunResponse
  - `id` string, uuid, required
  - `automation_id` string, uuid, required
  - `status` 'pending' | 'executing' | 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `completed_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

---

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