Get Audit Events within a Time Window
GET/api/statistics/details/audit_events/
Retrieve or export audit events within a specified time window.
Request
Query Parameters
Number of results to return per page.
The initial index from which to return the results.
Start of date range in format 'YYYY-MM-DDThh:mm:ss.sZ'
End of date range in format 'YYYY-MM-DDThh:mm:ss.sZ'
(optional) Filter by user id(s)
Possible values: [csv
]
Export the results in provided format. Supported formats are: csv
Possible values: [ENTITY.COPY_RECURSIVE
, ENTITY.REVISE
, USER.LOGIN_FAIL
, USER.DEV_PAIRING_RETRIEVE
, WORKSPACE.CREATE
, USER.DEV_PAIRING_VERIFY
, WORKSPACE.ARCHIVE
, APP.UPDATE_VARIABLES
, APP.PUBLISH_FAIL
, WORKSPACE.ENTER
, APP.CREATE
, WORKSPACE.CHANGE_VISIBILITY
, WORKSPACE.DELETE_USERS
, EDITOR.EXIT
, ORG.INVITE_USERS
, EDITOR.ENTER
, USER.LOCK
, USER.CLI_DOWNLOAD
, WORKSPACE.INVITE_USERS
, USER.LOGOUT
, APP.UNARCHIVE
, ENTITY.RENAME
, EDITOR.COMPUTE
, WORKSPACE.UNARCHIVE
, ENTITY.SAVE
, ENTITY.COPY
, APP.UPDATE
, ENTITY.DELETE
, APP.PUBLISH
, APP.ARCHIVE
, USER.DEV_PAIRING_ACTIVATE
, USER.SUBMIT_SUPPORT_TICKET
, ORG.DELETE_USERS
, ENTITY.CREATE
, USER.LOGIN
]
Type of the event. Supported types are: ENTITY.COPY_RECURSIVE, ENTITY.REVISE, USER.LOGIN_FAIL, USER.DEV_PAIRING_RETRIEVE, WORKSPACE.CREATE, USER.DEV_PAIRING_VERIFY, WORKSPACE.ARCHIVE, APP.UPDATE_VARIABLES, APP.PUBLISH_FAIL, WORKSPACE.ENTER, APP.CREATE, WORKSPACE.CHANGE_VISIBILITY, WORKSPACE.DELETE_USERS, EDITOR.EXIT, ORG.INVITE_USERS, EDITOR.ENTER, USER.LOCK, USER.CLI_DOWNLOAD, WORKSPACE.INVITE_USERS, USER.LOGOUT, APP.UNARCHIVE, ENTITY.RENAME, EDITOR.COMPUTE, WORKSPACE.UNARCHIVE, ENTITY.SAVE, ENTITY.COPY, APP.UPDATE, ENTITY.DELETE, APP.PUBLISH, APP.ARCHIVE, USER.DEV_PAIRING_ACTIVATE, USER.SUBMIT_SUPPORT_TICKET, ORG.DELETE_USERS, ENTITY.CREATE, USER.LOGIN
(optional) Filter by app(s)
(optional) Filter by workspace(s)
Responses
- 200
- 400
- 401
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Count of all the objects in the result set.
results
object[]
required
Unique row id
Event context
Possible values: non-empty
User details
{
"count": 0,
"results": [
{
"row_id": "string",
"context": {},
"event_type": "string",
"timestamp": "2024-06-11T11:45:44.586Z",
"user": {}
}
]
}
Validation error response.
It produces a validation error schema like below.
{
"field1": ["Validation error"],
"non_field_errors": ["Sample non field validation error"]
}
No authentication found or authentication is not correct.