Huddle data represents a specific occurrence of a huddle in LENS. Each time a LENS unit records a huddle, a huddle data item is created that includes information like the huddle it is associated with and the time and duration of the huddle. Huddle data is considered archived if it was deleted manually or its associated huddle was deleted.
Request
GET {LENS_URL}/api/v2/huddleData
Headers
Include your PAT in the Authorization header of your request.
Header | Description |
| Your Personal Access Token |
Query Parameters
Parameter | Description | Required |
| Comma-separated list of entity group names. | No |
| Include archived huddle data, including data linked to archived huddles, in response data. | No |
| Filter response data to huddle data recorded within the specified number of days prior to the current date. Accepted values range from | No |
Response
Field | Description | Required |
| The huddle data's unique ID. | Yes |
| Associated huddle | Yes |
| Date and time the huddle session started. | No |
| Date and time the huddle session ended. | No |
| Duration of the huddle session in seconds. | No |
Example Request
GET https://example.safeandreliable.care/api/v2/huddleData?groupNames=west-icu
Example Response
{
"data": [
{
"_id": "KwmqJP24hZZBphmAk",
"huddleId": "HxmaHybxLXcuXxmb2",
"startDate": "2026-05-25T22:27:12.305Z",
"endDate": "2026-05-25T22:36:15.977Z",
"duration": 543
},
{
"_id": "7Wi5NCPmPPGz7qPnC",
"huddleId": "HxmaHybxLXcuXxmb2",
"startDate": "2026-05-27T22:31:56.055Z",
"endDate": "2026-05-27T22:42:30.098Z",
"duration": 634
},
],
"metadata": {
"endpoint": "huddleData",
"count": 2,
"filters": {
"groupNames": [
"west-icu"
]
}
}
}
Looking for more support?
We’re here to help — email us at LENSsupport@safeandreliablecare.com or click the Help button on your LENS board.
