Create LCA from Excel
Create LCA from Excel
Create a complete LCA portfolio by uploading an Excel file
POST
Create LCA from Excel
Create LCA from Excel
Creates a complete LCA portfolio with all its components from an uploaded Excel file. The file must contain two sheets:process_map (defining nodes and relationships) and header (LCA metadata).
This endpoint requires API key authentication only (
x-api-key header). For JSON-based creation, see Create from JSON.Request
Authentication
Your API keyExample:
sk_live_1234567890abcdefHeaders
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faMust be
multipart/form-dataBody Parameters
Excel file (
.xlsx) containing the LCA definitionExcel File Format
The Excel file must contain two sheets:Sheet: header
LCA metadata (single row):
| Column | Type | Description |
|---|---|---|
name | string | LCA portfolio name |
description | string | Optional description |
impact_categories | string | JSON array of impact category IDs (e.g. ["gwp","ap"]) |
unit_id | string | UUID of the functional unit |
value | number | Functional unit quantity |
start_date | string | Start date (YYYY-MM-DD) |
end_date | string | End date (YYYY-MM-DD) |
start_node | string | Name of the root process node |
Sheet: process_map
Node definitions with parent-child relationships:
| Column | Type | Description |
|---|---|---|
id | string | Unique node identifier |
parent_id | string | ID of the parent node (empty for root) |
type | string | Node type: process, material, energy, waste |
name | string | Node display name |
supplier | string | Supplier name |
country | string | Country code (ISO 3166-1 alpha-2) |
transport_id | string | Transport type (e.g. truck, ship) — optional |
quantity | number | Quantity value |
unit | string | Unit of measurement |
process_map sheet:
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 Excel structure, missing sheets, or invalid dataRelated Endpoints
Create from JSON
Create LCA from a JSON tree structure
List LCA Portfolios
Browse all LCA portfolios
LCA Dashboard
View environmental impact results

