Enterprise (EE)

List audit records

Changed on

Returns a paginated list of audit log entries. Only organization owners can access this endpoint.

get/api/ee/audit

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or API key in header X-Sourcebot-Api-Key
    • or none

Query parameters

sincestring date-time

Return records at or after this timestamp (ISO 8601).

untilstring date-time

Return records at or before this timestamp (ISO 8601).

pageinteger
perPageinteger

Response

Paginated audit log.

idstring required
timestampstring date-time required
actionstring required

The audited action (e.g. user.read, user.delete, audit.fetch).

actorIdstring required
actorTypestring required
actorLabelstring nullable required

Display name of the actor when the event was recorded (e.g. a user's email or an API key's name).

targetIdstring required
targetTypestring required
targetLabelstring nullable required

Display name of the target when the event was recorded.

sourcebotVersionstring required
metadataobject nullable required
orgIdnumber required

Changes

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status