Skip to the main content

OpenAPI 3.1 Reference · 24 Engine Endpoints · https://gridforge-engine.fly.dev

HTTP API & MCP endpoint reference

Every customer-callable /v1/* route, /health, and /mcp served by https://gridforge-engine.fly.dev. Unit weights come straight from gridforge/api/metering.py and /reference/tools.json.

Endpoint Matrix

Worked examples: synthetic reference hall

SYNTHETIC 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.

GridForge HTTP endpoints, methods, authentication tiers, metered unit costs, SDK methods, and documentation links
Method & PathAuth TierUnitsTS SDK / MCPSummary
POST /v1/qualifyPublic (no key)0 (free)
client.qualify()
gridforge_qualify
Free.
POST/GET /v1/estimatePublic (no key)0 (free)
client.estimate()
gridforge_estimate
Free, no API key, never metered.
POST /v1/screenBearer gfk1.*1
client.screen()
gridforge_screen
Density Screen.
POST /v1/compareBearer gfk1.*1
client.compare()
gridforge_compare
Time-to-Power scenario comparison.
POST /v1/studyBearer gfk1.*5
client.study()
gridforge_study
Capacity & Density Envelope Study.
POST /v1/portfolioBearer gfk1.*1 / hall
client.portfolio()
gridforge_portfolio
Rank halls.
POST /v1/proposalBearer gfk1.*2
client.proposal()
gridforge_proposal
A priced proposal for a named engagement, built from what the engine already found.
POST /v1/deckBearer gfk1.*3
client.deck()
Walkthrough deck for a hall.
POST /v1/diffBearer gfk1.*2
client.diff()
gridforge_diff
What moved, and which input moved it.
POST /v1/specBearer gfk1.*3
client.spec()
gridforge_spec
Turn a binding constraint into a tender-ready technical specification: every numeric requirement derived from the capacity model and naming the constraint it came from, quoted at the site's own conditions rather than a manufacturer's reference condition, plus a machine-readable response schedule.
POST /v1/bidsBearer gfk1.*2
client.bids()
gridforge_bids
Compare supplier responses against the capacity model: what each bid does to the energisation date and to deployable rack count, not only what it costs.
POST /v1/power/assessBearer gfk1.*5
client.powerAssess()
gridforge_power_assess
The Power Readiness Case: what is stopping this site reaching the target capacity, what fixes it, what that costs, what it does to the schedule, and what to do next.
POST /v1/power/deploy/assessBearer gfk1.*5
client.powerDeployAssess()
gridforge_power_deploy_assess
The BTM Power Deployment Assessment: given a real load profile and the generation/BESS units actually on the table, compares GRID ONLY, GRID + GENERATION, GRID + BESS and GRID + BESS + GENERATION under one deterministic N/N+1/N+2/2N contingency test each, with CAPEX and lead time read from whatever the request declared (never priced at zero when a unit is uncosted — that architecture is marked not-yet-comparable instead).
POST /v1/power/deploy/specBearer gfk1.*3
client.powerDeploySpec()
gridforge_power_deploy_spec
A tender-ready technical specification for a BTM architecture's generation and storage units: every numeric requirement (nameplate rating, availability/forced-outage rate, start-up time, ramp rate, fuel, BESS power/energy/SOC window) derived from the declared unit and traceable to it, plus a weighted evaluation matrix and a machine-readable response schedule.
POST /v1/power/deploy/bidsBearer gfk1.*2
client.powerDeployBids()
gridforge_power_deploy_bids
Rank supplier responses to a BTM tender package (gridforge_power_deploy_spec) with the same comparison rules as gridforge_bids: mandatory non-compliance is never outranked by price, incomplete responses are disqualified not guessed at, and installation method and evidence quality are left to an engineer.
GET /v1/versionPublic (no key)0 (free)
client.version()
What this engine serves, how it meters, and its provenance.
GET /v1/platformsPublic (no key)0 (free)
client.platforms()
The rack library (the engine's platform library), short form.
GET /v1/intake/templatePublic (no key)0 (free)
client.intakeTemplate()
The blank intake document with every field.
GET /v1/calibrationPublic (no key)0 (free)
client.calibration()
How far the model has been reconciled against instrumented sites.
GET /v1/calibration/residualsPublic (no key)0 (free)
client.calibrationResiduals()
Aggregate residual statistics over approved observation records only.
GET /v1/toolsPublic (no key)0 (free)
client.tools()
The tool catalogue: OpenAI function-calling shape and MCP shape, the rate card and the auth rule.
GET /v1/usageBearer gfk1.*0 (free)
client.usage()
This key's metered usage for the current UTC month.
GET /healthPublic (no key)0 (free)
client.health()
Liveness check.
POST /mcpPer-tool tier0 (free)
client.mcpCall()
Model Context Protocol over JSON-RPC 2.0.