# The board's activity feed

> GET /boards/{boardId}/activity

Source: https://mockflow.com/developers/reference/boards/list-activity

**GET** `https://api.mockflow.com/v1/boards/{boardId}/activity`  
Scopes: `boards:read`

**curl**

```bash
curl https://api.mockflow.com/v1/boards/brd_3f9e2a/activity \
  -H "Authorization: Bearer $MOCKFLOW_API_KEY"
```

**JavaScript**

```javascript
const response = await fetch("https://api.mockflow.com/v1/boards/brd_3f9e2a/activity", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}`
  }
});

const data = await response.json();
```

**Python**

```python
import os, requests

response = requests.get(
    "https://api.mockflow.com/v1/boards/brd_3f9e2a/activity",
    headers={"Authorization": f"Bearer {os.environ['MOCKFLOW_API_KEY']}"},
)

response.raise_for_status()
data = response.json()
```

**200**

```json
{
  "nextCursor": "string",
  "hasMore": false,
  "data": [
    {
      "id": "string",
      "type": "project",
      "operation": "string",
      "detail": "string",
      "label": "string",
      "actor": {
        "email": "string",
        "name": "Q4 Launch Planning"
      }
    }
  ]
}
```

**402**

```json
{
  "error": {
    "code": "plan_limit",
    "message": "AI credits exhausted. 0 of 2000 remaining this month.",
    "upgradeUrl": "https://mockflow.com/pricing"
  },
  "requestId": "req_01ja"
}
```

**429**

```json
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests.",
    "docsUrl": "https://mockflow.com/developers/concepts/errors#rate_limited"
  },
  "requestId": "req_45d49816999bac40"
}
```

The same rows the Activity panel shows, newest first. `type` is project, page, doc, comment or space; `operation` is the verb (new, renamed, deleted, duplicate, link, unlink, reply, updated, shared) and `detail` what it applied to. Plus and Max only.

### Authorization

- `Authorization` (string, required): `Bearer <key>`. The key needs `boards:read` scope. Create and manage keys in the [developer console](/developers/console/); what each scope unlocks is on the [scopes page](/developers/concepts/scopes).

### Path parameters

- `boardId` (string, required)

### Query parameters

- `type` (enum<string>): One of `project`, `page`, `doc`, `comment` or `space`.
- `cursor` (string): Opaque cursor from a previous response's `nextCursor`.
- `limit` (integer): Defaults to `50`.

### Response

- `nextCursor` (string | null)
- `hasMore` (boolean)
- `data` (Activity[]): - `id` (string)
  - `type` (enum<string>): One of `project`, `page`, `doc`, `comment` or `space`.
  - `operation` (string): The verb: new, renamed, deleted, duplicate, link, unlink, reply, updated, shared.
  - `detail` (string)
  - `label` (string)
  - `actor` (object)
  - `boardId` (string | null)
  - `spaceId` (string | null)
  - `at` (string)

### Errors

- 402 `plan_limit`: The workspace plan does not allow this, or AI credits are exhausted.
- 429 `rate_limited`: Too many requests.
