API Reference
The exit1.dev API provides programmatic access to your monitoring checks, history, and statistics.
Note: API access is available on all plans.
Base URL
All API requests are made to:
https://us-central1-exit1-dev.cloudfunctions.net/publicApiConventions
- REST architecture - Resources are accessed via standard HTTP methods
- JSON responses - All responses are returned in JSON format
- API versioning - All endpoints are prefixed with
/v1/ - Scoped access - Write and delete operations require API key scopes
Available Endpoints
Read Endpoints
| Endpoint | Description |
|---|---|
GET /v1/public/checks | List all checks |
GET /v1/public/checks/{id} | Get a single check |
GET /v1/public/checks/{id}/history | Get check history |
GET /v1/public/checks/{id}/stats | Get uptime statistics |
Write Endpoints
| Endpoint | Scope Required | Description |
|---|---|---|
POST /v1/public/checks | checks:write | Create a new check |
PATCH /v1/public/checks/{id} | checks:write | Update an existing check |
DELETE /v1/public/checks/{id} | checks:delete | Delete a check |
POST /v1/public/checks/{id}/toggle | checks:write | Enable or disable a check |
Quick Start
- Create an API key with the appropriate scopes
- Include the key in the
X-Api-Keyheader - Make your first request:
curl -H "X-Api-Key: ek_live_your_api_key_here" \
https://us-central1-exit1-dev.cloudfunctions.net/publicApi/v1/public/checksRelated
- Authentication - API key setup
- Scopes - API key permissions
- Rate Limits - Request quotas
- Errors - Error response format
Last updated on