List Wastes
List Wastes
Retrieve a paginated list of waste records for a facility with filtering and enriched data
GET
List Wastes
List Wastes
Retrieve a paginated list of waste disposal records for a specific facility. Each record includes enriched data: CO2e emissions, emission factor codes (LER/RD), linked projects, unit details, and the user who uploaded it.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faQuery Parameters
UUID of the facility to retrieve waste records forExample:
660e8400-e29b-41d4-a716-446655440000Filter by waste record status. Can be specified multiple times.Available values:
uploaded, active, loading, errorExample: status[]=active&status[]=uploadedFilter records with a start date on or after this date (ISO 8601)Example:
2024-01-01Filter records with an end date on or before this date (ISO 8601)Example:
2024-12-31Filter by linked file UUID. Can be specified multiple times.Example:
file_id[]=550e8400-e29b-41d4-a716-446655440000Filter records created on or after this timestamp (ISO 8601)Example:
2024-01-01T00:00:00ZFilter records created on or before this timestamp (ISO 8601)Example:
2024-12-31T23:59:59ZFilter by CO2e calculation statusAvailable values:
calculated, not_calculatedExample: co2e_status=calculatedFilter by waste identification name. Can be specified multiple times.Example:
identification_name[]=RSU-2024-001Filter by LER (European Waste Catalogue) code. Can be specified multiple times.Example:
ler_code[]=15 01 01Filter by RD disposal/recovery code. Can be specified multiple times.Example:
rd_code[]=R1Filter by project UUIDExample:
770e8400-e29b-41d4-a716-446655440000Sort field. Prefix with
- for descending order.Example: -start_date (most recent first), identification_namePage number for paginationExample:
1Number of items per page (max 100)Example:
50Response
Array of waste record objects
Total active and uploaded waste records in the facility (facility-wide counter, independent of filters)
Number of waste records currently being processed (
loading status) in the facilityTotal records matching the current filters — use this for pagination calculations
Current page number
Number of items per page
Hash of the current filter state. Passed to Bulk Delete by Filters to confirm the filters haven’t changed between listing and deleting.
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The facility does not belong to your organizationfacility_id belongs to your organization using the Facilities API.
422 Validation Error
Cause: Missing requiredfacility_id or invalid query parameter values
facility_id is provided and all filter values are valid.
Related Endpoints
Create Waste
Add a new waste disposal record
Update Waste
Modify an existing waste record
Bulk Delete by Filters
Delete all records matching the current filters
Facilities
List facilities for your organization

