Piloterr
Referencia de la APIProjects

List projects

GET
/v1/projects

The workspace's projects, newest first, each with its last run (last_run, with the credits it used), filtered by status, endpoint_id and scheduled. Archived projects are left out unless archived=true or status=archived. Not paged. project_count counts the workspace's projects that are not archived, whatever the filters: what max_projects limits.

Autorización

ApiKeyAuth
headerX-Api-Key<token>

Parámetros de consulta

archived?string

true: archived projects too, alongside the others (without status)

Value in"true""false"
status?string

Only the projects in this state: active (can run: neither archived nor disabled), disabled (see disabled_reason), archived. Wins over archived

Value in"active""disabled""archived"
endpoint_id?string

Only the projects running this endpoint

Length1 <= length
scheduled?string

true: only the projects whose schedule runs (schedule.enabled); false: only those without one, or whose schedule stopped

Value in"true""false"

Cuerpo de la respuesta

Projects, newest first, each with its last run

application/json
  1. response
items*array<>
project_count*integer

The workspace's projects that are not archived, whatever the filters: what max_projects limits

max_projects*integer

The most projects the workspace may have, archived ones aside; creating, duplicating or unarchiving one past it answers 409 projects_limit

Example Request
curl -X GET 'https://dataflow.piloterr.com/v1/projects'
Example Response
{
  "items": [
    {
      "id": "cm4hz9r2k0003l208f1qd7vtx",
      "name": "Amazon price tracking",
      "endpoint_id": "cm0p7x3da000a08l4gs5e2n1c",
      "input": {
        "type": "file",
        "input_id": "3f6b1c9e-5d0a-4c7e-9a51-2b8e0f4d7a13"
      },
      "mapping": {
        "query": {
          "column": "asin"
        },
        "domain": {
          "column": "marketplace"
        }
      },
      "max_cost_per_run": 500,
      "rate_percent": 30,
      "output_formats": [
        "csv",
        "json"
      ],
      "export_link_ttl_hours": 24,
      "archived_at": null,
      "disabled_at": null,
      "disabled_reason": null,
      "schedule": {
        "interval": "daily",
        "cron": null,
        "timezone": "UTC",
        "enabled": true,
        "next_run_at": "2026-11-11T07:00:00.000Z",
        "consecutive_failures": 0,
        "upcoming": [
          "2026-11-11T07:00:00.000Z",
          "2026-11-12T07:00:00.000Z",
          "2026-11-13T07:00:00.000Z",
          "2026-11-14T07:00:00.000Z",
          "2026-11-15T07:00:00.000Z"
        ]
      },
      "tracked_fields": [
        "price",
        "stock",
        "coupon"
      ],
      "template_id": null,
      "api_key_id": null,
      "created_at": "2026-11-09T08:00:00.000Z",
      "updated_at": "2026-11-09T08:00:00.000Z",
      "last_run": {
        "id": "cm4j1m8ws0009l208b6yk3pne",
        "status": "completed",
        "reason": null,
        "credits": 2,
        "created_at": "2026-11-10T07:00:00.000Z",
        "finished_at": "2026-11-10T07:00:09.000Z"
      }
    }
  ],
  "project_count": 1,
  "max_projects": 500
}