PlatformOps

Platform audit trail (Greentally staff only)

Staff changes to platform-owned data, newest recorded first (by insertion; a backdated row such as an expiry is listed when it was recorded and shows its own createdAt). Requires a Greentally platform capability; a customer organization role never grants one. Refused with 403 PLATFORM_CAPABILITY_REQUIRED.

get/internal/platform-audit

Query parameters

targetTypestring
targetIdstring

Needs targetType.

actorstring

A staff or admin Clerk user id, or an email (case-insensitive).

capability'factor_library.write' | 'support.access'
organizationIdstring

Business organization external id (scope_organization_id).

cursorstring

nextCursor from the previous page.

limitinteger

Response

Platform audit events, newest first

Example response

{
  "data": {
    "items": [
      {
        "action": "factor_entry.utility_resource.set",
        "capability": "factor_library.write"
      }
    ]
  }
}

Changes

Changed in 1 of the 7 revisions of this API.1