Export group's users events
GET/:customer_id/groups/:group_id/export/events
Export events for users in a group
Request
Path Parameters
customer_id Customer Idrequired
Id of the tenant
group_id Group Idrequired
Id of the group
Query Parameters
metrics RawMetricsEnum[]
Possible values: [cough, heartbeat, battery_level, motion, cough_burst, wear, charging, sleep]
List of metrics to export
fields string[]
Possible values: [utc_time, local_time, metric, alias, uid, participant_id, external_id, value_1, value_2]
Columns in the exported csv file
Responses
- 200
- 400
Successful response. Returns a link to the generated excel file for downloading
- application/json
- Schema
- Example (from schema)
Schema
link Linkrequired
expires_at date-timerequired
{
"link": "string",
"expires_at": "2024-12-03T11:32:12.486Z"
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
errors undefined[]nullablerequired
{
"message": "string",
"errors": [
null
]
}
Loading...