For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Header
Required
Description

Nected-API-Key

Yes

API key.

Nected-Branch

No

Workspace branch (optional).

get

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.

Authorizations
Nected-API-KeystringRequired

Dev API key (Nected-API-Key header)

Path parameters
modulestring · enumRequired

Module name. For audit logs this is always audit.

Example: auditPossible values:
Query parameters
typestring · enumRequired

Type of entity to return audit logs for. Required — specify one value.

Example: decisionTablePossible values:
statusstringOptional

Status filter (optional).

sortstringOptional

Sort order (optional, default date:-1).

Default: date:-1
environmentstringOptional

Environment filter (optional).

userstringOptional

User who performed the action (optional).

startDatestringOptional

Start of date range (ISO format, optional).

endDatestringOptional

End of date range (ISO format, optional).

pageNointegerOptional

Page number (optional, default 1).

Default: 1
pageSizeinteger · max: 10Optional

Page size (optional, default 10, max 10).

Default: 10
Header parameters
Nected-BranchstringOptional

Branch name (optional).

Responses
200

OK — paginated audit entries.

application/json

Search result; data is an array of audit log entries

codestringOptional
messagestringOptional
pageNointegerOptional
pageSizeintegerOptional
totalCountintegerOptional
totalPagesintegerOptional
get/dev/v1/audit/{module}/search
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 as main or staging.

  • Replace <YOUR_NECTED_API_KEY> with your actual Nected API key.

Last updated