List Waste Water Treatments
List Waste Water Treatments
Retrieve a paginated list of waste water treatment records for a facility with filtering and enriched data
GET
List Waste Water Treatments
Documentation Index
Fetch the complete documentation index at: https://code.dcycle.io/llms.txt
Use this file to discover all available pages before exploring further.
List Waste Water Treatments
Retrieve a paginated list of waste water treatment (WWT) records for a specific facility. Each record includes enriched data: CO2e emissions, linked projects, the user who uploaded it, and facility breakdown information.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 water treatment records forExample:
660e8400-e29b-41d4-a716-446655440000Filter records with a start date on or after this date (ISO 8601)Example:
2025-01-01Filter records with an end date on or before this date (ISO 8601)Example:
2025-12-31Filter by record status. Can be specified multiple times.Available values:
uploaded, active, loading, errorExample: status[]=active&status[]=uploadedFilter by CO2e calculation statusAvailable values:
calculated, not_calculatedExample: co2e_status=calculatedFilter by project UUIDExample:
770e8400-e29b-41d4-a716-446655440000Sort field. Prefix with
- for descending order.Example: -start_date (most recent first), invoice_idPage number for paginationExample:
1Number of items per page (max 100)Example:
50Response
Array of waste water treatment record objects
Total active and uploaded WWT records in the facility (facility-wide counter, independent of filters)
Number of WWT 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
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.
422 Validation Error
Cause: Missing requiredfacility_id or invalid query parameter values
Solution: Ensure facility_id is provided and all filter values are valid.
Related Endpoints
Bulk Upload Waste Water Treatments
Create multiple WWT records at once
Delete Waste Water Treatment
Delete a single WWT record by ID

