Duplicate a project
A new project with the same endpoint, input (the same input_id, URL or search), mapping, settings (rate_percent, max_cost_per_run, output_formats, export_link_ttl_hours, tracked_fields) and api_key_id. Not copied: the schedule (the copy only runs when asked), deliveries, alert subscriptions and runs. The input is not read again. An archived or disabled project can be duplicated; the copy is neither. Counts against the workspace's projects like a creation.
ApiKeyAuthX-Api-Key<token>id*stringThe project's id
1 <= lengthIdempotency-Key?stringAny unique string of yours (a UUID), so that sending the request again does not create it twice: for 24 hours, the same request with the same key answers the first answer again, with the header Idempotent-Replayed: true. The key is the workspace's, per route and path; sent with another body or query, it is refused (422 idempotency_key_reused); while the first request still runs, 409 idempotency_key_in_progress. Answers 5xx, 409 and 429 are not kept: the same key can be sent again.
^[\x20-\x7e]{1,255}$application/json- body
name?stringThe copy's name; left out: the project's name followed by " (copy)", the name cut so that both fit in 120 characters
1 <= length <= 120Created
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 POST 'https://dataflow.piloterr.com/v1/projects/string/duplicate' \
-H 'Content-Type: application/json' \
-d '{
"name": "Amazon price tracking (FR)"
}'{
"id": "cm4kqb61p000dl208s5t2hn7a",
"name": "Amazon price tracking (FR)",
"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": 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-09T08:00:00.000Z"
}