POST /v1/qualify
Free.
Server: https://gridforge-engine.fly.dev · Operation ID: gridforge_qualify · TS SDK: client.qualify()
Behaviour & Evidence Boundary
Free. Up to seven numbers about an existing air-cooled hall in (at least three; each one you leave out is an assumption named in the answer), one answer out: which physical constraint binds first when you try to deploy AI racks in it, how many racks fit as found, and which item sets the time to power (labelled 'assumed lead time, not a date' when that item's lead time is an assumption). Use this to triage a portfolio before paying for anything. Returns: binding constraint, racks as found and after relief (each with racks_evidence, the evidence class of that rack count as a short code such as E0: the weakest class among the constraints that cap it), the item that sets the date (null, with sets_the_date_reason, when no date can be given: nothing is deployable, or a lead time on the path is missing because transformers or UPS were not declared), and the inputs nobody has measured (when you send assumed_fields, also inputs_declared_assumed, which lists only what you declared; when you send contracted_MW and no firm_capacity_MVA, the firm capacity the qualifier derived is a required grid.firm_capacity_MVA row in intake.gaps, as an assumption). No capital cost or dated lead times in this free read: the metered /v1/compare (it needs an API key) returns indicative capital and weeks with evidence classes, and the paid documents add the full costed ladder. Every numeric field in a response carries an evidence class (E0 assumed … E7 observed in operation) and a provenance digest. An agent consuming these must not present an E0 or E1 figure as a property of the physical asset. The calibration block states how far this engine has been reconciled against site data; where it says uncalibrated, it means uncalibrated.
Call via cURL, TypeScript SDK & Python CLI
curl -sS -X POST "https://gridforge-engine.fly.dev/v1/qualify" \
-H "Content-Type: application/json" \
-d '{"contracted_MW":12,"firm_capacity_MVA":14,"current_site_peak_MW":7.4,"current_it_load_MW":4.9,"busway_ampacity_A":400,"tapoff_max_A":63,"plant_supply_C":6,"positions_available":180,"platform":"gb300_nvl72","objective":"max_compute","client":"Reference Project (synthetic)","reference":"REF-EU-01/DH-02","site_name":"Reference Colocation Campus","metro":"Frankfurt","country":"DE","hall_id":"DH-02"}'import { GridForgeClient } from "@timetopower/gridforge-sdk";
const client = new GridForgeClient();
const result = await client.qualify({
"contracted_MW": 12,
"firm_capacity_MVA": 14,
"current_site_peak_MW": 7.4,
"current_it_load_MW": 4.9,
"busway_ampacity_A": 400,
"tapoff_max_A": 63,
"plant_supply_C": 6,
"positions_available": 180,
"platform": "gb300_nvl72",
"objective": "max_compute",
"client": "Reference Project (synthetic)",
"reference": "REF-EU-01/DH-02",
"site_name": "Reference Colocation Campus",
"metro": "Frankfurt",
"country": "DE",
"hall_id": "DH-02"
});
console.log(result);gridforge qualify --contracted-mw 12 --current-site-peak-mw 7.4 --current-it-load-mw 4.9Request Contract & Input Schema
| Field | Type | Required | Description |
|---|---|---|---|
| contracted_MW | number | optional | Contracted grid capacity, MW. |
| current_site_peak_MW | number | optional | Current site peak demand, MW. |
| current_it_load_MW | number | optional | Current IT load, MW. |
| busway_ampacity_A | number | optional | Installed busway ampacity, A. |
| tapoff_max_A | number | optional | Largest installed tap-off rating, A. |
| plant_supply_C | number | optional | Chilled-water design supply temperature, °C. |
| positions_available | integer | optional | Rack positions that can be released. |
| firm_capacity_MVA | number | optional | Optional. Firm capacity of the grid connection, MVA, sent as a plain number. It is a real input: a value below the connection the engine would otherwise derive lowers the firm-supply headroom. Omit it (and send contracted_MW) and the engine derives one from contracted_MW, records it as an assumption (E0) that is not supplied, and adds a required grid.firm_capacity_MVA row to intake.gaps. It is not listed in inputs_declared_assumed, which holds only what you declared. firm_capacity_MVA cannot be named in assumed_fields. |
| platform | string | optional | Optional. The rack platform the hall is tested against (GET /v1/platforms lists them). It sets the per-rack electrical and thermal load, so it changes the result. An id the library does not carry is refused with 422. |
| objective | string | optional | What the recommendation optimises for. |
| assumed_fields | array | optional | Optional. Declares which of the figures above you are sending as ASSUMPTIONS rather than as this hall's own data, for example values copied from a reference template. Each entry must be one of the seven figures (contracted_MW, current_site_peak_MW, current_it_load_MW, busway_ampacity_A, tapoff_max_A, plant_supply_C, positions_available), named at most once, and the same request must also send that figure (a figure you did not send cannot be declared assumed). Effect: a named figure is classed E0 (assumption) instead of E5 (supplied by the client) in the result's basis and evidence, and is listed in the result's inputs_declared_assumed (path, input, unit, value, evidence "E0", note); intake.assumed_count says how many, while intake.completeness and required_inputs_missing still count a declared figure as supplied. It changes the label and not the arithmetic: the racks and the binding constraint are the same with or without it, and nothing you send can raise a class above E0. Omitted, null or an empty list, the request is answered as if the field did not exist. A name that is not one of the seven, a repeat, a value that is not a list, or a figure you did not send is refused with 422, naming the entry and listing the allowed names. An engine that serves this field reports capabilities.qualify_assumed_fields: true at GET /v1/version. |
| client | string | optional | Optional. Your organisation's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
| reference | string | optional | Optional. Your own reference for this hall or request. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
| site_name | string | optional | Optional. The site's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
| metro | string | optional | Optional. The metro area. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
| country | string | optional | Optional. The country. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
| hall_id | string | optional | Optional. The hall's identifier. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result. |
{
"type": "object",
"description": "Seven figures about one air-cooled hall, and some options. Send at least three of these seven figures; each one you omit is an assumption named in the answer (library default, listed under intake.gaps and, with the way you left it out, under figures_not_supplied). Fewer than three is refused with 422, and no one figure is required: any three are enough. A figure sent as null is not sent: it counts as omitted, and the answer says so. Each figure you do send is checked by its own name against the same plausibility bounds the engine's intake uses (a refusal names the figure you sent, with the limit). The engine does not validate a request against this schema before running it: a key that is not listed here is not read as a figure and is ignored, except cost_evidence, which this route does not take and refuses with 422.",
"properties": {
"contracted_MW": {
"type": "number",
"description": "Contracted grid capacity, MW."
},
"current_site_peak_MW": {
"type": "number",
"description": "Current site peak demand, MW."
},
"current_it_load_MW": {
"type": "number",
"description": "Current IT load, MW."
},
"busway_ampacity_A": {
"type": "number",
"description": "Installed busway ampacity, A."
},
"tapoff_max_A": {
"type": "number",
"description": "Largest installed tap-off rating, A."
},
"plant_supply_C": {
"type": "number",
"description": "Chilled-water design supply temperature, °C."
},
"positions_available": {
"type": "integer",
"description": "Rack positions that can be released."
},
"firm_capacity_MVA": {
"type": "number",
"description": "Optional. Firm capacity of the grid connection, MVA, sent as a plain number. It is a real input: a value below the connection the engine would otherwise derive lowers the firm-supply headroom. Omit it (and send contracted_MW) and the engine derives one from contracted_MW, records it as an assumption (E0) that is not supplied, and adds a required grid.firm_capacity_MVA row to intake.gaps. It is not listed in inputs_declared_assumed, which holds only what you declared. firm_capacity_MVA cannot be named in assumed_fields."
},
"platform": {
"type": "string",
"enum": [
"gb200_nvl72",
"gb300_nvl72",
"generic_dlc_50"
],
"default": "gb300_nvl72",
"description": "Optional. The rack platform the hall is tested against (GET /v1/platforms lists them). It sets the per-rack electrical and thermal load, so it changes the result. An id the library does not carry is refused with 422."
},
"objective": {
"type": "string",
"enum": [
"max_compute",
"min_cost",
"fastest"
],
"default": "max_compute",
"description": "What the recommendation optimises for."
},
"assumed_fields": {
"type": "array",
"items": {
"type": "string",
"enum": [
"contracted_MW",
"current_site_peak_MW",
"current_it_load_MW",
"busway_ampacity_A",
"tapoff_max_A",
"plant_supply_C",
"positions_available"
]
},
"uniqueItems": true,
"maxItems": 7,
"description": "Optional. Declares which of the figures above you are sending as ASSUMPTIONS rather than as this hall's own data, for example values copied from a reference template. Each entry must be one of the seven figures (contracted_MW, current_site_peak_MW, current_it_load_MW, busway_ampacity_A, tapoff_max_A, plant_supply_C, positions_available), named at most once, and the same request must also send that figure (a figure you did not send cannot be declared assumed). Effect: a named figure is classed E0 (assumption) instead of E5 (supplied by the client) in the result's basis and evidence, and is listed in the result's inputs_declared_assumed (path, input, unit, value, evidence \"E0\", note); intake.assumed_count says how many, while intake.completeness and required_inputs_missing still count a declared figure as supplied. It changes the label and not the arithmetic: the racks and the binding constraint are the same with or without it, and nothing you send can raise a class above E0. Omitted, null or an empty list, the request is answered as if the field did not exist. A name that is not one of the seven, a repeat, a value that is not a list, or a figure you did not send is refused with 422, naming the entry and listing the allowed names. An engine that serves this field reports capabilities.qualify_assumed_fields: true at GET /v1/version."
},
"client": {
"type": "string",
"description": "Optional. Your organisation's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"reference": {
"type": "string",
"description": "Optional. Your own reference for this hall or request. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"site_name": {
"type": "string",
"description": "Optional. The site's name. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"metro": {
"type": "string",
"description": "Optional. The metro area. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"country": {
"type": "string",
"description": "Optional. The country. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
},
"hall_id": {
"type": "string",
"description": "Optional. The hall's identifier. A label for your own records: the qualifier writes it into the intake it builds and it changes no figure in the result."
}
},
"additionalProperties": false
}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",
"properties": {
"as_found": {},
"after_relief": {
"type": "object",
"properties": {
"date_basis": {
"type": "string",
"description": "What the date rests on; \"assumed\" means the item that sets it carries an assumed lead time, so it is not a date."
},
"date_evidence_class": {
"type": [
"string",
"null"
],
"description": "The evidence class (E0 to E7) of the date; null when there is no date."
},
"date_label": {
"type": "string",
"description": "The date, or the reason there is none, in words."
}
},
"additionalProperties": true
},
"intake": {
"type": "object",
"properties": {
"completeness": {
"type": "number"
},
"required_inputs_missing": {
"type": "integer",
"description": "How many required inputs the request left out."
},
"can_issue_a_study": {
"type": "boolean"
},
"gaps": {
"type": "array",
"description": "The assumption disclosure: every input the request did not supply, what the engine assumed in its place (`assumed`) and why it matters (`why_it_binds`).",
"items": {
"$ref": "#/components/schemas/AssumptionGap"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"recommended_engagement": {
"type": "string",
"description": "What the engine recommends buying given how complete the intake is."
}
},
"additionalProperties": true
},
"calibration": {
"$ref": "#/components/schemas/CalibrationBlock"
},
"notice": {
"type": "string",
"description": "The engine's standing notice: directional, modelled output, not an issued engineering opinion."
}
},
"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.
{
"contracted_MW": 12,
"firm_capacity_MVA": 14,
"current_site_peak_MW": 7.4,
"current_it_load_MW": 4.9,
"busway_ampacity_A": 400,
"tapoff_max_A": 63,
"plant_supply_C": 6,
"positions_available": 180,
"platform": "gb300_nvl72",
"objective": "max_compute",
"client": "Reference Project (synthetic)",
"reference": "REF-EU-01/DH-02",
"site_name": "Reference Colocation Campus",
"metro": "Frankfurt",
"country": "DE",
"hall_id": "DH-02"
}{
"schema_version": "gridforge/api/1",
"platform": {
"id": "gb300_nvl72",
"name": "NVIDIA GB300 NVL72",
"rack_kW": {
"value": 135,
"low": 132,
"high": 142,
"unit": "kW",
"evidence": "E0_ASSUMPTION",
"label": "GB300 NVL72 rack TDP",
"model": "input@0.1",
"digest": "e6476e7cd728"
},
"gpus_per_rack": 72
},
"as_found": {
"racks": 0,
"racks_evidence": "E0",
"it_load_kW": {
"value": 0,
"low": 0,
"high": 0,
"unit": "kW",
"evidence": "E0_ASSUMPTION",
"label": "deployable IT load",
"model": "envelope.it_load@0.1",
"digest": "7878bb4e6931"
},
"binding_constraint": "Rack feed / tap-off rating",
"domain": "electrical",
"basis": "platform needs 205 [174–236] A (E0) per rack; installed tap-offs rated 63 A (E5). The tap-off rating is compared at 100% of its rating, with no continuous-load derating (the busway is derated to 0.8)"
},
"after_relief": {
"racks": 28,
"racks_evidence": "E0",
"architecture": "Full DLC, grid only",
"then_binds_on": "Firm supply (grid import + behind-the-meter)",
"sets_the_date": null,
"sets_the_date_reason": "No defensible date: not declared: transformers, UPS (reliefs they would need are neither priced nor timed).",
"date_basis": "none",
"date_evidence_class": null,
"date_binding_item": null,
"date_label": "no date: a lead time on the path is missing"
},
"first_three_constraints": [
{
"name": "Rack feed / tap-off rating",
"domain": "electrical",
"relief": "Higher-rated tap-off units (and busway if ampacity does not allow)"
},
{
"name": "Residual air load removal per rack",
"domain": "thermal",
"relief": "Add in-row cooling or rear-door heat exchangers for the residual air load"
},
{
"name": "Achievable facility water temperature",
"domain": "thermal",
"relief": "Adiabatic assist plus trim chiller on the high-temperature loop"
}
],
"intake": {
"completeness": 0.29,
"required_inputs_missing": 4,
"can_issue_a_study": false,
"gaps": [
{
"path": "hall.net_white_space_m2",
"input": "Net white space",
"unit": "m2",
"required": false,
"assumed": "2,000 [1,400–2,600] m2 (E0)",
"why_it_binds": "Caps rack count where positions are not yet counted.",
"how_to_get_it": "Floor plan."
},
{
"path": "hall.floor_loading_kPa",
"input": "Hall design floor loading",
"unit": "kPa",
"required": true,
"assumed": "12 [8–15] kPa (E0)",
"why_it_binds": "A 1.4 t rack against a 12 kPa design is a gate, not a margin.",
"how_to_get_it": "Structural record drawings; a survey if the building changed hands."
},
{
"path": "hall.aisle_pitch_m",
"input": "Installed aisle pitch",
"unit": "m",
"required": false,
"assumed": "2.4 [2.04–2.76] m (E0)",
"why_it_binds": "Sets floor area per rack, and so the floor-loading figure per square metre.",
"how_to_get_it": "Floor plan or a site walk."
},
{
"path": "site.design_drybulb_C",
"input": "Summer design dry bulb",
"unit": "degC",
"required": false,
"assumed": "32 [30–36] degC (E0)",
"why_it_binds": "Decides whether dry coolers alone can hold the loop.",
"how_to_get_it": "Nearest TMY station."
},
{
"path": "transformers",
"input": "Transformer schedule",
"unit": "-",
"required": true,
"assumed": "not evaluated: treated as no limit, so the rack count is an upper bound (E0)",
"why_it_binds": "Often the schedule driver: transformer lead times are long and vary by type. Enter the quoted figure if you have one.",
"how_to_get_it": "Single-line diagram and transformer nameplates."
},
{
"path": "ups",
"input": "UPS schedule",
"unit": "-",
"required": true,
"assumed": "not evaluated: treated as no limit, so the rack count is an upper bound (E0)",
"why_it_binds": "GPU racks present step loads, not just steady load.",
"how_to_get_it": "UPS nameplate, topology and remaining design life."
}
],
"warnings": [
"Busway: neither hall.occupied_positions nor hall.rack_positions was supplied, so the occupied positions are an assumption (E0) from the library default total of 400 positions, not a count of anything in your hall. Reading that total less your 180 free positions as occupied (220 positions), at their 8 kW design density, would draw 1,760 kW, more than the 1,290 kW the declared busway can carry. busway_ampacity_A is read as the installed total and existing load is not subtracted, so check whether the figure you gave is the whole hall's busway, and give hall.occupied_positions and hall.rack_positions (a full intake takes both) so this check runs on counts rather than an assumption.",
"project.reference names 'REF-EU-01'/'DH-02', but the document's site.id and hall.id are 'SITE-1'/'DH-02'. The deliverable carries both, so check which hall this intake describes.",
"No transformer schedule supplied: transformer capacity is not evaluated and may be the true binding constraint.",
"No UPS schedule supplied: the load is treated as unprotected.",
"No behind-the-meter options declared: where the grid binds, the study can only report that it binds."
],
"recommended_engagement": "4 required inputs are missing. That is too thin for a full Capacity & Density Envelope Study yet. The next step is the Density Screen: it names the binding constraint and lists every input still needed, and its fee credits against the Capacity & Density Envelope Study when the data arrives."
},
"calibration": {
"state": "uncalibrated",
"statement": "Model accuracy against instrumented sites has not been established: 0 reconciled observations across 0 sites, covering 0 of 3 model outputs. Every figure in this report is modelled. The uncertainty ranges shown come from input uncertainty propagated through the model, not from the difference between this engine's predictions and site data — no such difference has been recorded yet.",
"observations": 0,
"observations_total": 0,
"observations_without_source_ref": 0,
"sites": 0,
"halls": 0,
"keys_asserted": 3,
"keys_with_site_observations": 0,
"keys_calibrated": 0,
"coverage": 0,
"keys": [],
"uncalibrated_keys": [
"constraint.rack_feed_tapoff.racks",
"envelope.racks",
"envelope.it_load_kW"
]
},
"notice": "Directional screening read. Modelled from the inputs supplied, against library defaults for everything not supplied. It is not a bankable number, not a design, and not a measurement of this asset. Capital cost, programme duration, the full constraint ladder and the scenario comparison are part of the paid engagement.",
"figures_not_supplied": []
}