Get weekly chart data for admin histories
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/weekly \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "65cfebc32f5e1b37d4e52329",
"granularity": "month",
"range": -3,
"dimension": "count",
"aggregate": false
}
'{
"success": true,
"data": [
{
"_id": {
"granularity": "2023-11-07T05:31:56Z",
"institution": "<string>"
},
"dimension": 123
}
]
}Admin Histories
Get weekly chart data for admin histories
Retrieves chart data for administrative history tracking with configurable granularity and time range
POST
/
api
/
admin
/
histories
/
charts
/
weekly
Get weekly chart data for admin histories
curl --request POST \
--url https://pria.praxislxp.com/api/admin/histories/charts/weekly \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"institution": "65cfebc32f5e1b37d4e52329",
"granularity": "month",
"range": -3,
"dimension": "count",
"aggregate": false
}
'{
"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
Institution ID
Example:
"65cfebc32f5e1b37d4e52329"
Time granularity for the chart data
Available options:
day, week, month, hour Example:
"month"
Time range (negative values for past periods)
Example:
-3
Data dimension to measure
Available options:
count, sum, average Example:
"count"
Whether to aggregate the data
Example:
false
Was this page helpful?
⌘I