Skip to Content
Pouch
Activity

List activity

GET
/v1/activity

Auth: Bearer key with no domain scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Query Parameters

limit?integer

How many entries to return, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Id of the last entry on the previous page.

family?string

Only these families, comma-separated: key, domain, suppression, settings, webhook, provider, session, system, list.

outcome?string

Only these outcomes, comma-separated: success, failure, neutral.

actor?string

Only these actors, comma-separated as type:id from an entry's actor, or type:label for the worker, which has no id.

since?unknown

Only entries at or after this ISO 8601 timestamp.

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, action, family, outcome, actor, applies_to, subject_label, address, metadata, created_at.

Response Body

A page of the organization's activity log, newest first.

application/json
  1. response
data?array<>

The page of entries, newest first.

next_cursor?|

Id to pass as cursor for the next page. Null on the last page.

Example Request
curl -X GET 'https://pouch.example.com/v1/activity'
Example Response
{  "data": [    {      "id": "string",      "action": "string",      "family": "key",      "outcome": "success",      "actor": {        "type": "string",        "id": "string",        "label": "string"      },      "applies_to": "string",      "subject_label": "string",      "address": "string",      "metadata": {},      "created_at": "string"    }  ],  "next_cursor": "string"}