Download the scoped activity feed as CSV
/portal/v1/accounts/{accountSlug}/applications/{appSlug}/environments/{envSlug}/workspace/activity/exportAuthentication
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Query Parameters
limitnumber Optional Events per page (1-100, default 25)
cursorstring Optional Opaque base64url cursor from the previous response's `pagination.next_cursor`. Omit for the first page.
qstring Optional Free-text match against the people named on an event — who acted and who it was done to. One field rather than separate actor and subject filters: an operational administrator asks what happened with a person, not which side of the event they were on.
actionstring Optional Filter to a single action key. Only keys on the Workspace activity allowlist match; anything else returns nothing rather than reaching into the wider audit log.
node_idstring Optional Filter to events recorded at one hierarchy node. Still intersected with the caller's accessible subtree, so naming a node outside their scope returns nothing.
fromstring · date-time Optional Lower bound (inclusive).
tostring · date-time Optional Upper bound (inclusive).
Responses
text/csv
string (binary)application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/applications/{appSlug}/environments/{envSlug}/workspace/activity/export?limit=0&cursor=value&q=value&action=value&node_id=value&from=value&to=value" \ -H "Authorization: Bearer $CANOPY_TOKEN"
"<binary>"Tell us how we can improve this guide.