Insights
Get comparisons (Account Authorization)
Gets comparison data for a profile with account authorization. Can be filtered by name, category, and date range.
get/api/v1/profile/insight/comparison/{externalId}
Request
- Base URLhttps://api.sahha.ai (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
Path parameters
externalIdstring required
Query parameters
startDateTimestring date-time
endDateTimestring date-time
namestring
categorystring
periodicitystring
versionnumber float
Response
Success
Example response
[
{
"id": "2F9EA4F8-8A96-4AC2-88B5-001EE6FC2CCD",
"type": "comparison",
"category": "score",
"name": "readiness",
"unit": "index",
"startDateTime": "2025-04-02T00:00:00.0000000+00:00",
"endDateTime": "2025-04-02T23:59:59.0000000+00:00",
"periodicity": "daily",
"data": [
{
"type": "demographic",
"state": "medium"
}
],
"createdAtUtc": "2023-05-16T09:30:00.0000000+00:00"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.