Skip to main content
GET
/
lca
/
portfolio
/
{lca_id}
/
dashboard
Get LCA Dashboard
const options = {
  method: 'GET',
  headers: {'x-api-key': '<x-api-key>', 'x-organization-id': '<x-organization-id>'}
};

fetch('https://api.dcycle.io/lca/portfolio/{lca_id}/dashboard', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "meta": {},
  "stages": {
    "stage": "<string>",
    "phase": "<string>",
    "label": "<string>",
    "categories": {
      "impact_category": "<string>",
      "impact_value": {},
      "impact_unit": "<string>",
      "top_contributors": {}
    }
  },
  "is_stale": true,
  "validation_errors": {},
  "calculation_warnings": {}
}

Get LCA Dashboard

Retrieve the calculated environmental impact results for a specific LCA, organized by EN 15804 life cycle stages (A1–A4, B6, B7). Each stage contains impact values across all selected impact categories.

Request

Path Parameters

lca_id
uuid
required
The UUID of the LCA portfolioExample: a1b2c3d4-e5f6-7890-abcd-ef1234567890

Headers

x-api-key
string
required
Your API key for authentication
x-organization-id
string
required
Your organization UUID

Query Parameters

view
string
default:"system"
Allocation view for co-product LCAs.Available values:
  • system — Total system impact (default)
  • product_total — Impact allocated to a specific co-product (requires output_product_id)
  • product_unit — Per-unit impact of a co-product (requires output_product_id)
output_product_id
uuid
UUID of the output product for co-product allocation views (product_total or product_unit). Required when view is not system.Example: bf800281-bcc7-42f4-81e4-8ec9abb9745e

Response

meta
object
Metadata about the LCA and dashboard configuration
stages
array[object]
Array of life cycle stage results
is_stale
boolean
Whether the results may be outdated and need recalculation
validation_errors
array[object]
List of validation issues that may affect result accuracy
calculation_warnings
array[object]
Warnings from the calculation engine (e.g., missing emission factors)

Example

curl -X GET "https://api.dcycle.io/lca/portfolio/a1b2c3d4-e5f6-7890-abcd-ef1234567890/dashboard?view=system" \
  -H "x-api-key: ${DCYCLE_API_KEY}" \
  -H "x-organization-id: ${DCYCLE_ORG_ID}"

Successful Response

{
  "meta": {
    "lca_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "view": "system"
  },
  "stages": [
    {
      "stage": "A1",
      "phase": "Production",
      "label": "Raw material supply",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 245.67,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": [
            {
              "name": "Portland cement",
              "value": 180.2,
              "percentage": 73.3
            }
          ]
        },
        {
          "impact_category": "acidification",
          "impact_value": 1.23,
          "impact_unit": "mol H+-Eq",
          "top_contributors": null
        }
      ]
    },
    {
      "stage": "A2",
      "phase": "Production",
      "label": "Transport to manufacturer",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 18.45,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": null
        }
      ]
    },
    {
      "stage": "A3",
      "phase": "Production",
      "label": "Manufacturing",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 95.12,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": null
        }
      ]
    },
    {
      "stage": "A4",
      "phase": "Downstream",
      "label": "Distribution",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 12.34,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": null
        }
      ]
    },
    {
      "stage": "B6",
      "phase": "Downstream",
      "label": "Operational energy use",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 0.0,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": null
        }
      ]
    },
    {
      "stage": "B7",
      "phase": "Downstream",
      "label": "Operational water use",
      "categories": [
        {
          "impact_category": "climate_change",
          "impact_value": 0.0,
          "impact_unit": "kg CO2-Eq",
          "top_contributors": null
        }
      ]
    }
  ],
  "is_stale": false,
  "validation_errors": [],
  "calculation_warnings": []
}

Co-Product Allocation Example

For LCAs with multiple output products, use the view and output_product_id parameters to see allocated impacts:
# Per-unit impact for a specific co-product
curl -X GET "https://api.dcycle.io/lca/portfolio/{lca_id}/dashboard?view=product_unit&output_product_id={product_id}" \
  -H "x-api-key: ${DCYCLE_API_KEY}" \
  -H "x-organization-id: ${DCYCLE_ORG_ID}"

Common Errors

404 Not Found

Cause: LCA does not exist or does not belong to the specified organization
{
  "code": "NOT_FOUND",
  "detail": "LCA not found"
}

422 Validation Error

Cause: product_total or product_unit view requested without output_product_id
{
  "detail": "output_product_id is required for product_total and product_unit views"
}

List LCA Portfolios

Retrieve all LCA portfolios

LCA Overview

LCA API introduction and concepts