Piloterr
API-ReferenzDeliveries

Deliver a run again

POST
/v1/projects/{id}/deliveries/{delivery_id}/send

Queues the delivery of a completed or failed run (by default the latest to finish): to retry after a failure, or to check the delivery. An email delivery of any frequency sends that run's email at once. It is skipped, without an error, when the delivery is turned off, the run's results expired, or a cloud delivery is given a failed run.

Autorisierung

ApiKeyAuth
headerX-Api-Key<token>

Pfadparameter

id*string

The project's id

Length1 <= length
delivery_id*string

The delivery's id

Length1 <= length

Anfragetext

application/json
  1. body
run_id?string

A run of the project; default: the latest finished one

Length1 <= length

Antworttext

Queued

application/json
  1. response
run_id*string
Example Request
curl -X POST 'https://dataflow.piloterr.com/v1/projects/string/deliveries/string/send' \
  -H 'Content-Type: application/json' \
  -d '{
  "run_id": "cm4j1m8ws0009l208b6yk3pne"
}'
Example Response
{
  "run_id": "cm4j1m8ws0009l208b6yk3pne"
}