The TypeScript SDK (packages/sdk) has no resource for these routes, so the TypeScript examples use plain fetch. All three handlers are marked @Public(), which makes ApiKeyGuard skip them, so no Authorization header is needed.
Per-endpoint reference for the OFFER-HUB public endpoints - platform configuration and the basic and detailed health checks - with real response shapes, the real healthy, degraded and unhealthy semantics, the hardcoded limits in /config, error behavior, and cURL plus TypeScript examples.
Three endpoints need no credential and exist for clients, load balancers and monitoring. GET /config lives in ConfigController (apps/api/src/modules/config/config.controller.ts). The two health routes live in HealthController (apps/api/src/modules/health/health.controller.ts) and HealthService (health.service.ts). With the global /api/v1 prefix from apps/api/src/main.ts, the paths below are the full routes.
The TypeScript SDK (packages/sdk) has no resource for these routes, so the TypeScript examples use plain fetch. All three handlers are marked @Public(), which makes ApiKeyGuard skip them, so no Authorization header is needed.
@Scopes.GET routes; the global idempotency guard only acts on POST, PUT and PATCH.RateLimitGuard allows 100 requests per 60 seconds, counted per IP for requests without a key. Poll health sparingly; a load balancer probe every 10 seconds is well within the limit.ResponseInterceptor leaves a single-key { data: ... } payload untouched and wraps everything else in { data, meta }. So GET /config returns { "data": { ... } } with no meta, while both health routes are wrapped as { "data": { ... }, "meta": { "requestId", "timestamp" } }.{ "error": { "code", "message" } }. The only error these routes can realistically return is 429 RATE_LIMITED; see Error Codes.Returns platform configuration for clients that want to show limits or check which features are on.
The limits, currencies and provider names are hardcoded in the controller. They are string literals in getConfig, not read from the environment, the database or the services that enforce rules. Changing a limit elsewhere will not change this response, and this response is not proof of what another endpoint accepts. Treat it as documentation of intent, and confirm real limits on the endpoint you call.
What is fixed and what is computed:
The basic check. It does no I/O and answers immediately, so it tells you only that the API process is up. Use it for load balancer and container probes.
The detailed check. It tests the database, Redis, the Airtm API and the Trustless Work API in parallel, each with a 5-second limit, so a slow dependency can make the call take up to about 5 seconds. Use it for monitoring and debugging, not for frequent probes.
The HTTP status is 200 OK even when something is unhealthy: the handler returns the result instead of throwing. Read data.status in the body, not the HTTP code.
So the two provider dependencies can only lower the overall status to degraded, never to unhealthy. A deployment that has not configured Airtm reports degraded permanently.
features and dependency statusfeatures.sse does not reflect