/v1/dataset endpoint lists datasets in your account - ones you’ve added from the Variable Database, created yourself, or received from a supplier. This is different from the /v1/database (search) endpoint, which searches the global Variable Database.
API documentation: Dataset , Database search
How datasets relate to products and materials
A Product (LCA) is a modeled footprint - it has a bill of materials with Inputs. A Material gets its impacts by referencing a Dataset directly. See Products & Materials for more.Binding a dataset to an element
A sourced element — a material, energy, or process — that draws its impact from a single dataset is an external element (dataSource: external). Create or update one through the API (/v1/material, /v1/energy, /v1/process) or MCP and bind its dataset by sending dataset: { uuid }; binding one makes the element external. Add datasetAmount to set the quantity its per-unit factor scales, or omit it to consume one declared unit of the dataset. Its unit must be in the dataset’s dimension (500 g of a per-kg dataset); an amount in another dimension returns a 400. Sending a different dataset on update re-points the element. Use database search to find a dataset to bind.
Premium datasets
A premium dataset comes from a licensed database, such as ecoinvent. Its impacts are shown only to an account on a plan that includes premium databases, and only once the account has saved the dataset or uses it in one of its elements. Database search never shows them, saved or not. When a dataset’s impacts are withheld, the response carriesimpactsWithheld: true and omits impacts and footprint. To read them:
- Find the dataset with database search.
- Save it with
POST /v1/dataset/{uuid}. The response is the dataset asGET /v1/dataset/{uuid}returns it, impacts included. Saving a dataset that’s already saved changes nothing. - Read it later with
GET /v1/dataset/{uuid}.
DELETE /v1/dataset/{uuid} unsaves a dataset you added from the Variable Database or received from a supplier, and deletes a dataset you created. Either is refused while one of your elements uses the dataset.
Sorting search by CO2e (orderBy=co2e) still works on premium results: they’re ranked by their stored value, which stays hidden.
On a plan that includes premium databases, the impacts your account derives from a premium dataset (on materials, products, activities and transport lanes) are never withheld.
Attributes
Footprint
Thefootprint.CO2e object holds the CO2e values for the dataset. See Products & Materials for the full footprint structure.