curl --request GET \
--url https://api.getcargo.io/v1/segmentation/segments/{uuid}/metrics \
--header 'Authorization: Bearer <token>'{
"segmentMetrics": [
{
"date": "<string>",
"totalRecordsCount": 123,
"addedRecordsCount": 123,
"updatedRecordsCount": 123,
"removedRecordsCount": 123,
"unchangedRecordsCount": 123
}
]
}Get metrics for a segment
curl --request GET \
--url https://api.getcargo.io/v1/segmentation/segments/{uuid}/metrics \
--header 'Authorization: Bearer <token>'{
"segmentMetrics": [
{
"date": "<string>",
"totalRecordsCount": 123,
"addedRecordsCount": 123,
"updatedRecordsCount": 123,
"removedRecordsCount": 123,
"unchangedRecordsCount": 123
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Start of the time range.
End of the time range.
Time unit for aggregation.
day, week, month, year Successful response
Segment metrics for the selected range.
Show child attributes
Was this page helpful?