Change, list and duplicate projects
Change a project's settings, list your projects with their last run, and copy a project.
Change a project
PATCH /v1/projects/{id} changes only the fields you send. The endpoint cannot change (endpoint_id is ignored): create another project instead. A new input, mapping or api_key_id is checked again, as on creation. Changes apply from the next run; runs already started keep the rows they froze, and their pace and cap until they resume. An archived project cannot change (409 project_archived) until you unarchive it with {"archived": false}: see Archive a project.
curl -X PATCH https://dataflow.piloterr.com/v1/projects/PROJECT_ID \
-H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
-d '{"rate_percent": 80, "max_cost_per_run": 5000}'List projects
GET /v1/projects lists your projects, newest first, each with its last run (last_run, with its credits). It is not paged: it gives every project that matches, with how many your workspace has and may have.
curl "https://dataflow.piloterr.com/v1/projects?status=active&scheduled=true" -H "x-api-key: YOUR_API_KEY"{
"items": [
{
"id": "PROJECT_ID",
"name": "Enrich companies",
"endpoint_id": "ENDPOINT_ID",
"…": "…",
"last_run": {
"id": "RUN_ID",
"status": "completed",
"reason": null,
"credits": 1958,
"created_at": "2026-12-01T08:00:01.120Z",
"finished_at": "2026-12-01T08:42:10.401Z"
}
}
],
"project_count": 12,
"max_projects": 500
}| Query | Keeps |
|---|---|
status | active (neither archived nor disabled), disabled (stopped: see disabled_reason) or archived. Without it, every project but the archived ones. |
endpoint_id | The projects on this endpoint. |
scheduled | true: the projects with a schedule turned on; false: the others. |
project_count counts your workspace's projects that are not archived, whatever the filters: archived projects do not count against the limit. max_projects is how many it may have (see Limits). GET /v1/projects/{id} reads one project. To archive or delete a project, see Retention and deletion.
Duplicate a project
POST /v1/projects/{id}/duplicate creates a new project from an existing one:
curl https://dataflow.piloterr.com/v1/projects/PROJECT_ID/duplicate \
-H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
-d '{"name": "Enrich companies (EU)"}'The answer, 201, is the new project. It has the original's endpoint, input, mapping, settings (rate_percent, max_cost_per_run, output_formats, tracked_fields) and api_key_id. It starts without a schedule, deliveries, alert subscriptions or runs: set those on the copy. name is optional; without it, the copy is named after the original. A copy counts like any project against your workspace's limit (409 projects_limit). Send an Idempotency-Key to retry it without making two copies.