> For the complete documentation index, see [llms.txt](https://docs.nected.ai/nected-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nected.ai/nected-docs/management-api/audit-log-api/get-audit-log-detail.md).

# Get Audit Log Detail

Retrieve detailed information for a specific audit log entry by log ID, including parent and child relationships.

### Endpoint

`GET /dev/v1/audit/{module}/{log-id}`

Get audit log detail by logId.

### URL Format

Query parameters can be appended directly to the URL as a query string.

**Example:** `/dev/v1/audit/audit/{log-id}?pageNo=1&pageSize=5`&#x20;

### Authentication

All endpoints require authentication via the `Nected-Branch` header.

| Header           | Type   | Required | Description                                         |
| ---------------- | ------ | -------- | --------------------------------------------------- |
| `Nected-API-Key` | string | Yes      | Your Nected API key.                                |
| `Nected-Branch`  | string | Yes      | Branch name (e.g. default branch of the workspace). |

## Get audit log detail

> Single audit log by \*\*\`log-id\`\*\*, including \*\*\`detail\`\*\*, \*\*\`parent\`\*\*, paginated \*\*\`children\`\*\*, and \*\*\`totalChildren\`\*\*.\
> \
> Use \*\*\`pageNo\`\*\* / \*\*\`pageSize\`\*\* on this request to page through \*\*children\*\*.\
> \
> Example: \*\*\`capturedDetail\`\*\* → \[examples/audit\_detail\_200.json]\(./examples/audit\_detail\_200.json) (canonical \[Get/GET\_DETAIL.json]\(./Get/GET\_DETAIL.json)).

```json
{"openapi":"3.0.3","info":{"title":"Nected Audit Log API (Dev V1)","version":"1.0"},"tags":[{"name":"Audit","description":"Search audit logs and fetch a single log with parent/child context."}],"servers":[{"url":"https://api.nected.ai","description":"Production"}],"security":[{"DevAuth":[]}],"components":{"securitySchemes":{"DevAuth":{"type":"apiKey","in":"header","name":"Nected-API-Key","description":"Dev API key (`Nected-API-Key` header)"}},"schemas":{"AuditDetailResponse":{"type":"object","description":"Detail response; data holds detail, parent, children, totalChildren","properties":{"code":{"type":"string"},"data":{"$ref":"#/components/schemas/AuditLogDetailData"},"message":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"totalCount":{"type":"integer"},"totalPages":{"type":"integer"}}},"AuditLogDetailData":{"type":"object","properties":{"detail":{"$ref":"#/components/schemas/AuditLogEntry"},"parent":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogEntry"}},"children":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogEntry"}},"totalChildren":{"type":"integer"}}},"AuditLogEntry":{"type":"object","description":"Single audit log entry","properties":{"branchName":{"type":"string"},"date":{"type":"string"},"entityId":{"type":"string"},"environment":{"type":"string"},"event":{"type":"string"},"executionId":{"type":"string"},"executionTime":{"type":"string"},"input":{"type":"object","additionalProperties":true},"ip":{"type":"string"},"logId":{"type":"string"},"message":{"type":"string"},"name":{"type":"string"},"output":{"type":"object","additionalProperties":true},"path":{"type":"array","items":{"$ref":"#/components/schemas/AuditLogPathNode"}},"rootNode":{"$ref":"#/components/schemas/RootNode"},"signed":{"type":"boolean"},"status":{"type":"string"},"traceId":{"type":"string"},"type":{"type":"string"},"user":{"type":"string"},"version":{"type":"string"},"workspaceId":{"type":"string"}}},"AuditLogPathNode":{"type":"object","description":"Path node in audit hierarchy","properties":{"entity":{"type":"string"},"entityId":{"type":"string"},"entityType":{"type":"string"},"executionId":{"type":"string"},"name":{"type":"string"},"version":{"type":"string"}}},"RootNode":{"type":"object","properties":{"id":{"type":"string"},"logId":{"type":"string"},"name":{"type":"string"}}},"Response":{"type":"object","description":"Standard API response wrapper","properties":{"code":{"type":"string"},"data":{"type":"object","description":"Response payload","additionalProperties":true},"message":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"totalCount":{"type":"integer"},"totalPages":{"type":"integer"}}}}},"paths":{"/dev/v1/audit/{module}/{log-id}":{"get":{"operationId":"getAuditLogDetail","tags":["Audit"],"summary":"Get audit log detail","description":"Single audit log by **`log-id`**, including **`detail`**, **`parent`**, paginated **`children`**, and **`totalChildren`**.\n\nUse **`pageNo`** / **`pageSize`** on this request to page through **children**.\n\nExample: **`capturedDetail`** → [examples/audit_detail_200.json](./examples/audit_detail_200.json) (canonical [Get/GET_DETAIL.json](./Get/GET_DETAIL.json)).","parameters":[{"name":"Nected-Branch","in":"header","required":true,"description":"Branch name. Required for audit endpoints.","schema":{"type":"string"}},{"name":"module","in":"path","required":true,"description":"Module name.","schema":{"type":"string"}},{"name":"log-id","in":"path","required":true,"description":"Audit log ID.","schema":{"type":"string"}},{"name":"pageNo","in":"query","description":"Page number for children (optional, default 1).","schema":{"type":"integer","default":1}},{"name":"pageSize","in":"query","description":"Children per page (optional, default 10, max 10).","schema":{"type":"integer","default":10,"maximum":10}}],"responses":{"200":{"description":"OK — detail, parent chain, and children.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuditDetailResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

<br>
