---
title: "Dispatch Action"
method: POST
path: "/api/actions/dispatch"
tags: ["actions"]
---

# Dispatch Action

`POST /api/actions/dispatch`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/actions/dispatch`
- Auth: none declared

Dispatch an action (executes script in Modal sandbox).

## Request body

- DispatchActionRequest: Request to dispatch an action.
  - `action_id` string, required
  - `ref` string, nullable
  - `inputs` object, nullable
  - `chat_id` string, nullable
  - `investigation_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
