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

# Execute run

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

Starts execution of a queued run. The agent runs in a durable workflow — poll /run/:id/status for progress.

## Path parameters

- `id` string, required

## Response `200`

Run started

- object
  - `id` string
  - `status` 'running'
  - `workflowId` string — Durable workflow run ID
  - `message` string

## Other responses

- `400` — Missing run ID
- `401` — Invalid API key
- `403` — No agent access
- `404` — Run or agent not found
- `409` — Run is no longer queued (already started or finished)

---

[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/revisions/5b7e64e6d6f9/schema)
