---
title: "Get audit log entry"
method: GET
path: "/api/v2/auditlog/{id}"
tags: ["Audit log"]
---

# Get audit log entry

`GET /api/v2/auditlog/{id}`

Fetch a detailed audit log entry representation. The detailed representation includes several fields that are not present in the summary representation, including:

- `previousVersion`: a JSON representation of the previous version of the entity.
- `currentVersion`: a JSON representation of the current version of the entity.
- `delta`: the JSON patch body that was used in the request to update the entity. This is only included if the update was made through a [JSON patch](https://launchdarkly.com/docs/api#updates-using-json-patch). It is null when the update was made using [semantic patch](https://launchdarkly.com/docs/api#updates-using-semantic-patch). Because most [flag updates](https://launchdarkly.com/docs/api/feature-flags/patch-feature-flag) are made using semantic patch, this field is rarely returned.

## Path parameters

- `id` string, string, required — The ID of the audit log entry

## Response `200`

Audit log entry response

- AuditLogEntryRep
  - `_links` object, required — The location and content type of related resources
  - `_id` string, required — The ID of the audit log entry
  - `_accountId` string, required — The ID of the account to which this audit log entry belongs
  - `date` integer, required
  - `accesses` ResourceAccess[], required — Details on the actions performed and resources acted on in this audit log entry
    - `action` string
    - `resource` string
  - `kind` string, required
  - `name` string, required — The name of the resource this audit log entry refers to
  - `description` string, required — Description of the change recorded in the audit log entry
  - `shortDescription` string, required — Shorter version of the change recorded in the audit log entry
  - `comment` string — Optional comment for the audit log entry
  - `subject` SubjectDataRep
    - `_links` object
    - `name` string — The subject's name
    - `avatarUrl` string — The subject's avatar
  - `member` MemberDataRep
    - `_links` object
    - `_id` string — The member ID
    - `email` string — The member email
    - `firstName` string — The member first name
    - `lastName` string — The member last name
  - `token` TokenSummary
    - `_links` object
    - `_id` string
    - `name` string — The name of the token
    - `ending` string — The last few characters of the token
    - `serviceToken` boolean — Whether this is a service token
  - `app` AuthorizedAppDataRep
    - `_links` object
    - `_id` string — The ID of the authorized application
    - `isScim` boolean — Whether the application is authorized through SCIM
    - `name` string — The authorized application name
    - `maintainerName` string — The name of the maintainer for this authorized application
  - `titleVerb` string — The action and resource recorded in this audit log entry
  - `title` string — A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>
  - `target` TargetResourceRep
    - `_links` object
    - `name` string — The name of the resource
    - `resources` string[] — The resource specifier
  - `parent` ParentResourceRep
    - `_links` object
    - `name` string — The name of the parent resource
    - `resource` string — The parent's resource specifier
  - `delta` unknown
  - `triggerBody` unknown
  - `merge` unknown
  - `previousVersion` unknown
  - `currentVersion` unknown
  - `subentries` AuditLogEntryListingRep[]
    - `_links` object, required — The location and content type of related resources
    - `_id` string, required — The ID of the audit log entry
    - `_accountId` string, required — The ID of the account to which this audit log entry belongs
    - `date` integer, required
    - `accesses` ResourceAccess[], required — Details on the actions performed and resources acted on in this audit log entry
      - `action` string
      - `resource` string
    - `kind` string, required
    - `name` string, required — The name of the resource this audit log entry refers to
    - `description` string, required — Description of the change recorded in the audit log entry
    - `shortDescription` string, required — Shorter version of the change recorded in the audit log entry
    - `comment` string — Optional comment for the audit log entry
    - `subject` SubjectDataRep
      - `_links` object
      - `name` string — The subject's name
      - `avatarUrl` string — The subject's avatar
    - `member` MemberDataRep
      - `_links` object
      - `_id` string — The member ID
      - `email` string — The member email
      - `firstName` string — The member first name
      - `lastName` string — The member last name
    - `token` TokenSummary
      - `_links` object
      - `_id` string
      - `name` string — The name of the token
      - `ending` string — The last few characters of the token
      - `serviceToken` boolean — Whether this is a service token
    - `app` AuthorizedAppDataRep
      - `_links` object
      - `_id` string — The ID of the authorized application
      - `isScim` boolean — Whether the application is authorized through SCIM
      - `name` string — The authorized application name
      - `maintainerName` string — The name of the maintainer for this authorized application
    - `titleVerb` string — The action and resource recorded in this audit log entry
    - `title` string — A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>
    - `target` TargetResourceRep
      - `_links` object
      - `name` string — The name of the resource
      - `resources` string[] — The resource specifier
    - `parent` ParentResourceRep
      - `_links` object
      - `name` string — The name of the parent resource
      - `resource` string — The parent's resource specifier

## Other responses

- `401` — Invalid access token
- `403` — Forbidden
- `404` — Invalid resource identifier
- `429` — Rate limited

---

[API](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.dev/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/revisions/69c5c9aafe78/schema)
