Get unique user count chart data
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/users \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"granularity": "month",
"range": -3,
"institution": "<string>",
"account": "<string>",
"aggregate": false,
"topsearch": 5
}
'{
"success": true,
"data": [
{
"_id": {
"granularity": "2023-11-07T05:31:56Z",
"institution": "<string>"
},
"dimension": 123
}
]
}Admin Histories
Get unique user count chart data
Dedicated endpoint for dimension=users queries. Uses a double-$group pipeline to count unique users per time bucket and institution.
POST
/
api
/
admin
/
histories
/
charts
/
users
Get unique user count chart data
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/users \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"granularity": "month",
"range": -3,
"institution": "<string>",
"account": "<string>",
"aggregate": false,
"topsearch": 5
}
'{
"success": true,
"data": [
{
"_id": {
"granularity": "2023-11-07T05:31:56Z",
"institution": "<string>"
},
"dimension": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
JWT token passed in x-access-token header
Body
application/json
Time granularity for bucketing
Available options:
day, week, month, hour Example:
"month"
Time range (negative values for past periods)
Example:
-3
Institution ID
Account ID
When true, aggregates across all institutions
Example:
false
Number of top institutions to return
Example:
5
Was this page helpful?
⌘I