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.
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
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
org_id | path | string | Yes | |
action | query | string | No | Only this action, or every action starting with this prefix and a dot (member, key). |
actor_kind | query | "person" | "key" | "staff" | "cell" | "billing" | "service" | "operator" | "system" | "agent" | No | Only this kind of actor; operator lists operator access. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of events, newest first.
{
"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
}| Field | Type | Always | What it is |
|---|---|---|---|
data | AuditEvent[] | Yes | |
next_cursor | string | null | Yes |
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
| Client | Call |
|---|---|
| TypeScript | pod.organisations.audit(orgId) |
| Python | pod.organisations.audit(org_id) |