Skip to main content
GET
Get Facility

Get Facility

Retrieve detailed information about a specific facility in your organization.

Request

Path Parameters

uuid
required
The UUID of the facility to retrieveExample: 550e8400-e29b-41d4-a716-446655440000

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Response

string
Unique identifier (UUID)
string
Facility name
string | null
Physical address
string
ISO country code
string
Facility type
string
Status: active or archived
number | null
CO2e emissions in kg
number | null
CO2e from biomass
number | null
Logistic factor (0-1)
array[string] | null
Consumption categories
array[string] | null
CUPS codes
string | null
Purpose type
datetime
Creation timestamp
datetime | null
Last update timestamp
integer
Number of enabled invoices linked to this facility with status='review', across all categories (electricity, water, heat, recharge). Defaults to 0.
integer
Number of configured consumption categories that have no enabled invoices. Defaults to 0.
string | null
Water type of the waste water treatment line (only for waste_water_facilities)
boolean | null
Whether methane is burned (only for waste_water_facilities)
object | null
Waste water treatment line config (only for waste_water_facilities)
object | null
Sludge treatment line config (only for waste_water_facilities)
object | null
Water discharge line config (only for waste_water_facilities)

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The user is not a member of the organization, or facility does not belong to the organization specified in x-organization-id

404 Not Found

Cause: Facility with the given ID does not exist

List Facilities

Retrieve all facilities

Update Facility

Modify facility details