Skip to content

API Reference

NextEpoch Cloud exposes HTTP APIs for interacting with the platform programmatically.

Services

ServiceBase URLDescription
Airhttps://air.nextepoch.cloudCommunications mesh and telemetry ingestion
Insightshttps://insights.nextepoch.cloudSQL queries over telemetry data
Storagehttps://storage.nextepoch.cloudObject storage for file uploads and downloads

Authentication

All API endpoints require a JWT token obtained through the Identity service's OAuth 2.1 flow. Include it in the Authorization header:

bash
Authorization: Bearer <your-jwt-token>

See the Identity API for details on the OAuth 2.1 authorization and token endpoints.

Common Response Format

All API responses follow a consistent JSON structure:

json
{
  "data": { ... },
  "meta": {
    "request_id": "req_abc123"
  }
}

Error responses:

json
{
  "error": {
    "code": "not_found",
    "message": "Resource not found"
  }
}

Rate Limiting

API requests are rate-limited per organization. Rate limit headers are included in all responses:

X-RateLimit-Limit: 10000
X-RateLimit-Remaining: 9995
X-RateLimit-Reset: 1705312800

API Documentation

NextEpoch Cloud Documentation