Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Run Job Api V1 Workstreams Jobs Job Id Run Post

post/api/v1/workstreams/jobs/{job_id}/run

Run job (fan-out across clients)

Resolve the job's target_selector to a list of clients, then create one agentic cycle per client and start Temporal workflows. If `client_ids` is provided in the request body, it overrides the job's target_selector (useful for manual runs on a subset).

Path parameters

job_idrequired
path
—

Request bodyapplication/json

FanOutRequest | null

Responses

201Successful Response
FieldTypeDescription
job_definition_idrequiredstring—
job_permakeystring | nullJob permakey for the batch deep-link URL (#173); null on legacy rows.
total_clientsrequiredinteger—
cycles_createdrequiredinteger—
cycles_failedrequiredinteger—
cyclesrequiredobject[]—
item shape
Empty object.
errorsrequiredobject[]—
item shape
Empty object.
422Validation Error
FieldTypeDescription
detailValidationError[]—
item shape
curl https://api.dev.arch.ie/api/v1/workstreams/jobs/<job_id>/run \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d 'null'
API Reference · Archie for developers