CorefinityCorefinityDocs
Open the Control PanelControl Panel
CoreCluster · 6 of 10

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.

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

Path parameters

clusterintegerRequired

The id of a CoreCluster. Digits only. At least 1.

Query parameters

limitinteger

Items a page. Defaults to 25. 1 to 100.

site_idinteger

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. At least 1.

beforestring

The next_before of the previous answer, a time in epoch milliseconds. Send it with before_id.

before_idstring

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.

operationcommanddeploymentrestoresnapshotterminalpagespeedauditcopy
unfinishedinteger

Send 1 for only what is still running; 0, or leaving it out, lists everything. The words true and false are refused 422.

01
originstring

mcp for only what an AI assistant did, panel for everything else.

mcppanel
actorstring

Only what one actor did. u followed by a user id, schedule or corefinity.

resultstring

Only items with this result.

succeededfailedrunning
fromstring

Only items at or after this date or time, such as 2026-11-01 or 2026-11-01T09:00:00Z.

tostring

Only items before this date or time; an item at exactly this time is left out.

Returns

200 One page of activity.

Fields of the 200 answer
itemsarray of objectsRequired
Fields of each item
actorobject or any or null
atstringRequired
clusterobject or any or null
environmentobject or any or null
hrefstring or null

A path in the Control Panel.

idstringRequired

The kind, a colon and a number, such as operation:77120.

kindstringRequired
operationcommanddeploymentrestoresnapshotterminalpagespeedauditcopy
originstring or null
mcppanelnull
refobject or null

What the item is about, by type and id.

scopestring or null
siteobject or any or null
statusstring or nullRequired
status_labelstring or null
summarystring or null
titlestringRequired
unfinishedboolean
next_beforeinteger or nullRequired

Send as before for the next page. Null on the last page.

next_before_idstring or nullRequired

Send as before_id for the next page. Null on the last page.

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403company_unavailableYour company is unavailable.
403scope_requiredUse a token with the scope named in scope.
403two_factor_requiredTurn on two-factor on your account, then send again.
404noneCheck the id. You see only what your account can reach.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/corestack/clusters/1017/activity \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/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
}
Try it
Held in this tab's memory only. Never stored or sent to us.

Use a token with only the read scope. How to make one

Was this helpful?
Open in ClaudeOpen in ChatGPT