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
| Name | In | Type | Description |
|---|---|---|---|
actor | query | string | |
action | query | string | |
from | query | string (date-time) | |
to | query | string (date-time) | |
cursor | query | string | The next_cursor of the page before. Leave it out for the first page. |
limit | query | integer | How many rows to return in one page. Range: any to 200. |
Responses
| Status | Body | Description |
|---|---|---|
200 | AuditEventList | Activity |
400 | Problem | The request could not be read: bad JSON, a bad header, or a malformed value. |
401 | Problem | The credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme. |
403 | Problem | The credentials are valid but may not do this: the role, the API key scope, or a required confirmation is missing. |
422 | Problem | The request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field. |
429 | Problem | A rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address. |
200 response fields
| Name | Type | Description |
|---|---|---|
data required | array of object | The rows of this page. |
data[].id required | string (uuid) | |
data[].actor_type required | string | One of: user, api_key, mcp_agent, system. |
data[].actor_id required | string or null | |
data[].actor_label required | string | |
data[].action required | string | |
data[].target_type required | string or null | |
data[].target_id required | string or null | |
data[].metadata required | object | |
data[].ip required | string or null | |
data[].user_agent required | string or null | |
data[].created_at required | string (date-time) | |
next_cursor required | string or null | Send it as cursor to get the next page. Null on the last page. |