Fetch Audit Logs
Get audit logs for the user activity in your organisation. Please note that this endpoint can only be accessed by owner and admin role users.
Body
application/json
- Type: objectdate
_range required - Type: array string[] enumactivity
_type Array of activity types to filter the audit logs
values- workspace
_created - video
_uploaded - video
_details _updated - video
_deleted - thumbnail
_updated
- Type: integerpage
_number min:1multiple of:1Page number of results.
- Type: integerpage
_size min:10max:500Integer numbers.
- Type: array string[] Format: emailuser
_email Array of user emails to filter the activity logs.
Responses
- application/json
Request Example for post/user/audit-log
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const auditLog = await client.auditLogs.fetch({
date_range: { start_at: '2026-08-25', end_at: '2026-08-29' },
});
console.log(auditLog);
{
"pagination": {
"page": 1,
"page_size": 1,
"total_pages": 1,
"total": 1
},
"data": [
{
"activity": "string",
"ip": "string",
"action_user": "string",
"status_code": 1,
"response_time": 1,
"timestamp": 1,
"source": {
"id": "string",
"type": "string"
}
}
]
}
