---
title: "Get Audit Log By Id"
method: GET
path: "/audit/{id}"
tags: ["Audit Logging"]
---

# Get Audit Log By Id

`GET /audit/{id}`

Get detailed information about a specific audit log entry by its ID.

Args:
    id (str): The unique identifier of the audit log entry

Returns:
    AuditLogResponse: Detailed information about the audit log entry

Raises:
    HTTPException: If the audit log is not found or if there's a database connection error

## Path parameters

- `id` string, required

## Response `200`

Successful Response

- AuditLogResponse — Response model for a single audit log entry
  - `id` string, required
  - `updated_at` string, date-time, required
  - `changed_by` string, required
  - `changed_by_api_key` string, required
  - `action` string, required
  - `table_name` string, required
  - `object_id` string, required
  - `before_value` object, nullable
  - `updated_values` object, nullable

## Other responses

- `404` — Audit log not found
- `422` — Validation Error
- `500` — Database connection error

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/79928a3d37d3/schema)
