Skip to the main content
POST2 unitsBearer gfk1.* requiredMCP: gridforge_power_deploy_bids

POST /v1/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.

Server: https://gridforge-engine.fly.dev · Operation ID: gridforge_power_deploy_bids · TS SDK: client.powerDeployBids()

Behaviour & Evidence Boundary

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. Send the same deployment request and architecture the package was built from, plus the completed response schedules. Returns: the ranked comparison, the leading compliant supplier (or null) and the note. 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 (HTTPS JSON)
bash
curl -sS -X POST "https://gridforge-engine.fly.dev/v1/power/deploy/bids" \
  -H "Authorization: Bearer $GRIDFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"load_profile":{"flat_kW":11500,"flat_hours":24,"source":"Synthetic reference flat AI hall load"},"grid_firm_MW":9.5,"target_MW":12,"ride_through_hours":2,"redundancy":"N+1","objective":"max_compute","generation":[{"id":"GEN-5MW","kind":"gas_engine","nameplate_MW":5,"capex_eur":4000000,"lead_time_weeks":44,"operating_mode":"continuous","availability":0.96}],"bess":[{"id":"BESS-2MW-8MWh","power_MW":2,"energy_MWh":8,"capex_eur":1800000,"lead_time_weeks":30,"round_trip_efficiency":0.88}],"architecture":"GRID + BESS + GENERATION","project":"Reference Project (synthetic)","format":"md","responses":[{"template_version":2,"supplier":"Synthetic BTM Vendor A","received_on":"2026-11-27","valid_until":"2026-11-27","currency":"EUR","values":{"capex_eur":5600000,"lead_time_weeks":40,"install_weeks":4,"warranted_availability":100,"validity_days":90},"compliance":{"G1-01":"C","G1-02":"C","G1-03":"C","G1-05":"C","B1-01":"C","B1-02":"C","B1-03":"C","C-01":"C","C-02":"C"},"reference":"SYNTH-QUOTE-01"}]}'
TypeScript SDK — client.powerDeployBids()
ts
import { GridForgeClient } from "@timetopower/gridforge-sdk";

const client = new GridForgeClient({ apiKey: process.env.GRIDFORGE_API_KEY });
const result = await client.powerDeployBids({
  "load_profile": {
    "flat_kW": 11500,
    "flat_hours": 24,
    "source": "Synthetic reference flat AI hall load"
  },
  "grid_firm_MW": 9.5,
  "target_MW": 12,
  "ride_through_hours": 2,
  "redundancy": "N+1",
  "objective": "max_compute",
  "generation": [
    {
      "id": "GEN-5MW",
      "kind": "gas_engine",
      "nameplate_MW": 5,
      "capex_eur": 4000000,
      "lead_time_weeks": 44,
      "operating_mode": "continuous",
      "availability": 0.96
    }
  ],
  "bess": [
    {
      "id": "BESS-2MW-8MWh",
      "power_MW": 2,
      "energy_MWh": 8,
      "capex_eur": 1800000,
      "lead_time_weeks": 30,
      "round_trip_efficiency": 0.88
    }
  ],
  "architecture": "GRID + BESS + GENERATION",
  "project": "Reference Project (synthetic)",
  "format": "md",
  "responses": [
    {
      "template_version": 2,
      "supplier": "Synthetic BTM Vendor A",
      "received_on": "2026-11-27",
      "valid_until": "2026-11-27",
      "currency": "EUR",
      "values": {
        "capex_eur": 5600000,
        "lead_time_weeks": 40,
        "install_weeks": 4,
        "warranted_availability": 100,
        "validity_days": 90
      },
      "compliance": {
        "G1-01": "C",
        "G1-02": "C",
        "G1-03": "C",
        "G1-05": "C",
        "B1-01": "C",
        "B1-02": "C",
        "B1-03": "C",
        "C-01": "C",
        "C-02": "C"
      },
      "reference": "SYNTH-QUOTE-01"
    }
  ]
}, { idempotencyKey: "run-001" });
console.log(result);
Python stdlib CLI (gridforge)
bash
gridforge power-deploy-bids deploy.json responses.json --remote

Request Contract & Input Schema

