Activity Logs
get_ activity_ logs
Get list of activity logs for the authenticated user's organization
Parameters
pageinteger[1, 9007199254740991]1Page number for pagination
limitinteger[1, 100]10Number of items per page
relationsArray<string>createdByemployeeentitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
entityIdstring<uuid>Filter by entity ID
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
actorTypestringSystemUserAgentFilter by actor type (System, User or Agent)
createdByUserIdstring<uuid>Filter by user who performed the action
employeeIdstring<uuid>Filter by employee context
startDatestring<date-time>Filter logs from this date (ISO format)
endDatestring<date-time>Filter logs until this date (ISO format)
sortBystringcreatedAtupdatedAtentityactioncreatedAtSort logs by field
sortOrderstringASCDESCDESCSort order
get_ activity_ log_ count
Get activity log count in the authenticated user's organization
Parameters
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
entityIdstring<uuid>Filter by entity ID
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
actorTypestringSystemUserAgentFilter by actor type (System, User or Agent)
createdByUserIdstring<uuid>Filter by user who performed the action
employeeIdstring<uuid>Filter by employee context
startDatestringFilter logs from this date (ISO format)
endDatestringFilter logs until this date (ISO format)
get_ activity_ log
Get a specific activity log by ID
Parameters
idstring<uuid>requiredThe activity log ID
relationsArray<string>Relations to include (e.g., ["createdBy", "employee"])
create_ activity_ log
Create a new activity log entry in the authenticated user's organization
Body
log_ dataobjectrequiredThe data for creating the activity log
get_ activity_ logs_ by_ entity
Get activity logs for a specific entity
Parameters
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATErequiredThe entity type
entityIdstring<uuid>requiredThe entity ID
pagenumber1Page number for pagination
limitnumber10Number of items per page
relationsArray<string>createdByemployeeactionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
actorTypestringSystemUserAgentFilter by actor type (System, User or Agent)
createdByUserIdstring<uuid>Filter by user who performed the action
employeeIdstring<uuid>Filter by employee context
startDatestringFilter logs from this date (ISO format)
endDatestringFilter logs until this date (ISO format)
sortBystringcreatedAtupdatedAtentityactioncreatedAtSort logs by field
sortOrderstringASCDESCDESCSort order
get_ activity_ logs_ by_ user
Get activity logs created by a specific user
Parameters
userIdstring<uuid>requiredThe user ID
pagenumber1Page number for pagination
limitnumber10Number of items per page
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
startDatestringFilter logs from this date (ISO format)
endDatestringFilter logs until this date (ISO format)
relationsArray<string>Relations to include
get_ my_ activity_ logs
Get activity logs created by the current authenticated user
Parameters
pagenumber1Page number for pagination
limitnumber10Number of items per page
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
startDatestringFilter logs from this date (ISO format)
endDatestringFilter logs until this date (ISO format)
relationsArray<string>Relations to include
get_ recent_ activity_ logs
Get recent activity logs for the authenticated user's organization
Parameters
limitnumber20Maximum number of recent logs
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
hoursnumber24Get logs from the last N hours
relationsArray<string>Relations to include
get_ activity_ log_ statistics
Get activity log statistics for the authenticated user's organization
Parameters
startDatestringStart date for statistics (ISO format)
endDatestringEnd date for statistics (ISO format)
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
groupBystringentityactionuserdatehourentityGroup statistics by
userIdstring<uuid>Filter by specific user ID
delete_ activity_ logs
Delete activity logs based on criteria (for cleanup purposes)
Parameters
olderThanDaysnumberDelete logs older than N days
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEDelete logs for specific entity type
entityIdstring<uuid>Delete logs for specific entity ID
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDDelete logs for specific action type
confirmbooleanrequiredConfirmation flag - must be true to proceed with deletion
search_ activity_ logs
Search activity logs by metadata or data content
Parameters
querystringrequiredSearch query for data content
limitnumber20Maximum number of results
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATEFilter by entity type
actionstringCREATEDUPDATEDDELETEDVIEWEDASSIGNEDCOMPLETEDAPPROVEDREJECTEDFilter by action type
startDatestringFilter logs from this date (ISO format)
endDatestringFilter logs until this date (ISO format)
get_ activity_ timeline
Get activity timeline for a specific entity
Parameters
entitystringUSEREMPLOYEETASKPROJECTGOALINVOICEEXPENSEDEALCANDIDATErequiredThe entity type
entityIdstring<uuid>requiredThe entity ID
limitnumber50Maximum number of timeline entries
startDatestringTimeline start date (ISO format)
endDatestringTimeline end date (ISO format)
includeRelatedbooleanfalseInclude related entity activities