List pipeline runs
list_pipeline_runsThe project's pipeline runs (jobs), PAGED, newest first: status, pipeline, number, branch/commit, who started it and how. Response: items and totalCount. Without page/size only the FIRST 25 come; that is not all runs: the next page is the same call with page+1 while (page+1)*size < totalCount. size at most 100. Steps and logs of one run: get_pipeline_run; which pipelines are declared at all: list_pipelines
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectKey": "<projectKey>"
},
"name": "list_pipeline_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Only runs of this branch or commit | |
| page | No | Page number, ZERO-based (default 0) | |
| size | No | Runs per page, from 1 to 100 (default 25) | |
| trigger | No | What started the run, ANY of the listed: PUSH by a push; MANUAL by hand (including run_pipeline); CODE_REVIEW_OPENED / CODE_REVIEW_CLOSED by opening and closing a merge request | |
| initiator | No | UUIDs of who started them, ANY of the listed. Your id: whoami | |
| projectKey | Yes | Project key, e.g. C4SPACE. Also accepts org/KEY (e.g. code4space/C4SPACE), as in a new-form web address; org (case-insensitive) must be your organization's slug or a former slug of it, otherwise the call is refused | |
| pipelineName | No | Only runs of the pipeline with this name (names: list_pipelines) | |
| repositoryName | No | Only runs of this repository |