---
title: "Update Run"
method: PUT
path: "/v1/runs/{flowRunId}"
tags: ["Runs"]
---

# Update Run

`PUT /v1/runs/{flowRunId}`

Updates callback input for a pending Run.

## Path parameters

- `flowRunId` string, required

## Request body

- UpdateRunRequest
  - `input` object, required — Input payload to patch into callback state context.

## Response `200`

Updated Run status

- UpdateRunResponse
  - `flowRunId` string, required — The Sohar ID for the Run.
  - `status` 'CREATED' | 'IN_PROGRESS' | 'PENDING' | 'COMPLETE' | 'ERROR', required — Current status of the Run.

## Other responses

- `400` — Invalid request
- `403` — Unauthorized
- `404` — Not found
- `500` — Internal error

---

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