List project runs. Requires project.runs.read.
Arguments
commandRunsListProjectRunsCommand!requiredcommand.projectReferenceString!requiredcommand.taskIdIDDiscover agent runs with this persisted task identity across conversations. Matches canonical task metadata or the first enqueue request; results are not task authorization evidence.
command.limitFloatMaximum number of records in a page, from 1 to 100. Defaults to 20.
command.cursorStringOpaque cursor returned by the previous page. Reuse with unchanged filters and ordering.
command.sortByStringField used to order runs: created_at, status or duration. Defaults to created_at.
command.sortOrderStringSort direction: asc or desc. Defaults to desc.
command.status[String!]Run statuses to include. Values within this filter use OR; different filters use AND.
command.targetType[String!]Execution definition types to include: agent, task, workflow or legacy eval.
command.triggerType[String!]Trigger types to include: user, api_key, service_account, system, schedule, webhook, agent, task or workflow.
command.rootOnlyBooleantrue lists only top-level runs (parent_run_id null). Defaults to false.
command.parentRunIdIDcommand.targetId[ID!]command.triggerIdID
Responses
query ListProjectRuns($command: RunsListProjectRunsCommand!) { listProjectRuns(command: $command) { data { id runId status projectId input output title labels parentRunId rootRunId createdAt updatedAt startedAt finishedAt config taskId conversationId inputMessageId outputMessageId batchId metadata } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "listProjectRuns": { "data": [ { "id": "string", "runId": "string", "status": "string", "projectId": "string", "input": {}, "output": {}, "title": "string", "labels": {}, "parentRunId": "string", "rootRunId": "string", "createdAt": "string", "updatedAt": "string", "startedAt": "string", "finishedAt": "string", "config": {}, "taskId": "string", "conversationId": "string", "inputMessageId": "string", "outputMessageId": "string", "batchId": "string", "metadata": {} } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The RunsRunConnection! in data.listProjectRuns.