Skip to main content
POST
Fit a layered soil model to resistivity soundings (EG3)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
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. Left out: inline up to 5,000 straight runs of the system (SS_EARTHING_SYNC_RUNS), a job above

mode
enum<string>
Available options:
joint,
apart
settings
object

layers (exactly this many), max_layers (3: the fewest up to this many), outliers (exclude, the default | flag | ignore). Every member is optional unless said; an unknown one is refused (EARTHING_SETTINGS)

survey
object

The survey (ss.earthing.survey/1) inline: frame, traverses (Wenner, Schlumberger, dipole-dipole readings), tests (fall-of-potential and current-injection readings)

survey_key
string

The key of a stored survey

traverses
string[]

The traverses to fit, by id; every traverse of the survey when left out

Response

calc, schema, result_key (BLAKE3 of the result's canonical bytes: the crate's own; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, inputs (every document by key), fault_case, tables (each table read, by id, item, revision and content key: its citation; never its entries), tables_on, upstream, documents (earthing documents made with the result, by key), layers (rasters and vectors the result names, stored in the spatial engine: /v1/spatial.raster/{key}, /v1/spatial.vector/{key}), summary, lane (light | heavy | job), result_inline and result: the soil model, or the fits apart; and fit_findings

The response is of type object.