Buildings and data sources
Get a building
Returns one building, with its counts and the number of devices that are ok or down.
GET
Get a building
The response answers
403 when the building does not exist, when it is not available to your service account, and when the api product is not enabled for it. The API does not say which, so a building id cannot be guessed. A building you just created answers 403 until the api product is enabled. See Create a building.areasCount, devicesCount, connectorsCount, systemsCount, and pointsCount) and stats.devices come from the building data in KODE OS. They are 0 for a building that has no data yet. List buildings leaves stats empty.Authorizations
Paste an access token from Create an access token. Tokens expire, so request a new one if you receive 401.
Path Parameters
Building identifier from List buildings.
Response
The building.
Date and time in UTC, with a numeric offset and no colon, for example 2026-10-28T13:51:31+0000.
Example:
"2026-10-28T13:51:31+0000"
Date and time in UTC, with a numeric offset and no colon, for example 2026-10-28T13:51:31+0000.
Example:
"2026-10-28T13:51:31+0000"

