Audits and Reports
Get Audit Details
Fetches audit records filtered by type, time, duration, and pagination options.
get/restapi/json/v1/audit
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
AUDITTYPEstring
Type of the audit, Either Resource or User
STARTINDEXinteger
Starting index from where the data to be fetched
LIMITinteger
Number of rows to be fetched
DURATIONstring
Duration of the audit, Either TODAY / YESTERDAY/ LAST_7_DAYS
STARTTIMEinteger
Starting time of the audits to be fetched
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Response
OK
Example response
{
"operation": {
"totalRows": 100,
"Details": [
{
"Audit ID": "1501",
"Operated by": "admin",
"IP Address": "10.XX.XXX.202",
"Time Stamp": "2025-05-29 11:13:59.761",
"Operation Type": "User Trust Score",
"User's Full Name": "admin",
"User Name": "admin",
"Client Type": "Web Client",
"TIME": "1748497439761",
"Reason": "User Trust Score has been update to 66."
}
],
"name": "GET_AUDIT"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.