Get All Audit Logs
GET /dev/v1/audit/{module}/search
Returns a paginated list of audit log entries for the given module, filtered by entity type, with optional filters and sort.
Headers
Nected-API-Key
Yes
API key.
Nected-Branch
No
Workspace branch (optional).
Paginated list of audit logs. The module is always audit, and you must specify the type of entity to search. Optional filters: status, environment, user, date range, and sort (default date:-1).
200 body: code, message, pageNo, pageSize, totalCount, totalPages, and data as an array of AuditLogEntry.
Dev API key (Nected-API-Key header)
Module name. For audit logs this is always audit.
auditPossible values: Type of entity to return audit logs for. Required — specify one value.
decisionTablePossible values: Status filter (optional).
Sort order (optional, default date:-1).
date:-1Environment filter (optional).
User who performed the action (optional).
Start of date range (ISO format, optional).
End of date range (ISO format, optional).
Page number (optional, default 1).
1Page size (optional, default 10, max 10).
10Branch name (optional).
OK — paginated audit entries.
Search result; data is an array of audit log entries
Unauthorized
Internal Server Error
GET /dev/v1/audit/{module}/search?type=decisionTable HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Accept: */*
{
"code": "",
"message": "",
"pageNo": 1,
"pageSize": 10,
"totalCount": 2,
"totalPages": 1,
"data": [
{
"logId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"branchName": "main",
"workspaceId": "ws_01hqxyz",
"date": "2026-03-19T10:15:30.000Z",
"entityId": "f01bb123-2d57-469a-b36c-2b3f677c1d3a",
"environment": "dev",
"event": "UPDATE",
"executionId": "exec_9f3c2a1b",
"executionTime": "12ms",
"user": "api-user@example.com",
"type": "RULE",
"status": "success",
"name": "SampleDTNew1",
"version": "draft",
"message": "Rule updated",
"traceId": "trace_7d8e9f0a",
"ip": "203.0.113.10",
"signed": true,
"path": [
{
"name": "SampleDTNew1",
"entity": "rule",
"entityId": "f01bb123-2d57-469a-b36c-2b3f677c1d3a",
"entityType": "decisionTable",
"version": "draft",
"executionId": "exec_9f3c2a1b"
}
],
"rootNode": {
"id": "f01bb123-2d57-469a-b36c-2b3f677c1d3a",
"logId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "SampleDTNew1"
},
"input": {
"checksum": "99d5f35d0fc2ad31de40efbbb492603f"
},
"output": {}
},
{
"logId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"branchName": "main",
"workspaceId": "ws_01hqxyz",
"date": "2026-03-19T09:00:00.000Z",
"entityId": "d2beec6e-eb0f-4834-b384-434cd7c260d2",
"environment": "dev",
"event": "PUBLISH",
"executionId": "exec_1a2b3c4d",
"executionTime": "45ms",
"user": "api-user@example.com",
"type": "RULE",
"status": "success",
"name": "Transaction_Fees_Calculation",
"version": "0.20",
"message": "Rule published",
"traceId": "trace_1a2b3c4d",
"ip": "203.0.113.10",
"signed": true,
"path": [],
"input": {},
"output": {}
}
]
}Example Usage
Replace
<BRANCH_NAME>with the Nected branch whose audit logs you want to search, such asmainorstaging.Replace
<YOUR_NECTED_API_KEY>with your actual Nected API key.
Last updated