---
title: "Run Start"
method: POST
path: "/v1/watches/{wid}/start"
---

# Run Start

`POST /v1/watches/{wid}/start`

## Request

- Base URL: `https://api.ned.watch` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ned.watch/v1/watches/{wid}/start`
- Auth: none declared

Overrun: a run begins. If it isn't finished within max_runtime_s, Ned fires once. A start while a run is open closes
that run as superseded (logged, no callback).

## Path parameters

- `wid` string, required

## Headers

- `authorization` string, nullable
- `x-ned-timestamp` string, nullable
- `x-ned-signature` string, nullable

## Request body

- RunIn
  - `run_id` string, nullable: optional: your own id for the run (1-64 of A-Z a-z 0-9 . _ : -); Ned makes one if you leave it out
  - `status` string, nullable: finish only (v1.9): 'failed' says the run crashed; Ned fires at once and clears on the next run that finishes ok
  - `error` string, nullable: finish only, with status failed: a short reason, sent in the fire callback

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ned/apis/ned-watch.md) · [All operations](https://skmtc.dev/ned/apis/ned-watch/llms.txt) · [OpenAPI document](https://skmtc.dev/ned/apis/ned-watch/revisions/6cc545e782d4?raw)
