Get session analytics charts
curl --request POST \
--url https://pria.praxislxp.com/api/admin/sessions/charts \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"daterange": [
"2023-12-25"
]
}
'{
"success": true,
"data": {
"os": [
{
"name": "<string>",
"count": 123
}
],
"browser": [
{
"name": "<string>",
"count": 123
}
],
"deviceType": [
{
"name": "<string>",
"count": 123
}
],
"activity": [
{
"date": "<string>",
"count": 123
}
],
"heatmap": [
{
"day": 123,
"hour": 123,
"count": 123
}
]
}
}Admin Sessions
Get session analytics charts
Returns distribution charts for OS, browser, device type, daily activity timeline, and a day-of-week/hour-of-day peak usage heatmap. Results are cached. When more than 100k sessions match the filter and no institution/account filter is set, the date range is auto-narrowed to 3 days for memory safety. Distribution charts are capped at 100k most-recent sessions.
POST
/
api
/
admin
/
sessions
/
charts
Get session analytics charts
curl --request POST \
--url https://pria.praxislxp.com/api/admin/sessions/charts \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "<string>",
"account": "<string>",
"daterange": [
"2023-12-25"
]
}
'{
"success": true,
"data": {
"os": [
{
"name": "<string>",
"count": 123
}
],
"browser": [
{
"name": "<string>",
"count": 123
}
],
"deviceType": [
{
"name": "<string>",
"count": 123
}
],
"activity": [
{
"date": "<string>",
"count": 123
}
],
"heatmap": [
{
"day": 123,
"hour": 123,
"count": 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
Was this page helpful?
⌘I