# An entity's activity

Source: https://amanucci.com/nl/docs/developers/api/activity/listEntityActivity

## GET /v1/entities/{entityId}/activity

An entity's activity

Who did what — people, Amanucci, the machines, the integrations — newest first. One query at every scope, through your hat's one seat (`x-amanucci-hat`): the rows of every entity it reaches, plus the scope's own rows when your hat is that firm's or organisation's (memberships, invites, the signing policy). A firm seat reads true actors and drops ledger rows on books whose client has not granted `ledger.read`; a client reads people by name and every machine as Amanucci, and never a firm-only row. A firm your hat is not, an organisation it does not reach, and an entity it does not reach answer the same 404 as a scope that does not exist; a hat at the firm or organisation whose reach is empty reads an empty page. Pages by cursor (rule 5).

Operation ID: `listEntityActivity`

### Parameters

```json
[
  {
    "schema": {
      "type": "string",
      "format": "uuid"
    },
    "required": true,
    "name": "entityId",
    "in": "path"
  },
  {
    "schema": {
      "type": "string",
      "maxLength": 200,
      "pattern": "^(human|agent|system|parser|ade|pack):\\S+$",
      "description": "Only this actor, verbatim (`human:<id>`, `agent:<work item>`…) — \"what did Tom do\". Matches true actors, so on a client caller it narrows to the rows that person authored."
    },
    "required": false,
    "description": "Only this actor, verbatim (`human:<id>`, `agent:<work item>`…) — \"what did Tom do\". Matches true actors, so on a client caller it narrows to the rows that person authored.",
    "name": "actor",
    "in": "query"
  },
  {
    "schema": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "human",
          "agent",
          "system",
          "parser",
          "ade",
          "integration"
        ]
      },
      "maxItems": 6,
      "description": "Who acted: a person, Amanucci's thinking (`agent`), the machines (`system`, `parser`, `ade`), or an `integration` (a delivery nobody clicked, e.g. Peppol). Repeat the key for several."
    },
    "required": false,
    "description": "Who acted: a person, Amanucci's thinking (`agent`), the machines (`system`, `parser`, `ade`), or an `integration` (a delivery nobody clicked, e.g. Peppol). Repeat the key for several.",
    "name": "actorKind",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date",
      "description": "First calendar day (Europe/Brussels) of `at`, inclusive."
    },
    "required": false,
    "description": "First calendar day (Europe/Brussels) of `at`, inclusive.",
    "name": "from",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "uuid",
      "description": "With `objectType`: one object's trail — \"all activity for this\"."
    },
    "required": false,
    "description": "With `objectType`: one object's trail — \"all activity for this\".",
    "name": "objectId",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "artifact",
        "event",
        "entry",
        "document",
        "match_group",
        "case",
        "client_request",
        "control_run",
        "filing",
        "period",
        "grant",
        "membership",
        "policy",
        "transfer",
        "invite",
        "party",
        "recurring_plan",
        "entries"
      ]
    },
    "required": false,
    "name": "objectType",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "format": "date",
      "description": "Last calendar day (Europe/Brussels) of `at`, inclusive."
    },
    "required": false,
    "description": "Last calendar day (Europe/Brussels) of `at`, inclusive.",
    "name": "to",
    "in": "query"
  },
  {
    "schema": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "uploaded",
          "received",
          "read",
          "assembled",
          "decided",
          "case_opened",
          "case_resolved",
          "asked",
          "reminded",
          "answered",
          "proposed_match",
          "matched",
          "unmatched",
          "posted",
          "corrected",
          "finalized",
          "sent",
          "accepted",
          "declined",
          "generated",
          "submitted",
          "locked",
          "reopened",
          "checked",
          "granted",
          "revoked",
          "invited",
          "joined",
          "role_changed",
          "assigned",
          "unassigned",
          "policy_changed",
          "config_changed",
          "transferred",
          "created",
          "edited",
          "paused",
          "resumed",
          "ended",
          "entries_reviewed",
          "linked"
        ]
      },
      "maxItems": 41,
      "description": "Only these acts. Repeat the key for several."
    },
    "required": false,
    "description": "Only these acts. Repeat the key for several.",
    "name": "verb",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token)."
    },
    "required": false,
    "description": "An opaque position, taken verbatim from a previous response's `nextCursor`. Never construct one: its encoding is an implementation detail and may change within `/v1` (rule 6 governs FIELDS, not the contents of an opaque token).",
    "name": "cursor",
    "in": "query"
  },
  {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 200,
      "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced."
    },
    "required": false,
    "description": "How many rows at most. The hard ceiling is 200; a larger value is refused with 422, never silently reduced.",
    "name": "limit",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "enum": [
        "at.desc"
      ],
      "default": "at.desc",
      "description": "The walk: `at.desc`, newest first, then the newest id, the feed's one order."
    },
    "required": false,
    "description": "The walk: `at.desc`, newest first, then the newest id, the feed's one order.",
    "name": "order",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
      "example": "quarter"
    },
    "required": false,
    "description": "The days to list, resolved by the server against today in the books' own day (Europe/Brussels): `7d` and `30d` (the last 7 or 30 days, today included), `month`, `last-month`, `quarter`, `last-quarter` and `year` (the whole calendar unit holding today, or the one before it), a year `2026`, a quarter `2026-q3`, a month `2026-03`, `all` (no bound), or a day range `2026-01-05..2026-02-10` (inclusive, its ends in order). Not with `from` or `to`.",
    "name": "period",
    "in": "query"
  },
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A case-insensitive substring of the object's name as the row shows it (`object.label`: a name, a number, a reference, the same in every language), 1..100 characters, matched literally (`%` and `_` match themselves). The act's own words are not searched: filter them with `verb`."
    },
    "required": false,
    "description": "A case-insensitive substring of the object's name as the row shows it (`object.label`: a name, a number, a reference, the same in every language), 1..100 characters, matched literally (`%` and `_` match themselves). The act's own words are not searched: filter them with `verb`.",
    "name": "q",
    "in": "query"
  }
]
```

### Responses

#### 200 One page of the feed.

```json
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ActivityPage"
    }
  }
}
```

#### 401 Dead or absent credential (`unauthenticated`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 403 Authenticated, present, and refused: a missing grant, a missing seat, or a missing step-up.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 404 Absent, or hidden from this asker — the two are indistinguishable (`not-found`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 422 The request did not satisfy the schema (`invalid-input`).

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 429 Too many requests on this door's bucket (`rate-limited`); refused before any handler ran, `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```

#### 503 Temporarily unavailable; `Retry-After` says when to come back.

```json
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/Problem"
    }
  }
}
```
