List Datasets
GET
v3/datasets
Retrieves a list of supported third-party datasets with detailed information.
Resource Information
| Method and URI | GET https://developer.api.autodesk.com/sustainability/v3/datasets |
| Authentication Context | User context required |
| Required OAuth Scopes | data:read |
| Data Format | JSON |
Request
Headers
| Authorization* string | Must be Bearer <token>, where <token> is a three-legged access token obtained via an Authorization Code flow or a Secure Service Account (SSA) flow.
The SSA flow is designed for headless server-to-server operations. While it functions like a two-legged flow (no user interaction), it is classified as three-legged because it preserves user context. |
* Required
Request
Query String Parameters
| offset int | The number of results to skip from the beginning of the collection before returning results. This allows pagination through large datasets by specifying which result to start from. Default value is 0 (start from the beginning). |
| limit int | The maximum number of results to return in a single response. This controls the page size for pagination and helps manage response times and memory usage. The actual number of results may be fewer due to filtering, data availability, or server constraints. |
Response
HTTP Status Code Summary
| 200 OK | A list of supported datasets was successfully retrieved. |
| 400 Bad Request | The server could not process your request. It’s likely due to incorrect formatting or missing information. The response body may indicate what is wrong. Please review and resubmit your request. |
| 401 Unauthorized | The supplied authorization header was invalid or the token scope was not acceptable. Verify your authentication credentials and try again. |
| 403 Forbidden | The request was valid but lacked the necessary permissions. Verify your credentials and permissions before sending the request again. |
| 404 Not Found | The requested resource could not be found on the server. Review the request and try again. |
Response
Body Structure (200)
Expand all
| results array: object | Array of datasets that are currently supported by the API, including their details and provider information. |
| id string | Unique identifier for the dataset. Use this value as the datasetId URI parameter in API requests to access this dataset’s data. |
| name string | The display name of the dataset. This is the human-readable name that should be shown to users when presenting dataset options. |
| description string | Detailed description of the dataset. This can include information about the data sources, methodologies, coverage, and the types of sustainability data it contains. |
| provider object | The display name of the data provider. This is the human-readable name that should be shown to users when identifying the dataset’s source. |
| name string | The display name of the sustainability data provider. This is the human-readable name that should be shown to users when presenting provider options. |
| supportedDataTypes array: string | Array of supported data types for this dataset. Must contain at least one data type.
Valid data types:
- |
| pagination object | Contains pagination metadata for navigating through large result sets. |
| offset int | The number of results skipped from the beginning of the collection to retrieve the current set of results. This value will be the value supplied in the request. |
| limit int | Determines maximum number of objects that may be returned in the current set of results. A request may return fewer objects due to filtering and other reasons. This value will be the value used by the server in the response. This may be different from the request. |
| totalResults int | The total number of results that match the request irrespective of the limit. Can be null if the total number of results is not known. |
| nextUrl string | Link that will return the next set of results. This value may be null which indicates that the consumer has reached the last set of results and should stop paging. |
Example
A list of supported datasets was successfully retrieved.
Request
curl -v 'https://developer.api.autodesk.com/sustainability/v3/datasets?limit=100' \
-H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a'
Response
{
"results": [
{
"id": "f47ac123-4569-4372-000a-0e0123a58479",
"name": "EC3 - Building Transparency",
"description": "The Embodied Carbon in Construction Calculator (EC3) tool is a free and easy to use tool that allows benchmarking, assessment and reductions in embodied carbon, focused on the upfront supply chain emissions of construction materials.\n",
"provider": {
"name": "EC3 - Building Transparency"
},
"supportedDataTypes": [
"baselines",
"generic-estimates",
"industry-epds",
"product-epds"
]
}
],
"pagination": {
"offset": 0,
"limit": 25,
"nextUrl": "https://developer.api.autodesk.com/sustainability/v3/datasets/f81d4fae-7dec-11d0-a765-00a0c91e6bf6/epds/categories?offset=25&limit=25",
"totalResults": 150
}
}
Show More