Piloterr
API-ReferenzRuns

List the workspace's runs

GET
/v1/runs

Every project's runs together, newest first, retries included, a page at a time: pass the answer's next to get the following page; next is null on the last one. The filters add up; keep the same filters from one page to the next. Runs of archived projects stay listed.

Autorisierung

ApiKeyAuth
headerX-Api-Key<token>

Abfrageparameter

limit?integer

Runs per page

Range1 <= value <= 100
Default20
next?string

The next of the previous page; left out: the newest runs

Length1 <= length
status?string

Only runs in one of these statuses, comma separated (queued, started, paused, finalizing, completed, failed, cancelling, cancelled); queued,started,paused,finalizing,cancelling: the runs under way

Match^(queued|started|paused|finalizing|completed|failed|cancelling|cancelled)(,(queued|started|paused|finalizing|completed|failed|cancelling|cancelled))*$
project_id?string

Only this project's runs

Length1 <= length
trigger?string

Only runs started this way, comma separated: api, schedule, retry (api also stands for the dashboard's Run now)

Match^(api|schedule|retry)(,(api|schedule|retry))*$
since?string

Only runs created at or after this date (ISO 8601)

Formatdate-time

Antworttext

Runs, newest first

application/json
  1. response
items*array<>
next*|

Pass it as next for the following page; null on the last page

Example Request
curl -X GET 'https://dataflow.piloterr.com/v1/runs'
Example Response
{
  "items": [
    {
      "id": "cm4j1m8ws0009l208b6yk3pne",
      "project_id": "cm4hz9r2k0003l208f1qd7vtx",
      "status": "completed",
      "reason": null,
      "trigger": "schedule",
      "parent_run_id": null,
      "total": 3,
      "done": 3,
      "ok": 2,
      "ko": 1,
      "credits": 2,
      "search_credits": 0,
      "created_at": "2026-11-10T07:00:00.000Z",
      "started_at": "2026-11-10T07:00:02.000Z",
      "paused_at": null,
      "finished_at": "2026-11-10T07:00:09.000Z",
      "duration_ms": 7000,
      "results_expired_at": null,
      "eta_seconds": null
    },
    {
      "id": "cm4i0a7qd0005l208r2wn8sgd",
      "project_id": "cm4hz9r2k0003l208f1qd7vtx",
      "status": "completed",
      "reason": null,
      "trigger": "schedule",
      "parent_run_id": null,
      "total": 3,
      "done": 3,
      "ok": 2,
      "ko": 1,
      "credits": 2,
      "search_credits": 0,
      "created_at": "2026-11-09T08:00:00.000Z",
      "started_at": "2026-11-09T08:00:02.000Z",
      "paused_at": null,
      "finished_at": "2026-11-09T08:00:10.000Z",
      "duration_ms": 8000,
      "results_expired_at": null,
      "eta_seconds": null
    }
  ],
  "next": null
}