Archive or delete a project
Archiving stops the schedule; past runs stay readable until they expire, and the project itself is deleted 30 days later. purge=true deletes it now with every run, result and file (an input no other project uses goes too), and logs it: cancel a run in progress first.
ApiKeyAuthX-Api-Key<token>id*stringThe project's id
1 <= lengthpurge?stringDelete the project and all its data now, for good
"true""false"Archived (again: already archived projects are returned as they are)
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 DELETE 'https://dataflow.piloterr.com/v1/projects/string'{
"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": "2026-11-12T10:00:00.000Z",
"disabled_at": null,
"disabled_reason": null,
"schedule": null,
"tracked_fields": [
"price",
"stock",
"coupon"
],
"template_id": null,
"api_key_id": null,
"created_at": "2026-11-09T08:00:00.000Z",
"updated_at": "2026-11-12T10:00:00.000Z"
}