Versioned API
All public client-facing HTTP routes live under /api/v1. Point CINDER_URL at the Cinder host without an /api suffix — cinderwatch/cinder-laravel appends /api/v1 automatically.
/api/v1 follows Cinder's own wire format and requires cinderwatch/cinder-laravel ^0.2. The earlier pre-release endpoints (/api/v1/ping/{uuid}, /api/v1/monitor, /api/v1/cron-checks and the x-api-token header) have been removed, so clients on older versions must upgrade. Future breaking changes will ship under /api/v2, leaving /api/v1 stable.
Ingress
Authenticated with Authorization: Bearer {CINDER_KEY} (the project API token). A missing or invalid token returns 401 {"message": "Unauthenticated."}.
| Method | Path | Purpose |
|---|---|---|
POST |
/api/v1/errors |
Exception reports (202; 422 without exception.type / exception.message) |
POST |
/api/v1/logs |
OpenTelemetry resource logs |
POST |
/api/v1/traces |
OpenTelemetry resource spans |
Feedback widget
Public endpoints used by the feedback widget. They take no API token: the widget is identified by its public id, and the request's Origin and page_url must be on the widget's allowed domains.
| Method | Path | Purpose |
|---|---|---|
GET |
/api/v1/feedback/widgets/{publicId} |
The widget's public settings (200; 404 unknown or turned off; 403 domain not allowed) |
POST |
/api/v1/feedback |
A submission as multipart/form-data (201 {"id": "…"}; 422 validation errors; 429 rate limited) |
Submission fields: widget, category, message (up to 5,000 characters), email, name, page_url, page_title, screenshot (PNG, JPEG or WebP, up to 8 MB), recording (WebM or MP4, up to 50 MB), recording_duration_ms, and JSON strings for context, console and network (up to 100 entries each). Each visitor can send 10 submissions per 10 minutes per widget.
Schedule monitor
Authenticated with Authorization: Bearer {CINDER_KEY} (same project API token). The monitor is resolved from the token — clients do not need a monitor UUID.
| Method | Path | Purpose |
|---|---|---|
PUT |
/api/v1/schedule |
Replace the task list ({"tasks": [...]}); tasks not listed are removed |
POST |
/api/v1/schedule/tasks |
Register or update one task |
GET |
/api/v1/schedule |
Current tasks with their last heartbeat |
GET/POST |
/api/v1/heartbeats/{id} |
Record a task run (no API token) |
A task is {"key", "summary", "cron", "interval_minutes", "timezone", "grace_minutes"} with exactly one of cron / interval_minutes set. Responses return each task's key, id and heartbeat_url. A heartbeat body (or query string) may include event (started, succeeded — the default — failed or skipped), duration_ms, memory_bytes, exit_code and error; Cinder answers 202 {"ok": true}.
Application health (client app)
Exposed by the Laravel package on the monitored application, not on the Cinder host:
| Method | Path | Auth |
|---|---|---|
GET |
/cinder/v1/health |
Authorization: Bearer {health secret} (wrong or missing → 404) |
Cinder's Application Health check appends that path to the monitor URL.
Compatibility notes
- Custom Cinder attribute keys in OpenTelemetry payloads use the
cinder.*namespace (for examplecinder.span.kindandcinder.entry.kind). Everything else uses OpenTelemetry semantic-convention keys (service.name,deployment.environment.name,vcs.ref.head.revision,db.query.text, …). - Span kinds (
cinder.span.kind):route,command,job,query,http_client,view,livewire,custom. - Structured log context is sent in the
cinder.log.contextattribute as akvlistValue. - Do not configure clients against unversioned paths such as
/v1/errorsor/api/monitors/....