Agent

Run an agent task

post

Spawn an ambient agent with a prompt and optional configuration. The agent will be queued for execution and assigned a unique run ID.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Body
promptstringRequired

The prompt/instruction for the agent to execute

titlestringOptional

Custom title for the run (auto-generated if not provided)

teambooleanOptional

Make the run visible to all team members, not only the calling user

Default: false
Responses
chevron-right
200

Run created successfully

application/json
post
/agent/run

List agent runs

get

Retrieve a paginated list of agent runs with optional filtering. Results are ordered by creation time (newest first).

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Query parameters
limitinteger · min: 1 · max: 500Optional

Maximum number of runs to return

Default: 20
cursorstringOptional

Pagination cursor from previous response

config_namestringOptional

Filter by agent config name

model_idstringOptional

Filter by model ID

creatorstringOptional

Filter by creator UID (user or service account)

sourcestring · enumOptional

Source that created the run:

  • LINEAR: Created from Linear integration
  • API: Created via the Warp API
  • SLACK: Created from Slack integration
  • LOCAL: Created from local CLI/app
  • SCHEDULED_AGENT: Created by a scheduled agent
Possible values:
created_afterstring · date-timeOptional

Filter runs created after this timestamp (RFC3339 format)

created_beforestring · date-timeOptional

Filter runs created before this timestamp (RFC3339 format)

Responses
chevron-right
200

List of runs

application/json
get
/agent/runs

Get run details

get

Retrieve detailed information about a specific agent run, including the full prompt, session link, and resolved configuration.

Authorizations
AuthorizationstringRequired

Authentication via personal API key or service account credentials.

Path parameters
runIdstringRequired

The unique identifier of the run

Responses
chevron-right
200

Run details

application/json
get
/agent/runs/{runId}

Last updated

Was this helpful?