---
title: "Put Agent Run"
method: PUT
path: "/v1/agent-runs/{run_id}"
tags: ["SDK API"]
---

# Put Agent Run

`PUT /v1/agent-runs/{run_id}`

## Path parameters

- `run_id` string, uuid, required

## Request body

- AgentRunUpdateRequest
  - `message` string, required

## Response `200`

Agent run successfully updated

- unknown

## Other responses

- `403` — Chat ID is invalid or does not belong to you
- `406` — You can only add messages to completed runs
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.net/toolhouse/apis/toolhouse-api.md) · [All operations](https://skmtc.net/toolhouse/apis/toolhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/toolhouse/toolhouse-api/versions/ce92a5e2d085/schema)
