Get Daily User Logins within a Time Window
GET/api/statistics/details/daily_user_logins/
Retrieve or export daily user login details within a 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
(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
Possible values: non-empty
Unique row id
User details
Date of the login event in format 'YYYY-MM-DDThh:mm:ss.sZ'
Workspace details
{
"count": 0,
"results": [
{
"row_id": "string",
"user": {},
"date": "2024-06-11T11:45:44.587Z",
"workspace": {}
}
]
}
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.