Piloterr
Référence de l'APIRuns

List a project's runs

GET
/v1/projects/{id}/runs

Its runs, newest first, retries included (trigger: retry), a page at a time: pass the answer's next to get the following page; next is null on the last one. Runs whose results expired stay listed, with results_expired_at.

Authentification

ApiKeyAuth
headerX-Api-Key<token>

Paramètres de chemin

id*string

The project's id

Length1 <= length

Paramètres de requête

limit?integer

Runs per page

Range1 <= value <= 100
Default20
next?string

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

Length1 <= length

Corps de la réponse

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/projects/string/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
}