Goldmine
Audit

List audit log entries

POST
/audit.v1.Audit/ListAuditEntries

Lists audit log entries for the caller's workspace, optionally filtered by object type, action type, or exact event type. There is no workspace_id request field; the scope is always the caller's own workspace, except for a platform administrator, who reads across every workspace plus the entries tied to no workspace. Results are paginated; pass the returned cursor to fetch the next page.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/audit.v1.Audit/ListAuditEntries" \  -H "Content-Type: application/json" \  -d '{}'

{
  "auditEntries": [
    {
      "id": "MDEyMzQ1Njc4OTo7PD0+Pw==",
      "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
      "eventId": "b1c2d3e4-f5a6-4788-8899-aabbccddeeff",
      "eventType": "membership.updated",
      "objectType": "accounts_membership",
      "actionType": "updated",
      "service": "accounts",
      "entityId": "20212223-2425-2627-2829-2a2b2c2d2e2f",
      "actor": "Jordan Hale",
      "summary": "Updated membership role",
      "details": "eyJiZWZvcmUiOnsicm9sZSI6Ik1FTUJFUlNISVBfUk9MRV9NRU1CRVIifSwiYWZ0ZXIiOnsicm9sZSI6Ik1FTUJFUlNISVBfUk9MRV9PV05FUiJ9fQ==",
      "occurredAt": "2026-06-29T12:15:00Z",
      "createdAt": "2026-06-29T12:15:00Z"
    }
  ],
  "nextCursor": "eyJvZmZzZXQiOjUwfQ=="
}

{
  "code": "invalid_argument",
  "message": "The request was malformed, such as a missing required field or an unparseable cursor."
}
{
  "code": "unauthenticated",
  "message": "The request lacks a valid API key in the Authorization header."
}
{
  "code": "permission_denied",
  "message": "The API key is not allowed to perform this action on this workspace."
}
{
  "code": "resource_exhausted",
  "message": "The request was rate limited. Slow down and retry later."
}
{
  "code": "internal",
  "message": "An internal server error occurred."
}