---
title: "Dispatch content pipeline run"
method: POST
path: "/v1/jr/dispatch"
tags: ["Jr. (COO Engine)"]
---

# Dispatch content pipeline run

`POST /v1/jr/dispatch`

## Request

- Base URL: `https://api.theagentc.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.theagentc.io/v1/jr/dispatch`
- Auth: HTTP bearer

Enqueue a content pipeline run. Credits are deducted when the run executes.

## Request body

- DispatchRunRequest: Request to enqueue a content pipeline run.
  - `brand_id` string, required: Brand UUID
  - `mode` string, required: Content mode: 'mode_1' (customer idea), 'mode_2' (video upload), 'mode_3' (full AI)
  - `content_type` string: Content type: 'text' or 'video'
  - `idea` string, nullable: Customer's content idea (required for mode_1)
  - `video_url` string, nullable: URL of uploaded video (required for mode_2)
  - `campaign_id` string, nullable: Campaign UUID if this run is part of a campaign
  - `platforms` string[], nullable: Target platforms: ['x', 'youtube', 'pinterest']. Defaults to all connected.

## Response `200`

Successful Response

- DispatchRunResponse: Response after enqueuing a pipeline run.
  - `run_id` string, required
  - `job_id` string, required
  - `mode` string, required
  - `status` string
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/theagentc/apis/the-agent-c-api.md) · [All operations](https://skmtc.dev/theagentc/apis/the-agent-c-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theagentc/apis/the-agent-c-api/revisions/1c9868b44584?raw)
