Skip to Content
The Ngamia platform API is in preview. Endpoints may change before general availability.
API referenceService endpoints

Service endpoints

Health, readiness and the OpenAPI document.

Liveness

GET /healthz

No bearer token: these calls carry a Camel Accounts token in the body.

curl -X GET https://api.ngamia.com/healthz

Responses

StatusMeaning
200The process is up

Readiness (database and engines)

GET /readyz

No bearer token: these calls carry a Camel Accounts token in the body.

Checks run in parallel (at most 2 s each); the result is reused for 5 s. Operators may restrict this route at the edge.

curl -X GET https://api.ngamia.com/readyz

Responses

StatusMeaning
200Ready
503A dependency is not ready; checks says which

Prometheus metrics (operators)

GET /metrics

No bearer token: these calls carry a Camel Accounts token in the body.

Requests by route and status, latency histograms by route, and failed engine calls. Needs Authorization: Bearer <PLATFORM_METRICS_TOKEN>; 404 when that is not configured. Not routed by the public edge.

curl -X GET https://api.ngamia.com/metrics

Responses

StatusMeaning
200Prometheus text format
401Missing, invalid, expired or revoked credential (unauthorized).
404Not found in this workspace (not_found).

This document

GET /openapi.yaml

No bearer token: these calls carry a Camel Accounts token in the body.

curl -X GET https://api.ngamia.com/openapi.yaml

Responses

StatusMeaning
200OpenAPI 3.1 YAML
Last updated on