Security Audit
Audit skills let agents retrieve and analyze security audit logs for compliance and monitoring.
security.audit
Retrieve audit logs for a specific time range and user.
{
"skill": "security.audit",
"input": {
"startDate": "2026-01-01",
"endDate": "2026-12-31",
"userId": 1,
"action": "transaction.create"
}
}
Query Parameters
| Parameter | Type | Description |
|---|---|---|
startDate | String | Start date (YYYY-MM-DD) |
endDate | String | End date (YYYY-MM-DD) |
userId | Long | Filter by user ID |
action | String | Filter by action type |
page | Integer | Page number |
pageSize | Integer | Items per page |
Response
{
"code": 200,
"data": [
{
"id": 1,
"userId": 1,
"action": "transaction.create",
"resource": "transaction",
"resourceId": "TXN2026081800001",
"ipAddress": "192.168.1.1",
"userAgent": "Mozilla/5.0...",
"createdTime": "2026-08-18T10:00:00Z"
}
],
"pagination": {
"page": 1,
"pageSize": 20,
"total": 100,
"totalPages": 5
}
}
Common Actions
transaction.create— Payment createdtransaction.refund— Refund processeduser.login— User logged inapi.key.generate— API key generatedchannel.modify— Channel configuration changed