---
title: "Watch run"
method: POST
path: "/agent/v1/run/{id}/watch"
tags: ["Agents"]
---

# Watch run

`POST /agent/v1/run/{id}/watch`

Register a callback URL to receive notifications when the run completes. URL must use https and must not point to a private network.

## Path parameters

- `id` string, required

## Request body

- object
  - `callbackUrl` string, uri, required — HTTPS URL to receive completion callback

## Response `200`

Callback registered

- object
  - `ok` boolean
  - `callbackUrl` string

## Other responses

- `400` — Invalid or missing callbackUrl
- `401` — Invalid API key
- `403` — No agent access
- `404` — Run not found

---

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