Base URL
- Griffin Cloud:
https://api.griffin.dev - Self-hosted: Your hub’s URL (e.g.,
http://localhost:3000)
Authentication
All API requests (except the health check) require authentication. See Authentication for details.Response format
All responses are JSON. Successful responses return the resource directly:Endpoints
Monitors
| Method | Path | Description |
|---|---|---|
POST | /monitor | Create a monitor |
GET | /monitor | List monitors |
GET | /monitor/by-name | Get monitor by name |
PUT | /monitor/:id | Update a monitor |
DELETE | /monitor/:id | Delete a monitor |
Runs
| Method | Path | Description |
|---|---|---|
GET | /runs | List runs |
GET | /runs/:id | Get a specific run |
POST | /runs/trigger/:monitorId | Trigger a manual run |
Metrics
| Method | Path | Description |
|---|---|---|
GET | /metrics/summary | Get metrics summary |
GET | /metrics/monitors | List monitors with metrics |
GET | /metrics/monitors/:monitorId | Get detailed monitor metrics |
Secrets
| Method | Path | Description |
|---|---|---|
GET | /secrets | List secrets |
GET | /secrets/:name | Get secret metadata |
PUT | /secrets/:name | Create or update a secret |
DELETE | /secrets/:name | Delete a secret |
Integrations
| Method | Path | Description |
|---|---|---|
GET | /integrations | List integrations |
POST | /integrations | Create an integration |
GET | /integrations/:id | Get an integration |
PATCH | /integrations/:id | Update an integration |
DELETE | /integrations/:id | Delete an integration |
Notifications
| Method | Path | Description |
|---|---|---|
GET | /notifications/rules | List notification rules |
GET | /notifications/events | List notification events |
Locations
| Method | Path | Description |
|---|---|---|
GET | /locations | Get available executor locations |
Health
| Method | Path | Description |
|---|---|---|
GET | / | Health check (no auth required) |