Piloterr
Référence de l'APIProjects

Archive or delete a project

DELETE
/v1/projects/{id}

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.

Authentification

ApiKeyAuth
headerX-Api-Key<token>

Paramètres de chemin

id*string

The project's id

Length1 <= length

Paramètres de requête

purge?string

Delete the project and all its data now, for good

Value in"true""false"

Corps de la réponse

Archived (again: already archived projects are returned as they are)

application/json
  1. response
id*string
name*string
endpoint_id*string
input*||
mapping*

Per endpoint parameter, the input column it takes ({"column": …}) or a fixed value ({"value": …})

max_cost_per_run*integer|null
rate_percent*integer
output_formats*array<>
export_link_ttl_hours*integer

Hours its download links work (24 by default)

archived_at*string|null
disabled_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

Value in"auto_failures""api_key_invalid""admin"null
schedule*|null
tracked_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*string
updated_at*string
Example Request
curl -X DELETE 'https://dataflow.piloterr.com/v1/projects/string'
Example Response
{
  "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"
}