Sat-MRV API

SatMRV is Spacenus's soil-sampling and MRV (measurement, reporting, verification) workflow. This page covers the concepts, base URL, auth, response shapes, and rules shared across every SatMRV endpoint, so you have the shared ground before jumping into a specific product's page.

What SatMRV does

The workflow is built around AOIs (Areas of Interest): you define an AOI over one or more Fields, order stratification data for it, run stratification to produce zones, generate a sample plan, save the results, then physically collect and log samples out in the field.

1. Define an AOI

Create an AOI over one or more of your Fields. This is the container everything else in the workflow attaches to.

2. Order stratification data

Order the underlying data needed to stratify the AOI.

3. Stratify into zones

Run stratification on the ordered data to produce sampling zones.

4. Generate a sample plan

Turn the zones into a concrete plan of sample points.

5. Save results

Persist the stratification/sample-plan output you want to keep.

6. Collect and log samples

Physically collect samples at the planned points and log the results.

Two older mount points for this same underlying pipeline still exist — /api/v1.2/regenerative-farming/... and /api/v1.2/sampling/.... SatMRV (/api/v1.2/sat-mrv/...) is the current, actively-maintained surface. Don't build new integrations against the legacy paths.

Base URL and authentication

All SatMRV endpoints are mounted under:

https://backend.spacenus.de/api/v1.2/sat-mrv/

Every request must be authenticated. Send your access token as a bearer token:

Authorization: Bearer YOUR_TOKEN

Response envelope

Every SatMRV response — like the rest of the Spacenus API — is wrapped in a standard envelope:

  • A successful (2xx) response looks like {"status": "success", "message": ..., "data": ...}.
  • An error (4xx) response looks like {"status": "error", "message": ..., "details": ...}.

A permission-denied response (403) carries this shape specifically:

{
  "code": "permission_denied",
  "message": "...",
  "details": {
    "required_permission": "...",
    "action": "...",
    "resource": "..."
  }
}

Check details.required_permission when debugging a 403 — it tells you exactly which permission slug your token's role/company is missing.

Products at a glance

ProductWhat it's forGuide
AOIsDefine the area you're sampling, covering one or more Fields; also where you look up stratification/SOC pricingAOIs
Stratification workflowRun stratification on an AOI's ordered data to produce zones, then generate a sample planStratification Workflow
Stratification data ordersOrder the underlying data an AOI needs before it can be stratifiedStratification Data Orders
Saved mapsPersist stratification and sample-plan resultsSaved Maps
SamplesLog physically-collected soil samplesSamples
Sample-point reportsReports scoped to an individual sample pointSample-Point Reports
Soil propertySoil property data tied to your samplesSoil Property
SOC ordersOrder soil organic carbon (SOC) dataSoil Organic Carbon Map (SOC) Orders
SOC ProjectionProject soil organic carbon forward over timeSOC Projection

The map_tag / plan_tag draft shortcut

Several actions in the stratification workflow accept an optional map_tag/plan_tag. Omit it and the system resolves to your current unsaved draft automatically; if you do supply one, it must reference an actual unsaved draft slot, or the request is rejected. This comes up in several places across stratification and sample-plan actions — see Stratification Workflow for the full contract.

Pagination

Standard list pagination applies across SatMRV: results default to page size 10, and you can pass ?page=all to get the full, unpaginated result set in the same response envelope. There's one documented exception on the Samples list endpoint — see Samples for that detail.

What's next

Start with AOIs if you haven't created one yet, then follow the workflow through stratification data orders, the stratification workflow, saved maps, and samples. The SOC track (SOC orders, SOC Projection) and reporting endpoints (sample-point reports, soil property) build on the same AOIs and auth/envelope rules covered on this page.