GET /v1/intake/template
The blank intake document with every field.
Server: https://gridforge-engine.fly.dev · Operation ID: intakeTemplate · TS SDK: client.intakeTemplate()
Behaviour & Evidence Boundary
The form a sparse intake is completed from: any field left out of a request is filled from library defaults and reported as an assumption in the response. Free, no key.
Call via cURL, TypeScript SDK & Python CLI
curl -sS -X GET "https://gridforge-engine.fly.dev/v1/intake/template"import { GridForgeClient } from "@timetopower/gridforge-sdk";
const client = new GridForgeClient();
const result = await client.intakeTemplate();
console.log(result);gridforge intake-templateRequest 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": [
"project",
"scenarios",
"grid",
"lv",
"hall",
"thermal",
"transformers",
"ups",
"site",
"compute",
"economics",
"schema_version"
],
"properties": {
"schema_version": {
"type": "string",
"description": "The engine's API schema id, added to every JSON object response."
},
"project": {},
"scenarios": {},
"grid": {},
"lv": {},
"hall": {},
"thermal": {},
"transformers": {},
"ups": {},
"site": {},
"compute": {},
"economics": {}
},
"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",
"project": {
"client": "",
"reference": "",
"objective": "max_compute"
},
"scenarios": [
"retained_air",
"rdhx",
"hybrid_dlc",
"full_dlc",
"full_dlc_btm"
],
"grid": {
"firm_capacity_MVA": null,
"contracted_MW": null,
"current_site_peak_MW": null,
"current_it_load_MW": null,
"power_factor": null
},
"lv": {
"busway_ampacity_A": null,
"tapoff_max_A": null,
"existing_busway_load_kW": null,
"voltage_V": null,
"phases": null,
"busway_runs": null,
"busway_utilisation_limit": null
},
"hall": {
"floor_loading_kPa": null,
"positions_available": null,
"occupied_positions": null,
"net_white_space_m2": null,
"aisle_pitch_m": null,
"containment": null,
"floor_type": null,
"build_year": null
},
"thermal": {
"plant": {
"chilled_water_capacity_kW": null,
"existing_non_it_heat_kW": null,
"design_supply_C": null,
"pump_flow_capacity_l_per_min": null,
"existing_flow_l_per_min": null,
"design_return_C": null,
"available_head_kPa": null,
"free_cooling_hours_per_year": null,
"dry_cooler_capacity_kW": null,
"dry_cooler_approach_K": null
},
"residual_air_capacity_kW_per_rack": null,
"tcs_target_supply_C": null,
"cdus": null,
"rdhx": {
"capacity_kW_per_rack": null
},
"cdu_approach_K": null
},
"transformers": [],
"ups": [],
"site": {
"design_drybulb_C": null
},
"compute": {
"utilisation": null,
"platform": null
},
"economics": {
"electricity_eur_per_MWh": null,
"horizon_years": null,
"discount_rate": null
}
}