v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Audit log

Get audit log entry

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. It is null when the update was made using semantic patch. Because most flag updates are made using semantic patch, this field is rarely returned.
get/api/v2/auditlog/{id}

Path parameters

idstring string required

The ID of the audit log entry

The ID of the audit log entry

Response

Audit log entry response

_linksobject required

The location and content type of related resources

_idstring required

The ID of the audit log entry

_accountIdstring required

The ID of the account to which this audit log entry belongs

dateinteger required
kindstring required
namestring required

The name of the resource this audit log entry refers to

descriptionstring required

Description of the change recorded in the audit log entry

shortDescriptionstring required

Shorter version of the change recorded in the audit log entry

commentstring

Optional comment for the audit log entry

titleVerbstring

The action and resource recorded in this audit log entry

titlestring

A description of what occurred, in the format <code>member</code> <code>titleVerb</code> <code>target</code>

{"stackTrail":"components:schemas:AuditLogEntryRep:properties:delta","oasType":"schema","type":"unknown","description":"If the audit log entry has been updated, this is the JSON patch body that was used in the request to update the entity"}
{"stackTrail":"components:schemas:AuditLogEntryRep:properties:triggerBody","oasType":"schema","type":"unknown","description":"A JSON representation of the external trigger for this audit log entry, if any"}
{"stackTrail":"components:schemas:AuditLogEntryRep:properties:merge","oasType":"schema","type":"unknown","description":"A JSON representation of the merge information for this audit log entry, if any"}
{"stackTrail":"components:schemas:AuditLogEntryRep:properties:previousVersion","oasType":"schema","type":"unknown","description":"If the audit log entry has been updated, this is a JSON representation of the previous version of the entity"}
{"stackTrail":"components:schemas:AuditLogEntryRep:properties:currentVersion","oasType":"schema","type":"unknown","description":"If the audit log entry has been updated, this is a JSON representation of the current version of the entity"}

Example response

{
  "_id": "1234a56b7c89d012345e678f",
  "_accountId": "1234a56b7c89d012345e678f",
  "name": "Example feature flag",
  "description": "Example, turning on the flag for testing",
  "shortDescription": "Example, turning on the flag",
  "comment": "This is an automated test",
  "member": {
    "_id": "507f1f77bcf86cd799439011",
    "email": "ariel@acme.com",
    "firstName": "Ariel",
    "lastName": "Flores"
  },
  "token": {
    "name": "DevOps token",
    "ending": "2345"
  },
  "titleVerb": "turned on the flag",
  "target": {
    "name": "Example flag name",
    "resources": [
      "proj/example-project:env/production:flag/example-flag"
    ]
  },
  "subentries": [
    {
      "_id": "1234a56b7c89d012345e678f",
      "_accountId": "1234a56b7c89d012345e678f",
      "name": "Example feature flag",
      "description": "Example, turning on the flag for testing",
      "shortDescription": "Example, turning on the flag",
      "comment": "This is an automated test",
      "member": {
        "_id": "507f1f77bcf86cd799439011",
        "email": "ariel@acme.com",
        "firstName": "Ariel",
        "lastName": "Flores"
      },
      "token": {
        "name": "DevOps token",
        "ending": "2345"
      },
      "titleVerb": "turned on the flag",
      "target": {
        "name": "Example flag name",
        "resources": [
          "proj/example-project:env/production:flag/example-flag"
        ]
      }
    }
  ]
}