Skip to main content
POST
Start a paid cloud run of a Library agent. Requires --execute.

Body

application/json
agent
string
required

Library agent slug, or a cloud agent id or name

prompt
string
required

What the agent should do

bindThread
boolean

Make this Slack thread or WhatsApp group the run's conversation (run card, replies go to the run)

budget
string

Budget for this run in US dollars (0.5-200)

execute
boolean

Start the run (without it, print the plan and exit 3)

file
string[]

A file the run reads at /mnt/session/inputs/, repeatable (10 files, 3 MB in all)

idempotencyKey
string

Same key, same run: a retry never starts a second run

maxIterations
string

Revisions for --outcome (1-5, default 1)

noDeliver
boolean
default:false

Do not bring the result back to this conversation

outcome
string

What the result must satisfy; the run revises until it does

project
string

Console project slug (default: the cwd's project)

repo
string[]

Mount a GitHub repository: owner/name[@branch], repeatable

rowsLimit
string

How many rows of --rows-view (1-500)

rowsView
string

Work through the rows of this Base view (needs a budget)

Response

Success — body conforms to the @Returns schema.

run
object
required
success
boolean
required
thread
object