---
title: "List a CoreCluster's activity"
url: https://docs.corefinity.com/api/reference/corecluster/list-cluster-activity
type: endpoint
last_updated: 2026-11-13
feature: clusters
related:
  - https://docs.corefinity.com/guides/corecluster/cluster-overview.md
  - https://docs.corefinity.com/mcp/tools/corecluster_activity_list.md
---
# List a CoreCluster's activity

What happened on the CoreCluster and its sites, newest first. Paged by `before`: send the answer's
`next_before` and `next_before_id` back as `before` and `before_id`, together; null means the last page.

```http
GET /api/corestack/clusters/{cluster}/activity
```

- Scope: `read`
- Two-factor: required on your account (all)
- Rate limit: 60 a minute
- Try it in the console: on

## Path parameters

- `cluster` (integer, required): The id of a CoreCluster. Digits only.

## Query parameters

- `limit` (integer): Items a page.
- `site_id` (integer): Only the activity of one site or environment of the CoreCluster, by its site row id. A row that is not on the CoreCluster answers `404`.
- `before` (string): The `next_before` of the previous answer, a time in epoch milliseconds. Send it with `before_id`.
- `before_id` (string): The `next_before_id` of the previous answer, such as `operation:5120`. Send it with `before`.
- `kinds[]` (array of strings): Only these kinds of activity, for example `kinds[]=operation&kinds[]=deployment`.
- `unfinished` (integer): Send `1` for only what is still running; `0`, or leaving it out, lists everything. The words `true` and `false` are refused `422`.
- `origin` (string): `mcp` for only what an AI assistant did, `panel` for everything else.
- `actor` (string): Only what one actor did. `u` followed by a user id, `schedule` or `corefinity`.
- `result` (string): Only items with this result.
- `from` (string): Only items at or after this date or time, such as `2026-11-01` or `2026-11-01T09:00:00Z`.
- `to` (string): Only items before this date or time; an item at exactly this time is left out.

## Request

### curl

```bash
curl https://manage.corefinity.com/api/corestack/clusters/1017/activity \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
```

### PHP

```php
use Illuminate\Support\Facades\Http;

$response = Http::withToken(env('COREFINITY_TOKEN'))
    ->acceptJson()
    ->get('https://manage.corefinity.com/api/corestack/clusters/1017/activity');

$data = $response->json();
```

### Node

```javascript
const res = await fetch('https://manage.corefinity.com/api/corestack/clusters/1017/activity', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
    Accept: 'application/json',
  },
});

// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);
```

### Python

```python
import os
import requests

res = requests.get(
    "https://manage.corefinity.com/api/corestack/clusters/1017/activity",
    headers={
        "Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
        "Accept": "application/json",
    },
)

data = res.json() if res.content else None
```

## Responses

### 200 One page of activity.

```json
{
  "items": [
    {
      "actor": {
        "id": 2041,
        "name": "Eleanor Finch"
      },
      "at": "2026-11-14T09:12:00Z",
      "cluster": {
        "id": 1017,
        "name": "Northwind UK 1"
      },
      "environment": null,
      "href": "/managed-clusters/sites/1042#activity",
      "id": "operation:5120",
      "kind": "operation",
      "origin": "panel",
      "ref": {
        "id": 5120,
        "type": "operation"
      },
      "scope": "site",
      "site": {
        "domain": "harbourandfinch.example.com",
        "id": 1042
      },
      "status": "completed",
      "status_label": "Done",
      "summary": "Scheduled tasks",
      "title": "Scheduled tasks",
      "unfinished": false
    }
  ],
  "next_before": null,
  "next_before_id": null
}
```

### 401 No token, or a token that is not valid.

```json
{
  "message": "Unauthenticated."
}
```

### 403 The token lacks the scope (`scope_required`, with the `scope` to use), your company requires two-factor authentication and you have not set it up, or your account has no company that can use Managed Clusters, for example because the company was closed (`company_unavailable` or `company_not_enabled`, whichever the route checks first). For Managed Clusters routes; any other route uses `ForbiddenScopeOrTwoFactor`.

```json
{
  "code": "company_unavailable",
  "message": "Your company is unavailable.",
  "reason": "company_unavailable"
}
```

### 404 The id does not exist, or it is something you cannot see. Both answer the same body.

```json
{
  "message": "Not found."
}
```

### 422 A filter value is not allowed, or only one of `before` and `before_id` was sent (`field` names the one that is missing).

```json
{
  "code": "invalid",
  "errors": {
    "before_id": [
      "Send before and before_id together."
    ]
  },
  "field": "before_id",
  "message": "Send before and before_id together.",
  "reason": "invalid"
}
```

### 429 Too many requests (`rate_limited`). Wait for the number of seconds in `Retry-After`, which `retry_after_seconds` repeats.

```json
{
  "code": "rate_limited",
  "message": "Too many requests. Try again in 60 seconds.",
  "reason": "rate_limited",
  "retry_after_seconds": 60
}
```

## If it is refused

| Status | Reason | What to do |
|---|---|---|
| 401 |  | Send a valid token as `Authorization: Bearer <token>`. |
| 403 | `company_unavailable` | Your company is unavailable. |
| 403 | `scope_required` | Use a token with the scope named in `scope`. |
| 403 | `two_factor_required` | Turn on two-factor on your account, then send again. |
| 404 |  | Check the id. You see only what your account can reach. |
| 422 | `invalid` | Fix the field named in `field`; `errors` says why. |
| 429 | `rate_limited` | Wait for the seconds in `Retry-After`. |

## The same task elsewhere

- Guide: [Cluster overview](https://docs.corefinity.com/guides/corecluster/cluster-overview.md)
- MCP tool: [`corecluster_activity_list`](https://docs.corefinity.com/mcp/tools/corecluster_activity_list.md)
