Skip to main content
POST

Authorizations

X-Lightsage-Api-Key
string
header
required

Body

application/json
prompt_ids
string[] | null

Prompt IDs from GET /v2/prompts. Omit this field to run all active prompts.

Required array length: 1 - 100 elements
agent
string[] | null

Runnable agents from GET /v2/agents, each a coding-agent harness and model such as claude-code:claude-opus-5-5. Every selected prompt runs once on each agent, so you can compare how several coding tools and models answer the same question. When set, this run uses only these agents instead of the organization's configured targets, including answer engines, and saves nothing. Omit it to use the configured targets; change those with PUT /v2/prompts/targets. CLI clients expose repeatable --agent.

Required array length: 1 - 10 elements
force
boolean
default:false

Run even when a prompt already ran today on the same platform and model.

Response

Successful Response

id
string
required

Run ID to poll with GET /v2/prompts/runs/{run_id}/status.

job_id
string
required

Parent job ID. It currently matches id.

type
string
required
Allowed value: "prompts"
source_type
string
required
Allowed value: "prompts"
status
required

Terminal values: completed, failed, and cancelled. Recoverable interruptions are reported as running with stage retrying.

Available options:
pending,
running,
summarizing,
completed,
failed,
cancelled,
interrupted
stage
string | null

Current lifecycle stage, including retrying while interrupted child jobs wait to be reclaimed.

dispatch_id
string | null
progress
PublicEvalRunProgress · object
estimated_cost
number | null

Estimated credits for the run, worked out when it was queued. Credits actually used can differ by agent and model. Null when no estimate is available.

eval_count
integer | null
model_count
integer | null
error
string | null
created_at
string | null
started_at
string | null
completed_at
string | null

Can be set while status is still summarizing; use status to detect completion.