Core Rest API

https://api.cerulea.app/v1

Standard Response Format

All API responses follow a consistent envelope structure.

JSON
{
  "success": true,
  "data": { ... },
  "meta": {
    "requestId": "req_01HXYZ123",
    "timestamp": "2026-06-15T10:30:00Z",
    "version": "1.0"
  }
}

Pagination

GET /resources?page=1&limit=50&sort=created_at:desc

List resources with pagination and sorting

JSON
{
  "data": [...],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 243,
    "pages": 5,
    "hasNext": true
  }
}

Health Check

GET /health

Check API health and service status

JSON
{
  "status": "operational",
  "services": {
    "api": "healthy",
    "blockchain": "healthy",
    "metrics": "healthy"
  },
  "latency": { "p50": "12ms", "p99": "48ms" },
  "uptime": "99.98%"
}