Request

Response

    Filter Impacts for Product EPDs
    POST

    v3/datasets/{datasetId}/product-epds/details/{productEpdId}/impacts:filter

    Retrieves a filtered list of impact indicators for a specific product EPD. Only impact indicators with at least one non-null lifecycle stage are returned.

    Resource Information

    Method and URI
    POST
    https://developer.api.autodesk.com/sustainability/v3/datasets/{datasetId}/product-epds/details/{productEpdId}/impacts:filter
    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.

    Content-Type*
    string
    Must be application/json
    * Required

    Request

    URI Parameters

    datasetId
    string
    Unique identifier for the dataset. Use this value as the datasetId URI parameter in API requests to access that dataset’s data.
    productEpdId
    string
    Unique identifier for the product EPD. The value is specific to each data provider and may be a UUID or another type.

    Request

    Query String Parameters

    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.
    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).

    Request

    Body Structure

    Filter criteria to narrow down impact indicators

    Expand all
    filters*
    object
    Map of filter id to filter clause. Keys are filter identifiers; values are { op, value } objects. An empty object applies no filtering. Omit optional known filters rather than sending null as the clause value.
    **
    object
    A well-formed filter clause. Each key under filters in the request body must map to an object with op and value. Sending explicit null as the clause (instead of { op, value }) is invalid. The value field may be null as a primitive when the operator allows it.
    op*
    enum:string
    Filter operator. Must be one of the supported operators. Possible values: EQ, NEQ, IN, NOT_IN, LT, LTE, GT, GTE, CONTAINS, BETWEEN
    value*
    one of
    Filter value. For scalar operators (EQ, NEQ, LT, LTE, GT, GTE, CONTAINS), supply a single primitive (string, number, boolean, or null). For array operators (IN, NOT_IN), supply an array of primitives. For BETWEEN, supply a 2-element array representing the inclusive range bounds.
    0*
    string
    1*
    number
    2*
    boolean
    3*
    array
    oneOf*
    array:oneOf
    0*
    string
    1*
    number
    2*
    boolean
    * Required

    Response

    HTTP Status Code Summary

    200
    OK
    Impact indicators were successfully retrieved.
    400
    Bad Request
    The request could not be processed due to invalid or malformed data. Check the request parameters, body format, and required fields before retrying.
    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.
    422
    Unprocessable Entity
    The dataset does not declare the data type required by this route in supportedDataTypes. Use GET /v3/datasets to inspect supportedDataTypes for the dataset.
    424
    The request could not be completed because the data provider failed or does not support this operation. Inspect the response body’s type, title, and detail fields to determine the cause: NOT_FOUND means the operation is unsupported for this dataset; AUTH_ERROR means the provider could not authenticate the request due to invalid credentials or token; RESOURCE_NOT_FOUND means the requested resource could not be found; REQUEST_LIMIT_EXCEEDED means the data provider has reached its request limit. Please reach out to them; UNKNOWN means the provider encountered an unexpected error.

    Response

    Body Structure (200)

    Expand all
    results
    array: object
    List of impact indicators (excludes indicators where all stages are null)
    declaredUnit
    object
    Declared unit for measurements
    qty
    number
    Quantity value for the declared unit
    unit
    enum:string
    Canonical unit code. Mass units: t is the metric tonne (exactly 1000 kg); ton is the US short ton (exactly 907.18474 kg). These are distinct and not convertible within SDA. Possible values: cm, ft, ft2, in, item, kg, kW, kWh, m, m2, m3, MJ, mm, MPa, psi, t, ton, tkm, W, year, yd3
    indicator
    string
    The impact indicator type
    methodology
    string
    The assessment methodology used
    a1
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    a2
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    a3
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    a1a2a3
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    a4
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    a5
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    b1
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    b2
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    b3
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    b4
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    b5
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    b1b2b3b4b5
    object
    Represents an impact value for a lifecycle stage, with an associated reference period. A LifecycleStageValueWithPeriod can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    referencePeriod
    object
    Reference period for the use stage (B1-B7). The object itself can be null, but if present, both qty and unit are required.
    qty
    number
    Period quantity value
    unit
    string
    Period unit (e.g., year, month)
    c1
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    c2
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    c3
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    c4
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    c1c2c3c4
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    d
    object
    Represents an impact value for a lifecycle stage. A LifecycleStageValue can be null if it’s not applicable, otherwise both qty and unit are required.
    qty
    number
    Quantity value
    unit
    string
    Unit of measurement
    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.
    appliedFilters
    object
    Present on every successful :filter response; may be an empty object. Maps filter ids the client sent that were used for this action to { requested, applied, warnings? } entries.
    *
    object
    An applied filter entry showing the requested and applied filter values.
    requested
    object
    The filter value as requested by the client.
    op
    enum:string
    The filter operator. Possible values: EQ, NEQ, IN, NOT_IN, LT, LTE, GT, GTE, CONTAINS, BETWEEN
    value
    one of
    The filter value. Can be a single string, number, boolean, an array of strings, an array of numbers, or null.
    0
    string
    1
    number
    2
    boolean
    3
    array: string
    4
    array: number
    applied
    object
    The filter value as actually applied.
    op
    enum:string
    The filter operator. Possible values: EQ, NEQ, IN, NOT_IN, LT, LTE, GT, GTE, CONTAINS, BETWEEN
    value
    one of
    The filter value. Can be a single string, number, boolean, an array of strings, an array of numbers, or null.
    0
    string
    1
    number
    2
    boolean
    3
    array: string
    4
    array: number
    warnings
    array: string
    Optional warnings about the applied filter.
    ignoredFilters
    object
    Present on every successful :filter response; may be an empty object. Maps filter ids the client sent that are not supported for this action (per filter discovery for that resource and action) to { reason } entries. Keys must match the client’s filter ids exactly. Every filter entry in the request must be a valid { op, value } clause (see the filter request schema) or the request fails with 400.
    *
    object
    An ignored filter entry with the reason it was ignored.
    reason
    string
    The reason the filter was ignored. For filter ids not supported on this action, the response uses the fixed string Filter is not supported by this connector.
    warnings
    array: string
    Optional top-level warnings when one or more list items from the data provider failed validation and were excluded from results. Omitted when no items were stripped.

    Example

    Impact indicators were successfully retrieved.

    Request

    curl -v 'https://developer.api.autodesk.com/sustainability/v3/datasets/f81d4fae-7dec-11d0-a765-00a0c91e6bf6/product-epds/details/b03dba1dca5b49acb1a5aa4daab546b4/impacts:filter?limit=100' \
      -X 'POST' \
      -H 'Authorization: Bearer AuIPTf4KYLTYGVnOHQ0cuolwCW2a' \
      -H 'Content-Type: application/json' \
      -d '{
            "filters": {
              "jurisdictions": {
                "op": "IN",
                "value": [
                  "US",
                  "CA"
                ]
              }
            }
          }'
    
    Show More

    Response

    {
      "results": [
        {
          "declaredUnit": {
            "qty": 1,
            "unit": "m3"
          },
          "indicator": "gwp",
          "methodology": "TRACI2.1",
          "a1": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "a2": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "a3": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "a1a2a3": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "a4": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "a5": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "b1": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "b2": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "b3": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "b4": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "b5": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "b1b2b3b4b5": {
            "qty": 0.5,
            "unit": "kgCO2e",
            "referencePeriod": {
              "qty": 50,
              "unit": "year"
            }
          },
          "c1": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "c2": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "c3": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "c4": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "c1c2c3c4": {
            "qty": 12.5,
            "unit": "kgCO2e"
          },
          "d": {
            "qty": 12.5,
            "unit": "kgCO2e"
          }
        }
      ],
      "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
      },
      "appliedFilters": {
        "categoryId": {
          "requested": {
            "op": "EQ",
            "value": "cat-masterformat-033000"
          },
          "applied": {
            "op": "EQ",
            "value": "cat-masterformat-033000"
          }
        },
        "jurisdictions": {
          "requested": {
            "op": "IN",
            "value": [
              "US",
              "CA"
            ]
          },
          "applied": {
            "op": "IN",
            "value": [
              "US"
            ]
          },
          "warnings": [
            "Value 'CA' is not supported for jurisdictions and was ignored."
          ]
        }
      },
      "ignoredFilters": {
        "unknown_filter": {
          "reason": "Filter is not supported by this connector."
        }
      },
      "warnings": [
        "The number of results returned differs from pagination.totalResults because 1 record from the data provider failed validation and were omitted. Please contact your data provider for assistance. Example record ID: bad-record-1."
      ]
    }
    
    Show More