Piloterr
API referenceDeliveries

Add a delivery

POST
/v1/projects/{id}/deliveries

An email (type: email) at the end of each run, completed or failed, or as a daily or weekly summary, or an upload of every completed run's exports, one file per output format of the project, to a cloud connection (type: cloud). Addresses outside the workspace get a confirmation email and receive nothing until they confirm: at most 50 such emails a day per workspace, and 100 addresses waiting for their confirmation (429 confirmation_quota, the delivery is not created). Up to 10 deliveries per project.

Authorization

ApiKeyAuth
headerX-Api-Key<token>

Path Parameters

id*string

The project's id

Length1 <= length

Request Body

application/json
  1. body
type*"email"

email: the results of the project's runs, to recipients; cloud: their files, uploaded to a cloud connection

Value in"email"
frequency?string

run: at the end of each run; daily and weekly: a summary at 07:00 UTC (weekly on Mondays); never: paused

Default"run"
Value in"run""daily""weekly""never"
recipients*array<>

Members of the workspace receive at once; other addresses get a confirmation email first

Items1 <= items <= 20
direct_link?boolean

Add a signed download link (7 days) to the email. Off by default: the link opens the run in the dashboard, behind sign-in

Defaultfalse
enabled?boolean

Whether it delivers; false keeps its settings and sends nothing

Defaulttrue

Response Body

Created

application/json
  1. response
id*string
type*string
Value in"email""cloud"
enabled*boolean
email*|null
cloud*|null
last_sent_at*|

The last digest sent

last_error*string|null
last_error_at*string|null
failure_count*integer
created_at*string
updated_at*string
curl -X POST 'https://dataflow.piloterr.com/v1/projects/string/deliveries' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "email",
  "frequency": "run",
  "recipients": [
    "finance@example.com"
  ],
  "direct_link": false,
  "enabled": true
}'
Example Response
{
  "id": "cm4lc8h2j000fl208n6wq1tzs",
  "type": "email",
  "enabled": true,
  "email": {
    "frequency": "run",
    "direct_link": false,
    "recipients": [
      {
        "email": "finance@example.com",
        "status": "verified"
      }
    ]
  },
  "cloud": null,
  "last_sent_at": "2026-11-10T07:00:12.000Z",
  "last_error": null,
  "last_error_at": null,
  "failure_count": 0,
  "created_at": "2026-11-09T08:00:00.000Z",
  "updated_at": "2026-11-09T08:00:00.000Z"
}