Skip to the main content
GET0 units (free)No API key required

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 (HTTPS JSON)
bash
curl -sS -X GET "https://gridforge-engine.fly.dev/v1/intake/template"
TypeScript SDK — client.intakeTemplate()
ts
import { GridForgeClient } from "@timetopower/gridforge-sdk";

const client = new GridForgeClient();
const result = await client.intakeTemplate();
console.log(result);
Python stdlib CLI (gridforge)
bash
gridforge intake-template

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

OpenAPI 3.1 200 Response Schema
json
{
  "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
}
Error codes returned by GET /v1/intake/template
StatusCondition
400the body is not valid JSON or not a JSON object, or the Idempotency-Key is longer than the limit
401a metered route was called without a key, or with one the engine does not accept
402the key's monthly allowance or cap is spent; the call was refused and not charged. Buy more, do not retry
409the requested action conflicts with current readiness or state (for example require_rfq_ready on an architecture that is not yet RFQ-ready)
422the input is too thin or invalid, or an Idempotency-Key was reused with a different body; nothing was solved
429the per-client request rate limit was exceeded; wait and retry (the limit is rate_limit_per_minute at /v1/version)
503paid endpoints are not configured on that deployment, or a charge could not be recorded durably

Worked Example (examples/intake/reference_hall.json)

SYNTHETIC REFERENCE DATA

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.

Real Engine Output (Synthetic Hall) — GET /v1/intake/template
json
{
  "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
  }
}