> 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

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

Returns **one** audit log record by **`log-id`**, including **`detail`**, related **`parent`** entries, and paginated **`children`**.

### Path parameters

| Name     | Description                  |
| -------- | ---------------------------- |
| `module` | Always `audit`.              |
| `log-id` | Unique audit log identifier. |

### Headers

| Header           | Required | Description                  |
| ---------------- | -------- | ---------------------------- |
| `Nected-API-Key` | Yes      | API key.                     |
| `Nected-Branch`  | No       | Workspace branch (optional). |

## Get audit log detail

> Single audit log by \*\*\`log-id\`\*\* (the \`module\` is always \`audit\`), including \*\*\`detail\`\*\*, \*\*\`parent\`\*\*, paginated \*\*\`children\`\*\*, and \*\*\`totalChildren\`\*\*.\
> \
> Use \*\*\`pageNo\`\*\* / \*\*\`pageSize\`\*\* on this request to page through \*\*children\*\*.

```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`** (the `module` is always `audit`), including **`detail`**, **`parent`**, paginated **`children`**, and **`totalChildren`**.\n\nUse **`pageNo`** / **`pageSize`** on this request to page through **children**.","parameters":[{"name":"Nected-Branch","in":"header","required":false,"description":"Branch name (optional).","schema":{"type":"string"}},{"name":"module","in":"path","required":true,"description":"Module name. For audit logs this is always `audit`.","schema":{"type":"string","enum":["audit"]}},{"name":"log-id","in":"path","required":true,"description":"Audit log ID (`logId` from a search result).","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>