JSON body properties for POST /v1/power/deploy/bids
FieldTypeRequiredDescription
architecturestringoptional—
projectstringoptional—
load_profileobjectrequired—
grid_firm_MWnumberrequired—
target_MWnumberrequired—
ride_through_hoursnumberoptionalthe outage duration a battery must be sized against; defaults to 2h if omitted
redundancystringoptional—
interconnectionobjectoptionalutility, pcc_voltage_kV, import_capacity_MW — feeds the interconnection readiness gate. Omitting it leaves that gate MISSING_DATA, never a guessed PASS.
permittingobjectoptionale.g. {emissions_status, noise_status} — feeds the permitting readiness gate.
generationarrayoptional—
bessarrayoptional—
responsesarrayrequired—
OpenAPI 3.1 Request JSON Schema
json
{
  "type": "object",
  "required": [
    "load_profile",
    "grid_firm_MW",
    "target_MW",
    "responses"
  ],
  "properties": {
    "architecture": {
      "type": "string"
    },
    "project": {
      "type": "string"
    },
    "load_profile": {
      "type": "object"
    },
    "grid_firm_MW": {
      "type": "number"
    },
    "target_MW": {
      "type": "number"
    },
    "ride_through_hours": {
      "type": "number",
      "description": "the outage duration a battery must be sized against; defaults to 2h if omitted"
    },
    "redundancy": {
      "type": "string",
      "enum": [
        "N",
        "N+1",
        "N+2",
        "2N"
      ],
      "default": "N"
    },
    "interconnection": {
      "type": "object",
      "description": "utility, pcc_voltage_kV, import_capacity_MW — feeds the interconnection readiness gate. Omitting it leaves that gate MISSING_DATA, never a guessed PASS.",
      "properties": {
        "utility": {
          "type": "string"
        },
        "pcc_voltage_kV": {
          "type": "number"
        },
        "import_capacity_MW": {
          "type": "number"
        }
      }
    },
    "permitting": {
      "type": "object",
      "description": "e.g. {emissions_status, noise_status} — feeds the permitting readiness gate.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "generation": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "bess": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "responses": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "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.

OpenAPI 3.1 200 Response Schema
json
{
  "type": "object"
}
Error codes returned by POST /v1/power/deploy/bids
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.

Synthetic Request — POST /v1/power/deploy/bids
json
{
  "load_profile": {
    "flat_kW": 11500,
    "flat_hours": 24,
    "source": "Synthetic reference flat AI hall load"
  },
  "grid_firm_MW": 9.5,
  "target_MW": 12,
  "ride_through_hours": 2,
  "redundancy": "N+1",
  "objective": "max_compute",
  "generation": [
    {
      "id": "GEN-5MW",
      "kind": "gas_engine",
      "nameplate_MW": 5,
      "capex_eur": 4000000,
      "lead_time_weeks": 44,
      "operating_mode": "continuous",
      "availability": 0.96
    }
  ],
  "bess": [
    {
      "id": "BESS-2MW-8MWh",
      "power_MW": 2,
      "energy_MWh": 8,
      "capex_eur": 1800000,
      "lead_time_weeks": 30,
      "round_trip_efficiency": 0.88
    }
  ],
  "architecture": "GRID + BESS + GENERATION",
  "project": "Reference Project (synthetic)",
  "format": "md",
  "responses": [
    {
      "template_version": 2,
      "supplier": "Synthetic BTM Vendor A",
      "received_on": "2026-11-27",
      "valid_until": "2026-11-27",
      "currency": "EUR",
      "values": {
        "capex_eur": 5600000,
        "lead_time_weeks": 40,
        "install_weeks": 4,
        "warranted_availability": 100,
        "validity_days": 90
      },
      "compliance": {
        "G1-01": "C",
        "G1-02": "C",
        "G1-03": "C",
        "G1-05": "C",
        "B1-01": "C",
        "B1-02": "C",
        "B1-03": "C",
        "C-01": "C",
        "C-02": "C"
      },
      "reference": "SYNTH-QUOTE-01"
    }
  ]
}
Real Engine Output (Synthetic Hall) — POST /v1/power/deploy/bids
json
{
  "schema_version": "gridforge/api/1",
  "architecture": "GRID + BESS + GENERATION",
  "units": [
    "GEN-5MW",
    "BESS-2MW-8MWh"
  ],
  "ranked": [
    {
      "rank": 1,
      "supplier": "Synthetic BTM Vendor A",
      "headline": "Synthetic BTM Vendor A: EUR 5,600,000, 44 weeks to energised, score 85/100 (relative to the bids compared)",
      "capex_eur": 5600000,
      "weeks_to_energised": 44,
      "eur_per_rack": null,
      "compliant": true,
      "quoted_currency": "EUR",
      "quoted_price": null,
      "currency_issue": null,
      "disqualified": false,
      "score": 85,
      "scores": {
        "C1": 30,
        "C2": 30,
        "C3": 25,
        "C4": 0,
        "C5": 0
      },
      "score_basis": "Scored against the only bid evaluated. Scores are relative, not absolute: price and programme are scaled linearly from the best bid in this comparison (full marks) to the worst (none), and a lone bid gets full marks on both. The same bid scores differently against different competitors, so compare scores only within one comparison, never across comparisons.",
      "mandatory_failed": [],
      "notes": [
        "response is not tied to a specification (no 'specification' block); it cannot be checked against the current revision.",
        "Installation method and evidence quality are scored by the engineer, not by this tool — 15 points are unallocated until they are."
      ],
      "figure_checks": [],
      "schedule_impact": "In line with the modelled 44 weeks.",
      "install_weeks_missing": false,
      "programme_basis": "complete",
      "needs_engineering_review": false
    }
  ],
  "leading": "Synthetic BTM Vendor A",
  "note": "Installation method and evidence quality carry 15 of the 100 points and are scored by an engineer, not by this endpoint. A ranking that claimed to have judged them would be inventing the part that needs judgement. A bid's own figures are held to the numeric 'shall' clauses they answer (a duty below the specified minimum, a price validity under 60 days): a bid whose figure falls short of one is flagged, whatever code it declared (`figure_checks` names the clause, the figure asked and the figure offered, and `needs_engineering_review` is set); its declaration is not overridden here, so the engineer must resolve it before award. A response that was not evaluated (`disqualified`) carries no rank, is never compliant and states no schedule effect. Scores are relative, not absolute: price and programme are scaled linearly from the best bid in this comparison (full marks) to the worst (none), an\n... [truncated synthetic output; full length 1072 chars]",
  "calibration": {
    "state": "uncalibrated",
    "statement": "Model accuracy against instrumented sites has not been established: 0 reconciled observations across 0 sites, covering 0 of 1 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": 1,
    "keys_with_site_observations": 0,
    "keys_calibrated": 0,
    "coverage": 0,
    "keys": [],
    "uncalibrated_keys": [
      "btm.firm_MW"
    ]
  }
}