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

# Execute v2 run

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

Starts execution of a queued v2 run. The agent runs in a durable workflow on a Daytona runtime.

## Path parameters

- `id` string, required

## Response `200`

Run started

- object
  - `id` string
  - `status` 'running'
  - `workflowId` string
  - `provider` 'daytona'
  - `runtimeState` 'running'
  - `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)

## Changes

- **2026-03-27** `220d723a75ba` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/casemark/apis/case-dev-api/changes/agent/v2/run/:id/exec/post.md)

---

[API](https://skmtc.dev/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.dev/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/casemark/case-dev-api/revisions/9579fb47836b/schema)
