Update a project
Only the fields sent change; the endpoint cannot. A new input or mapping is checked again as on creation (a URL read, a search's first page run). Runs already started keep the input they froze. Sending schedule re-arms it (failures reset, a project disabled by failures runs again); setting api_key_id (null: the managed key) re-arms a project disabled with api_key_invalid, and its schedule from its next slot. An archived project answers 409 project_archived, unless archived: false is sent to unarchive it.
ApiKeyAuthX-Api-Key<token>id*stringThe project's id
1 <= lengthapplication/json- body
name?stringShown in the dashboard, its alerts and its events; up to 120 characters
1 <= length <= 120input?||An uploaded file or list ({"type": "file"|"list", "input_id": …}, from POST /v1/inputs…), a URL read at every run (UrlInput), or a search run at every run (SearchInput)
mapping?Per endpoint parameter, the input column it takes ({"column": …}) or a fixed value ({"value": …}). Checked against the endpoint's parameters and the input's columns (mapping_invalid)
max_cost_per_run?|Credits one run may spend, counted per run: a retry counts on its own run's total, a resumed run on its run's, and a search input's searches at launch count first (search_credits). Calls stop once those under way could reach it (a run ends less than one row's cost over), and the run fails with reason max_cost when rows were left uncalled. A launch only checks the workspace can afford what the cap lets the run spend. For endpoints billed per row or per GB a row's cost is only known from its answer: the cap is then an estimate, and a run can end more over it. Null: no cap
0 < valuerate_percent?integerShare of the plan's per-second rate limit the runs use, in percent; the rest stays for the workspace's own traffic
10 <= value <= 100output_formats?array<>The run's files: cloud storage deliveries upload one per format; run.completed webhooks and emails' direct links point to the first. Any format can still be downloaded with GET /v1/runs/{id}/export
1 <= itemsexport_link_ttl_hours?integerHours its download links work (emails' direct links, run.completed webhooks, GET /v1/runs/{id}/export/link), from 1 to 168. A link given before a change keeps its own expiry
1 <= value <= 168schedule?When it runs on its own; left out: only when asked (manual)
tracked_fields?array<>Fields of the result the diff between runs compares, as in the CSV export's columns; a name covers the fields nested under it. Empty: every field but volatile ones (request ids, fetch timestamps).
items <= 50api_key_id?|The workspace API key its calls go out with, from GET /v1/api-keys: they count on that key, its limits and its logs. Null or left out: the managed Dataflow key (sending the managed key's own id is the same: it is stored as null). A project whose key is later deactivated, expired or deleted is disabled (api_key_invalid) until another key is set: it never falls back to the managed key.
1 <= lengtharchived?falsefalse unarchives an archived project (until it is deleted, 30 days after archiving): it can run again, its schedule stays manual until one is sent. An archived project refuses every other change (409 project_archived) unless this is sent too.
falseUpdated
application/json- response
id*stringname*stringendpoint_id*stringinput*||mapping*Per endpoint parameter, the input column it takes ({"column": …}) or a fixed value ({"value": …})
max_cost_per_run*integer|nullrate_percent*integeroutput_formats*array<>export_link_ttl_hours*integerHours its download links work (24 by default)
archived_at*string|nulldisabled_at*|Set while the project cannot run (POST /v1/projects/{id}/runs answers 409)
disabled_reason*|auto_failures: 5 scheduled runs failed in a row (sending a schedule re-arms it); api_key_invalid: its api_key_id was deactivated, expired or deleted (setting another key re-arms it); admin: switched off by Piloterr
"auto_failures""api_key_invalid""admin"nullschedule*|nulltracked_fields*array<string>template_id*|The template it was created from
api_key_id*|The workspace API key it runs with; null: the managed Dataflow key (also when the managed key's own id was sent)
created_at*stringupdated_at*stringcurl -X PATCH 'https://dataflow.piloterr.com/v1/projects/string' \
-H 'Content-Type: application/json' \
-d '{
"rate_percent": 50,
"schedule": {
"interval": "weekly",
"timezone": "Europe/Paris"
}
}'{
"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": 50,
"output_formats": [
"csv",
"json"
],
"export_link_ttl_hours": 24,
"archived_at": null,
"disabled_at": null,
"disabled_reason": null,
"schedule": {
"interval": "weekly",
"cron": null,
"timezone": "Europe/Paris",
"enabled": true,
"next_run_at": "2026-11-17T07:00:00.000Z",
"consecutive_failures": 0,
"upcoming": [
"2026-11-17T07:00:00.000Z",
"2026-11-24T07:00:00.000Z",
"2026-12-01T07:00:00.000Z",
"2026-12-08T07:00:00.000Z",
"2026-12-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-10T10:00:00.000Z"
}