GET /health
Liveness check.
Server: https://gridforge-engine.fly.dev · Operation ID: health · TS SDK: client.health()
Behaviour & Evidence Boundary
Returns {ok, service, version}. Free, no key, and bounded by a generous separate rate limit.
Call via cURL, TypeScript SDK & Python CLI
curl -sS -X GET "https://gridforge-engine.fly.dev/health"import { GridForgeClient } from "@timetopower/gridforge-sdk";
const client = new GridForgeClient();
const result = await client.health();
console.log(result);gridforge opsRequest Contract & Input Schema
This read endpoint takes no request body and no required query parameters.
Response Schema, Headers & Error Codes
Responses carry X-GridForge-Schema: gridforge/api/1, x-request-id, metering headers (X-GridForge-Units, X-GridForge-Units-Month, X-GridForge-Units-Remaining), rate-limit headers (RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset), and RFC 9745/8594 Deprecation / Sunset headers when applicable. POST calls accept Idempotency-Key up to 150 characters.
{
"type": "object",
"required": [
"ok",
"service",
"version",
"schema_version"
],
"properties": {
"schema_version": {
"type": "string",
"description": "The engine's API schema id, added to every JSON object response."
},
"ok": {
"type": "boolean"
},
"service": {
"type": "string"
},
"version": {
"type": "string"
}
},
"additionalProperties": true
}| Status | Condition |
|---|---|
| 400 | the body is not valid JSON or not a JSON object, or the Idempotency-Key is longer than the limit |
| 401 | a metered route was called without a key, or with one the engine does not accept |
| 402 | the key's monthly allowance or cap is spent; the call was refused and not charged. Buy more, do not retry |
| 409 | the requested action conflicts with current readiness or state (for example require_rfq_ready on an architecture that is not yet RFQ-ready) |
| 422 | the input is too thin or invalid, or an Idempotency-Key was reused with a different body; nothing was solved |
| 429 | the per-client request rate limit was exceeded; wait and retry (the limit is rate_limit_per_minute at /v1/version) |
| 503 | paid endpoints are not configured on that deployment, or a charge could not be recorded durably |
Worked Example (examples/intake/reference_hall.json)
SYNTHETIC REFERENCE DATASYNTHETIC REFERENCE DATA — every request and response in this file was generated deterministically by running the real GridForge Python engine against examples/intake/reference_hall.json. Not a measurement of any customer asset.
{
"schema_version": "gridforge/api/1",
"ok": true,
"service": "gridforge",
"version": "0.9.0"
}