buildings.list (version 1)
Buildings the user can see in this tenant, ordered by name, or by how well they match search. Page with offset while hasMore is true.
bearerAuthorizationBearer <JWT>A signed-in Relynk user's access token: OAuth 2.0 authorization code with PKCE at https://auth.relynk.io/authorize and https://auth.relynk.io/oauth/token, with audience https://ai.relynk.io/builder. The caller sees exactly what that user may see.
tenantId?stringThe tenant to read. May be left out when the caller belongs to exactly one tenant; GET /me lists them.
uuidapplication/json- body
search?stringOnly buildings whose name resembles this text (fuzzy: a word, part of a name or a near miss), best matches first
1 <= length <= 200limit?integerBuildings per page
1 <= value <= 500100offset?integerBuildings to skip, for paging
0 <= value <= 90071992547409910The function output
application/json- response
buildings*array<>items <= 500hasMore*booleanTrue when more buildings follow this page
curl -X POST 'https://ai.relynk.io/builder/v1/buildings.list/v1' \ -H 'Content-Type: application/json' \ -d '{}'{ "buildings": [ { "id": "string", "name": "string" } ], "hasMore": true}Who the token acts as and the tenants it can read GET
Who the token acts as and the tenants it can read
resourceTypes.list (version 1) POST
The REC/Brick types the tenant actually uses, with how many resources of each type, e.g. to find the type keys of rooms, air handling units or temperature sensors before filtering other functions by them.