Create LCA from JSON
Create LCA from JSON
Create a complete LCA portfolio from a hierarchical JSON tree structure
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
Your API keyExample:
sk_live_1234567890abcdefHeaders
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faMust be
application/jsonBody Parameters
Name of the LCA portfolio
Functional unit name (e.g.
"kg", "unit", "m2")Functional unit quantity (must be >= 0)
Start date of the assessment periodFormat:
YYYY-MM-DDEnd date of the assessment period (must be after start_date)Format:
YYYY-MM-DDID of the root node in the
nodes dictionary. Must be a process type node.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.UUID of the created LCA portfolio
Summary of the created LCA structure
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key422 Unprocessable Entity
Cause: Invalid tree structure, missing nodes, or broken references422 Unprocessable Entity — Invalid date range
Cause: Invalid or missing required fields in the request bodyRelated Endpoints
Create LCA Portfolio
Create a basic portfolio (without tree structure)
List LCA Portfolios
Browse all LCA portfolios
LCA Dashboard
View environmental impact results

