Skip to main content
POST
Create LCA from JSON

Create LCA from JSON

Creates a complete LCA portfolio with all its components (processes, materials, energy, waste, transport) from a hierarchical JSON tree structure. This is the recommended endpoint for programmatic LCA creation.
This endpoint requires API key authentication only (x-api-key header).

Request

Authentication

string
required
Your API keyExample: sk_live_1234567890abcdef

Headers

string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa
string
required
Must be application/json

Body Parameters

string
required
Name of the LCA portfolio
string
required
Functional unit name (e.g. "kg", "unit", "m2")
number
required
Functional unit quantity (must be >= 0)
string
required
Start date of the assessment periodFormat: YYYY-MM-DD
string
required
End date of the assessment period (must be after start_date)Format: YYYY-MM-DD
string
required
ID of the root node in the nodes dictionary. Must be a process type node.
object
required
Dictionary of node definitions keyed by node ID. Each node has a type that determines its fields.Node types:

Response

Returns HTTP 201 with the created LCA information.
string
UUID of the created LCA portfolio
object
Summary of the created LCA structure

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

422 Unprocessable Entity

Cause: Invalid tree structure, missing nodes, or broken references

422 Unprocessable Entity — Invalid date range

Cause: Invalid or missing required fields in the request body

Create LCA Portfolio

Create a basic portfolio (without tree structure)

List LCA Portfolios

Browse all LCA portfolios

LCA Dashboard

View environmental impact results