List runs

SDK platic.agents.evals.runs.list()

Find an agent’s runs to review their results. Use launchId to open a run’s trials. The list shows one entry per evaluated version, newest first, including tests started automatically on publish (trigger: "on_publish").

Example

await platic.agents.evals.runs.list("agent_123");

Path parameters

ParameterTypeDescriptionRequired
agentIdstringAgent ID✓

Query parameters

ParameterTypeDescriptionRequired
versionIdstringOnly the runs of that version: draft, published or vN. draft and published resolve to the version they are now.—
suiteIdstringOnly the runs of that suite.—
limitnumberFrom 1 to 100. Default: 20.—
pageTokenstringThe previous page's nextPageToken.—

Response

{
  "status": "success",
  "data": [
    {
      "runId": "run_a1f3",
      "launchId": "lch_2c9f41",
      "suiteId": "s8Kd2LmQ",
      "versionId": "v7",
      "number": 7,
      "requested": ["draft"],
      "trigger": "manual",
      "status": "completed",
      "outcome": "passed",
      "passed": true,
      "pass1": 1,
      "erroredTrials": 0,
      "progress": { "totalTrials": 6, "finishedTrials": 6 },
      "createdAt": "2026-11-01T15:20:04.000Z"
    }
  ],
  "nextPageToken": null
}

Response fields

FieldDescription
runIdThe run.
launchIdThe launch it belongs to. Use it to open its trials in Get a launch. It can be null.
suiteIdThe suite that ran. It can be null.
versionId, numberThe exact version it evaluated. number can be null.
requestedWhat was requested (draft, published or vN). If two values were the same version, it has both.
triggermanual, or on_publish if it ran on its own on publish.
statusqueued, running, completed or cancelled.
outcomepassed, failed or inconclusive; null until it finishes. See Results.
passedThe same as a boolean: true if outcome is passed, false if it is failed, null otherwise.
pass1Fraction of valid trials that passed (not counting those with error or cancelled). null until there is a result.
erroredTrialsTrials that ended in a technical error. They do not count as failures.
progresstotalTrials and finishedTrials of this run.
createdAtCreation date, ISO 8601.
nextPageTokenSend it as pageToken to get the next page; null when there are no more results.

Errors

Statusdetails.codeWhen
400INVALID_REQUESTA parameter is not valid; for example, a versionId that is not draft, published or vN.
404AGENT_NOT_FOUNDThe agent does not exist or belongs to another workspace.

Notes

  • It is the only evals list that paginates: profiles, scenarios and suites come complete.
  • Read access to the agent is enough.