site
Query
Look up a site’s information, such as its name, location and devices, by its unique identifier.
Response
Returns Site
Arguments
| Name | Type | Description |
|---|---|---|
id | ID! | The site’s unique identifier. |
Example
query site( $id: ID!) { site( id: $id ) { id name timezone position { type coordinates crs { type properties } } polygon { type coordinates crs { type properties } } devices { id uuid externalId name enabled address frameRate position { type coordinates } dataSource { id name type labels } site { id name timezone } transcoderId calibrations { id timestamp precomputeAt } pointOfInterest { id name metadata } lastHeartbeat } pointsOfInterest { id site { id name timezone } name position { type coordinates } devices { id uuid externalId name enabled address frameRate transcoderId lastHeartbeat } geofences { id name labels active } metadata } geofences { id name labels site { id name timezone } pointOfInterest { id name metadata } bounds { height } active } facilities { id name site { id name timezone } layers { id name imageUrl metadata } metadata } }}{ "id": "35079f0a-92ef-8074-bd2c-7d44feb6511a"}{ "data": { "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92", "position": { "type": "type-bd8d", "coordinates": [ 538.37 ], "crs": { "type": "type-8d98", "properties": {} } }, "polygon": { "type": "type-1b8e", "coordinates": [ [ [ [ 320.82 ] ] ] ], "crs": { "type": "type-8d98", "properties": {} } }, "devices": [ { "id": "61d2e4db-361d-8d20-92f2-04f4efd74ac2", "uuid": "c43d07da-1005-849e-88e2-1ac21370e6c3", "externalId": "fb6f96a9-958e-889f-8d8b-56797ec9a35c", "name": "name-c8f9", "enabled": true, "address": "address-b541", "frameRate": 198.29, "position": { "type": "type-bd8d", "coordinates": [ 538.37 ] }, "dataSource": { "id": "d12da500-1c9d-8517-8064-a811ebcd3707", "name": "name-549e", "type": "FOLDER", "labels": [ "labels-516b" ] }, "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "transcoderId": "26ca1b82-27b2-8a32-9063-ce85dbc5be74", "calibrations": [ { "id": "df384b8d-3900-85a7-b8c8-32d6f760286a", "timestamp": "2025-01-01T00:00:00.000Z", "precomputeAt": "2025-01-01T00:00:00.000Z" } ], "pointOfInterest": { "id": "9bf022b1-0c59-8550-8625-aca917feaaeb", "name": "name-9f71", "metadata": {} }, "lastHeartbeat": "2025-01-01T00:00:00.000Z" } ], "pointsOfInterest": [ { "id": "9bf022b1-0c59-8550-8625-aca917feaaeb", "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "name": "name-9f71", "position": { "type": "type-bd8d", "coordinates": [ 538.37 ] }, "devices": [ { "id": "61d2e4db-361d-8d20-92f2-04f4efd74ac2", "uuid": "c43d07da-1005-849e-88e2-1ac21370e6c3", "externalId": "fb6f96a9-958e-889f-8d8b-56797ec9a35c", "name": "name-c8f9", "enabled": true, "address": "address-b541", "frameRate": 198.29, "transcoderId": "26ca1b82-27b2-8a32-9063-ce85dbc5be74", "lastHeartbeat": "2025-01-01T00:00:00.000Z" } ], "geofences": [ { "id": "a9cd2c5d-0ca1-8c25-a90a-11ef7a2bdb24", "name": "name-163f", "labels": [ "labels-914c" ], "active": false } ], "metadata": {} } ], "geofences": [ { "id": "a9cd2c5d-0ca1-8c25-a90a-11ef7a2bdb24", "name": "name-163f", "labels": [ "labels-914c" ], "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "pointOfInterest": { "id": "9bf022b1-0c59-8550-8625-aca917feaaeb", "name": "name-9f71", "metadata": {} }, "bounds": { "height": 709.45 }, "active": false } ], "facilities": [ { "id": "b74f2e17-122f-881f-b24c-01864ff83b5a", "name": "name-d590", "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "layers": [ { "id": "9a8a4b6e-0482-86f1-be17-6f4189dd8840", "name": "name-5158", "imageUrl": "imageUrl-44c9", "metadata": {} } ], "metadata": {} } ] } }}