Insight for a Profile
GET
/api/v1/insights
The list many insights for a specific Profile.
Request
curl --location 'https://nanotrust.io/api/v1/insights/?profile_id=PROFILE_ID' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_TOKEN' \
Query Params
Name | Type | Descriptipon |
Profile_id | String | Profile id |
Insight | String | Available value: credentials_by_created_at, credentials_accepted_rate, credentials_by_status, ownerships_rate |
Responses
200
List of insights
{
"credentials_by_created_at": {
"2023-03-13 23:00:00 +0000": 1
},
"credentials_accepted_rate": 100.0,
"credentials_by_status": {
"Accepté": 1
},
"ownerships_rate": 100.0
}
401
You have not provided a profile_id parameter, we cannot return insights without a requested Profile.