List saved log queries for a CoreCluster
Answers your saved queries for this CoreCluster, then the ones you keep for everywhere, then any that Corefinity support shared on this CoreCluster.
Path parameters
The id of a CoreCluster. Digits only. At least 1.
Returns
200 The saved queries.
Fields of the 200 answer
Fields of each item
True when you may delete it.
The CoreCluster the query is kept for. Sent only for a query kept for a CoreCluster.
Format: date-time.
The saved filters. Null when none were sent, and an empty list when they were saved as an empty object.
At least 1.
The LogsQL query. Null for a query saved as filters.
15m1h6h24h7d30dcustomTrue for a query Corefinity support shared with everyone on the site or CoreCluster.
The site the query is kept for. Null for one kept for every site, or for a CoreCluster.
A log source. all reads every source. search and queue exist only on platforms that run them; the sources list says which ones an environment has. Defaults to all.
allweb-accessweb-errorphpappcrondatabasecachesearchqueueIf it is refused
| Status | Reason | What to do |
|---|---|---|
401 | none | 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 | feature_off | This feature is not on for your organisation yet. |
429 | rate_limited | Wait 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/logs/saved-queries \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json"use Illuminate\Support\Facades\Http;
$response = Http::withToken(env('COREFINITY_TOKEN'))
->acceptJson()
->get('https://manage.corefinity.com/api/corestack/clusters/1017/logs/saved-queries');
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/corestack/clusters/1017/logs/saved-queries', {
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);import os
import requests
res = requests.get(
"https://manage.corefinity.com/api/corestack/clusters/1017/logs/saved-queries",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
)
data = res.json() if res.content else None{
"items": [
{
"can_delete": true,
"cluster": {
"id": 1017,
"name": "Northwind UK 1"
},
"created_at": "2026-11-03T10:00:00Z",
"filters": null,
"id": 3319,
"name": "Checkout errors",
"query": "status:>=500",
"range": "24h",
"shared": false,
"site": null,
"source": "web-access"
},
{
"can_delete": true,
"created_at": "2026-11-01T14:31:07Z",
"filters": {
"level": [
"warning",
"error"
]
},
"id": 3290,
"name": "PHP warnings",
"query": null,
"range": "7d",
"shared": false,
"site": null,
"source": "php"
}
]
}{
"message": "Unauthenticated."
}{
"code": "company_unavailable",
"message": "Your company is unavailable.",
"reason": "company_unavailable"
}{
"code": "feature_off",
"message": "Not found.",
"reason": "feature_off"
}{
"code": "rate_limited",
"message": "Too many requests. Try again in 60 seconds.",
"reason": "rate_limited",
"retry_after_seconds": 60
}