Skip to main content
POST
A substation as a site: ground slope, bench and earthworks, access track to the road graph, the engineer's slope limits checked (`ss.power.site.result/1`)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
terrain_key
string
required

The terrain raster's key (spatial_raster_import): projected, terrain heights

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, or page it with power_contingency_page). false: always inline. Left out: inline up to an estimated work of 5e6 bus-solves (SS_POWER_PLANNING_SYNC_WORK; N-1 of a 2,000-bus case is about 7e6, an AC OPF of 13,659 buses 9e6), a job above. Above 2e5 (SS_POWER_PLANNING_LIGHT_WORK) a study takes a slot of PW12's heavy lane

roads_key
string

An SP5 road graph's key (spatial_snapshot), for the access

site
object

The site document (ss.power.site/1), inline

site_key
string

A stored site document's key (an earlier answer's documents.site)

Response

study, schema, result_key (BLAKE3 of the result's canonical bytes, the crate's own content_hash; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, documents (each document the study read, by content key), network {key, name, counts}, case, summary, elapsed_ms, work (the estimate the lane and the job threshold read), result_inline, and result (the whole result document, up to 16 MiB). result: site_key, terrain_key, terrain_frame, terrain_source, roads_key, footprint, ground, bench, earthworks, access, checks, findings, methods

The response is of type object.