ReferenceAdmin
The platform-wide audit log (platform admins and auditors)
GET
/v1/admin/auditQuery Parameters
cursor?string
nextCursor from the previous page
limit?integer
Range
1 <= value <= 200Default
50action?string
An exact action (team.member_add), or a prefix ending in a dot (team.) for every action in that group.
Match
^[a-z][a-z_]*\.[a-z_]*$Length
length <= 100excludeAction?string
Action groups (prefixes ending in a dot, comma-separated) to leave out: auth. hides sign-ins and sign-outs.
Match
^[a-z][a-z_]*\.(,[a-z][a-z_]*\.)*$Length
length <= 100actorUserId?string
Only entries by this person (including their API keys)
Format
uuidactorKind?"system"
Only entries by the system
Value in
- "system"
targetType?string
Match
^[a-z_]+$Length
length <= 64from?string
Entries at or after this time
Format
date-timeto?string
Entries before this time (exclusive)
Format
date-timeResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/admin/audit"{ "data": { "items": [ { "id": 0, "occurredAt": "2019-08-24T14:15:22Z", "actorKind": "user", "actorUserId": "94141e08-adc7-44ce-bed3-45f031b9f36f", "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec", "teamName": "string", "teamSlug": "string", "action": "team.member_add", "actor": { "kind": "user", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "displayName": "string", "email": "string", "apiKeyName": "string" }, "targetType": "string", "targetId": "string", "targetLabel": "string", "targetExists": true, "before": null, "after": null, "metadata": {}, "requestId": "string", "via": { "kind": "session", "name": "string" }, "clientIp": "string" } ], "nextCursor": "string" }}