Skip to main content
POST
Recompute LCA

Authorizations

X-API-Key
string
header
required

Per-manufacturer API key in the X-API-Key header, format emidat-{key_id}-{secret} where key_id is a random public handle. Issued by an owner in the Emidat dashboard; carries its own permission scopes, optional plant restrictions, and optional expiry. A revoked, expired, or unknown key returns 401. See the Authentication guide for details.

Path Parameters

id
string<uuid>
required

The instance's Emidat UUID.

Response

Recompute accepted. Poll GET /v2/product-instances/{id}/lca-results for the outcome.

State of the recompute triggered by POST /v2/product-instances/{id}/lca-update. Recompute runs in the background, so this is how you tell finished results from in-flight ones.

status
enum<string>
required

idle — no recompute has been requested since the last one expired. queued/processing — a recompute is in flight; results are withheld until it finishes. completed — the last recompute succeeded. failed — it did not; see err_code.

Available options:
idle,
queued,
processing,
completed,
failed
Example:

"queued"

err_code
string | null
required

Why the last recompute failed, drawn from the same err_* namespace as Error.err_code. Null unless status is failed.