Skip to main content
POST
P50, P75, P90 and P99 at 1 and 10 years for PV, wind and the hybrid from multi-year weather (GP19)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
spec
object
required

GP19's P-value spec: id, name, plants, horizons_years, levels_pct, interval_confidence, hybrid, notes. Read strictly by the crate's own type: an unknown member or value is GP_SPEC (400), naming it

async
boolean

true: run as a job and answer 202 with job_id, poll and events; the finished job's result is this route's body without the inline result (read result_key's blob). false: always inline (a heavy study takes a slot of the lane, or is refused GP_BUSY 429 when the lane is full). Left out: inline up to the study's job threshold (the answer's work), a job above

build
object

Plants made from the weather's years

layout_key
string

A stored PV layout whose blocks are the arrays of the build's PV plants (their specs then have no array), GP21.b: a content key, b3: and 64 lowercase hex digits

weather
object

A weather document (ss.gp.weather/1) inline; stored first and named by key. Give weather or weather_key

weather_key
string

A stored weather document's key (gp_weather_snapshot, gp_document or gp_weather_derive answer it): a content key, b3: and 64 lowercase hex digits

Response

calc, schema, result_key (BLAKE3 of the crate's canonical bytes; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, documents (every document read, by role and key), tables (each table read by id, item, revision and content key; never its entries), tables_on, parts (documents made with the result, each by key), layers (rasters and vectors stored in the spatial engine, read by /v1/spatial.raster/{key} and /v1/spatial.vector/{key}), networks (power networks stored for /v1/power.*), summary, lane (light | heavy | job), work (estimate, unit, light_up_to, job_above), result_bytes, result_inline and result

The response is of type object.