Read the organization's audit log

Every change a person, a key or Mapier staff made in the organization, and every operator access to its sandboxes or data (`actor_kind: operator`, `action: operator_access.granted` and `.ended`, with who asked, who approved and why), newest first, kept 90 days.

GET/v1/organisations/{org_id}/audit

Every change a person, a key or Mapier staff made in the organization, and every operator access to its sandboxes or data (actor_kind: operator, action: operator_access.granted and .ended, with who asked, who approved and why), newest first, kept 90 days. Owners and admins only; any other member is forbidden. A signed-in person only. Metadata never holds a secret.

For people only: a signed-in person's token makes this call. An API key is refused with person_required.

Request

curl "https://api.pod.mapier.ai/v1/organisations/org_3ahrz6dmv29gqy5ckt18fp/audit" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN"

Parameters

NameInTypeRequiredWhat it is
org_idpathstringYes
actionquerystringNoOnly this action, or every action starting with this prefix and a dot (member, key).
actor_kindquery"person" | "key" | "staff" | "cell" | "billing" | "service" | "operator" | "system" | "agent"NoOnly this kind of actor; operator lists operator access.
limitqueryintegerNo
cursorquerystringNoThe next_cursor of the page before. Valid for 24 hours.

Answer

200. A page of events, newest first.

200
{
  "data": [
    {
      "id": "example",
      "action": "example",
      "actor_kind": "person",
      "actor_account": null,
      "actor_key": null,
      "target_type": null,
      "target_id": null,
      "metadata": {},
      "address": null,
      "fresh_second_factor": false,
      "at": "2026-11-23T12:00:00.000Z"
    }
  ],
  "next_cursor": null
}
FieldTypeAlwaysWhat it is
dataAuditEvent[]Yes
next_cursorstring | nullYes

Errors

The refusals this call is known for: invalid, person_required, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.organisations.audit(orgId)
Pythonpod.organisations.audit(org_id)