Activity tools
All tool areas. Each tool acts within your access.
Activity
list_activity
List the organization's activity log, newest first: what changed, who or what did it (a person, an agent, the system), and the changeset it came from. An entry's data needs orders:amounts and customers:contact where it belongs (and organization-level billing:read for billing events, members:read for member/invitation events, agents:read for agent events, or api_keys:write for API-key events); otherwise it's null and the entry is marked masked. Someone limited to a location, entity, or product sees only events that say they're about what they're covered for. Page back with before.
Reads · Members of an organization · Needs activity:read
Input
limitThe most results to return (default 50)
beforeAn event id; returns events older than it
Output
eventsevents[]events[].idevents[].typeevents[].actorevents[].actor.typeevents[].actor.idevents[].actor.viaevents[].actor.nameevents[].subjectevents[].subject.typeevents[].subject.idevents[].subject.labelevents[].locationNameevents[].changesevents[].changes[]events[].changes[].fieldevents[].changes[].beforeevents[].changes[].afterevents[].changesetIdevents[].draftedBySet when the command bar's assistant drafted the change this event came from, and the person (the actor) previewed and applied it: the assistant (agt_...) and its model call (aic_...). Always sent; null otherwise
events[].draftedBy.agentIdevents[].draftedBy.callIdevents[].dataWhat the event recorded, which can hold amounts and guests' names. Null without both orders:amounts and customers:contact where the event belongs; billing, member/invitation, agent, and API-key events also need billing:read, members:read, agents:read, and api_keys:write respectively at the organization
events[].data.*events[].maskedTrue when
datawas withheldevents[].createdAtnextBefore