Test, delivery log and resend
Send a test event to a destination, follow every delivery attempt, resend an event, and see what went wrong.
These work the same for every destination type. In the dashboard, they are on Dataflow → Settings → Destinations: Send a test event on each destination, and the delivery history below the list.
Send a test event
curl -X POST https://dataflow.piloterr.com/v1/destinations/DESTINATION_ID/test \
-H "x-api-key: YOUR_API_KEY"{ "event_id": "test_8f0c2a4e-…" }- It sends one event of the destination's first topic (
run.completedfor["*"]), to this destination only, for a project namedTest from Dataflow, withrun: nullandurl: null. - Its
datafollows the topic's schema with example figures, plus"test": true: your code can parse it like a real event and skip it. - The answer is
202with the event id, also the payload'sid. The attempt shows in the delivery log within seconds:GET /v1/destinations/attempts?event_id=…. - A destination takes one test a minute, and a workspace 20 tests an hour; past that,
429 rate_limitedwithRetry-After.
Retries
A delivery that fails is tried again later, with growing delays: 30 seconds, then 1, 5 and 15 minutes, then 1 hour. After those 5 retries, the event is reported (below) and you can resend it.
What counts as a failure depends on the type: for a webhook, anything but a 2xx within 10 seconds; for a queue, topic or bus, a connection, sign-in or permission error, or a refusal by the service.
A destination that keeps failing, 20 failed deliveries in a row, is turned off: disabled_at is set and you are told (below). Events sent while it is off are not delivered to it. Fix the cause, then turn it back on with PATCH /v1/destinations/{id} and {"enabled": true}, or the switch on the destination in the dashboard.
Delivery log
GET /v1/destinations/attempts lists every delivery attempt, newest first:
{
"items": [
{
"id": "ATTEMPT_ID",
"event_id": "RUN_ID",
"destination_id": "DESTINATION_ID",
"topic": "run.completed",
"status": "failed",
"code": "503",
"attempt_number": 2,
"manual": false,
"latency_ms": 10004,
"time": "2026-12-01T08:43:12.000Z"
}
],
"next": "CURSOR"
}- Filter with
destination_id,event_idandstatus(successorfailed), setlimit(1 to 100, default 50), and passnextto read the next page. Onlynext: nullends the log: a page may hold fewer thanlimitattempts, even none, while more follow. manualistruefor a resend. Dates are ISO 8601 in UTC. The log keeps 30 days. A workspace that never had a destination has an empty log.codesays what happened. It depends on the type:
| Type | code |
|---|---|
| Webhook | The HTTP status your endpoint answered (200, 503…), or a network error such as connection_refused or timeout. |
| Amazon SQS, Amazon EventBridge, Google Cloud Pub/Sub, Azure Service Bus | OK, or ERR for any failure. The cause is in your cloud's logs, or found by checking the guide's permissions and network steps. |
| RabbitMQ | OK, or dns_error, connection_refused, connection_reset, timeout, tls_error, auth_failed, access_denied, exchange_not_found, channel_error, connection_forced, rabbitmq_error. |
| Kafka | OK, or dns_error, connection_refused, timeout, tls_error, auth_failed, topic_not_found, message_too_large, kafka_error. |
Resend an event
curl https://dataflow.piloterr.com/v1/destinations/events/EVENT_ID/retry \
-H "x-api-key: YOUR_API_KEY" -H "content-type: application/json" \
-d '{"destination_id": "DESTINATION_ID"}'It answers 202 with {"ok": true}: the event goes to that destination again, as a manual attempt with the same event id. The destination must be on (409 destination_disabled otherwise) and must have received the event before. EVENT_ID is the event_id of the delivery log. In the dashboard, open a delivery and select Resend.
Problems
When a destination is turned off, or an event runs out of retries, Dataflow tells you:
GET /v1/destinations/noticeslists the 20 latest problems of the last 30 days.kindisdestination_disabled,retries_exhaustedorconsecutive_failure(a warning before the destination is turned off),messagesays what to do, andcountis how many times it happened: a repeat within a day of the last one only adds to the count.- Your alert channels that are on get a message the first time, not for those repeats. Without an email channel, the workspace's owners and admins get an email.
{
"items": [
{
"id": "NOTICE_ID",
"destination_id": "DESTINATION_ID",
"kind": "retries_exhausted",
"topic": "run.completed",
"message": "A run.completed event could not be delivered to https://example.com/webhooks/piloterr, even after every retry. Resend it from the delivery log once the endpoint works.",
"count": 3,
"created_at": "2026-12-01T09:45:00.000Z",
"last_at": "2026-12-01T14:02:00.000Z"
}
]
}For the API's own errors (validation_failed, destinations_limit…), see Errors.