Facility Tools
Facilities are the physical locations where your organization operates — offices, factories, warehouses, data centers, waste water treatment plants, etc. They are the anchor entity for most environmental data: energy invoices, waste records, and water consumption are all linked to a specific facility.Facilities are the starting point for most queries. Call
list_facilities first to discover facility IDs, then use those IDs with list_invoices, list_wastes, or get_greenhouse_gas_emissions.Read Operations
list_facilities
List facilities for an organization with optional filters.
Parameters:
Example response:
Example prompts:
get_facility
Get a single facility by ID with full details including address, categories, emission totals, and linked data such as waste water treatment configuration.
Parameters:
Returns the same fields as
list_facilities items, plus additional fields for waste water treatment facilities:
Example prompts:
Write Operations
create_facility
Create a new facility in the organization. Returns the created facility with its assigned ID.
Address or Country Required: You must provide either an
address (from which the country is geocoded automatically) or a country code. If both are provided, the geocoded country from the address takes precedence.
Example response:
update_facility
Update an existing facility. Only provided fields are changed — omitted fields remain unchanged.
Parameters:
Example response:
Workflows
Querying facility data
- Discover facilities —
list_facilitiesto find by name, country, or type - Inspect a facility —
get_facilityfor full details - Query energy data —
list_invoiceswith thefacility_idto see electricity, gas, water consumption - Query waste data —
list_wasteswith thefacility_idfor waste records and treatment methods - Query emissions —
get_greenhouse_gas_emissionswith thefacility_idfor validated emission totals
Setting up a new facility
- Create the facility —
create_facilitywith name, type, and location - Verify it was created —
get_facilityto confirm details - Upload energy data — Use the API or CLI to upload invoices for the new facility
- Check emissions —
get_greenhouse_gas_emissionsonce invoices are processed
Managing existing facilities
- Find the facility —
list_facilitieswith name or country filter - Update details —
update_facilityto rename, change address, or update categories - Archive if needed —
update_facilitywithstatus: "archived"(cascades to linked resources)
Related
API: Create Facility
REST API endpoint for facility creation
API: Update Facility
REST API endpoint for facility updates
Invoices
Energy invoices linked to a facility
Wastes
Waste records linked to a facility
Emissions
Aggregated emissions by facility
CLI
Manage facilities from the command line