Skip to content

Activity

1 operation in the WP Waterfall API.

Company activity

get/companies/me/activityPermalink to Company activity

Returns the company's audit log in pages of up to 200 entries (default 50). Filter with actor, action, from, and to. A Site Admin or Site Developer gets 403 and reads one site's log with GET /sites/{id}/activity instead. An API key needs the activity:read scope.

Parameters

NameInTypeDescription
actorquerystring
actionquerystring
fromquerystring (date-time)
toquerystring (date-time)
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.
limitqueryintegerHow many rows to return in one page. Range: any to 200.

Responses

StatusBodyDescription
200AuditEventListActivity
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemThe credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing.
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
data requiredarray of objectThe rows of this page.
data[].id requiredstring (uuid)
data[].actor_type requiredstringOne of: user, api_key, mcp_agent, system.
data[].actor_id requiredstring or null
data[].actor_label requiredstring
data[].action requiredstring
data[].target_type requiredstring or null
data[].target_id requiredstring or null
data[].metadata requiredobject
data[].ip requiredstring or null
data[].user_agent requiredstring or null
data[].created_at requiredstring (date-time)
next_cursor requiredstring or nullSend it as cursor to get the next page. Null on the last page.