Ping slug
ping_slugCreate a monitor on its first check-in. The same slug uses the same monitor. Service and billing limits apply. A rejected creation writes no monitor or event. The slug becomes the monitor name and its identity: the same slug always means the same monitor, so a retry never creates a second one. Normalised to lowercase, [a-z0-9-], 40 chars. Creation happens only inside the free tier (or the trial); past it the ping is a 402 with accepts[] and nothing is written — not even the event. Works by GET or POST. Returns: { ok, endpoint_id, created }
Example: curl -fsS "$ORIGIN/in/$INGEST_KEY/nightly-backup?cron=0%203%20*%20*%20*&tz=UTC&grace_sec=900"
Errors: 400: slug_invalido — nothing usable left after normalising. With cron: cron_invalido, tz_invalida, grace_invalido or cron_sem_ocorrencia.; 402: The free tier is full: pay and repeat, or delete a monitor.; 404: Unknown or rotated ingest key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Name of the job; it becomes the monitor name. | |
| ingestKey | Yes | Ingest key, from `GET /api/ingest-key`. |