Base URL : https://cronbeacon.com/api/v1
Authentication : Authorization: Bearer cb_your_token
/api/v1/ingest/eventsSend a monitoring event (start, success, failure).
| Field | Type | Required | Description |
|---|---|---|---|
job_key | string | ✅ | Unique job identifier (slug). Automatically created if it doesn't exist. |
event | string | ✅ | Event type: started, succeeded, failed, completed |
environment | string | Environment (prod, staging, dev). Default: prod | |
duration_ms | integer | Execution duration in milliseconds | |
processed_count | integer | Number of items processed | |
error_count | integer | Number of errors encountered | |
message | string | Free text message (error detail, summary...) | |
event_id | string | Unique ID for event deduplication (idempotency) |
started — Job has startedsucceeded — Job succeededfailed — Job failedcompleted — Job completed (without success/failure indication){
"status": "ok",
"run_id": "01924f8a-...",
"job_id": "01924f8a-...",
"event": "succeeded",
"created": true
}
/api/v1/jobsList all jobs in the tenant.
/api/v1/jobsCreate a new job.
| Field | Type | Description |
|---|---|---|
name | string | Job name (slug is generated automatically) |
type | string | cron, batch, worker |
environment | string | prod, staging, dev |
cron_expression | string | Standard cron expression (5 fields) |
expected_cadence_minutes | integer | Alternative to cron: interval in minutes |
grace_period_seconds | integer | Grace period in seconds before declaring missed (default: 300) |
severity | string | low, medium, high, critical |
/api/healthCheck that the service is operational. No authentication required.
/api/v1/alerts/{id}/ackAcknowledge an alert (sets status to 'acked').
/api/v1/alerts/{id}/muteMute an alert. Parameter: minutes (mute duration).
Requests are limited by plan: Free 30/min, Pro 120/min, Business 300/min. When exceeded, the API returns a 429 status code.