Piloterr
API referenceAlerts

Send a test alert

POST
/v1/alert-channels/{id}/test

Sends a run.completed alert for a project named “Test alert from Dataflow” (data.test: true) to the channel now, even while it is turned off (except the in_app channel: 409 channel_disabled, a test would still reach every member's bell), and waits for the provider's answer (in_app: a notification for every member who can view Dataflow). It does not change the channel's health, nor count against the channel's pace or the one-failure-alert-per-hour rule. An email channel's test goes to its members and confirmed addresses only, one message each. One test per channel every 60 s, and 20 an hour per workspace, every channel together (shared by every server).

Authorization

ApiKeyAuth
headerX-Api-Key<token>

Path Parameters

id*string

The alert channel's id

Length1 <= length

Response Body

Sent

application/json
  1. response
ok*true
Value intrue
Example Request
curl -X POST 'https://dataflow.piloterr.com/v1/alert-channels/string/test'
Example Response
{
  "ok": true
}