Get a swarm run
One swarm run: the goal runs launched together, with its state, session and grading counts for each goal run and in total, and the launch that started it.
Grading continues after the sessions end, so state can be final while counts still change. Read settled: it is true only once the launch has finished and no goal run is waiting for grading.
sessions.errored counts sessions whose execution broke. Sessions graded as failing are grading.failedTrials, a separate number.
include=launchFailures adds launchFailures: why sessions never ran. It reads every attempt of every goal run, so leave it off when polling.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
Query Parameters
Response
The swarm run.
One swarm run: the goal runs launched together under one swarmRunId. Read settled before treating any count as final.

