Get a site
One site or environment, with its platform, versions, size, usage, health, addresses and what you can do with it.
Path parameters
The id of a site row. A website's production site and each of its environments has its own id. Digits only. At least 1.
Returns
200 The site.
Fields of the 200 answer
One site or environment in full. The summaries (domains_summary, access_summary and the others) are short forms of what the endpoints of each feature answer in full. A site or environment row as lists and progress answers show it. Other fields may be present; the ones named here are always sent.
Fields
healthydegradeddownapplyingunknownnot_liveFields
customer for a site in one of your CoreClusters, platform for a standalone CoreStack site.
The site row id, the {site} of every /corestack/sites/{site} endpoint.
On a read (a site, the list of sites, a CoreCluster's sites, the overview): corecluster for a site in one of your CoreClusters, corestack for a standalone CoreStack site. The answer to a change that carries the row, such as creating a site, can send corestack for either; hosting.cluster_kind tells the two apart on every answer.
coreclustercorestackFields
Fields
production once a domain is attached, staging before.
productionstagingunknownThe change running on the row now, or null.
The package of a standalone CoreStack site, with its key, code and name. Null for a CoreCluster site.
The changes waiting for the row's next maintenance window.
Fields
Fields
Fields
The row's own address on the platform.
The restore running on the row now, or null.
The site the row belongs to. For a production row, the row itself.
The row's platform identifier.
A summary of the row's snapshots.
Fields
The size of the row, such as S, M or L.
The size of a staging environment. Null for a production row.
Fields
What you can do with the row now. Each entry says whether it is available and, when not, why.
A cluster by its id and name. A standalone CoreStack site reads CoreStack as the name.
Fields
How many scheduled tasks and redirects the row has, each while its feature is on.
How to connect to the database. The password is never in this answer.
When the site was deleted and until when it can be restored. Null for a site that is not deleted.
Fields of each item
The environment's platform identifier.
The environment's own address on the platform.
The site row id, the {site} every /corestack/sites/{site} endpoint takes.
The environment's role, such as production or staging.
Where the row is in its life, such as active or deleted.
The status last read from the cluster. Null until one has been read.
The row's most recent operations.
Fields of each item
The cluster the operation runs on.
Why the operation failed, in plain words. Null unless status is failed.
A stable code for the failure.
True when the change applies without a maintenance window.
What the operation did differently on purpose. Empty when nothing.
Fields of each item
Who asked for the change.
Present on some site creations and copies.
Always null here. A one-time result is read once with the reveal endpoint.
nonependingavailableviewedWhat a retry needs first, if anything.
Who revealed a one-time result and when, when there was one.
siteclusterbatchThe website the operation belongs to. Null for a cluster's own operation.
Where a change is. completed and failed are final; every other status means the change is still running and blocks another change to the same site.
pendingcommittedrolling_outexecutingcompletedfailedThe key of the step the operation is at. Null once it has completed.
Fields of each item
One of done, current, todo, failed or skipped.
The kind of change, such as crons_change or redirects_change.
The row's platform address, and whether HTTP authentication protects it.
The PHP, MariaDB and Node.js versions with the versions the row can change to.
The environment's own switches, as PATCH / sets them.
Fields
Whether the environment deploys automatically from Git.
Whether HTTP authentication is on for the whole environment.
Whether scheduled snapshots are on.
How to connect over SSH and SFTP.
If 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 | none | Check the id. You see only what your account can reach. |
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/sites/1042 \
-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/sites/1042');
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/corestack/sites/1042', {
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/sites/1042",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
)
data = res.json() if res.content else None{
"site": {
"access_summary": {
"apply_state": "applied",
"company_keys": 0,
"keys": 0,
"users": 1
},
"actions": {
"attach_domain": {
"available": true,
"reason": null
},
"delete": {
"available": true,
"reason": null
},
"restore_deleted": {
"available": false,
"reason": "This site is not deleted"
}
},
"adoption": "adopted",
"cloudflare": {
"connected": false,
"zone": null
},
"cluster": {
"id": 1017,
"name": "Northwind UK 1"
},
"commands": [],
"compute_family": "general",
"counts": {
"crons": 1
},
"crons_enabled": false,
"database": {
"host": "127.0.0.1",
"name": "wordpress",
"password_revealable": true,
"port": 3306,
"username": "application",
"via": "SSH tunnel"
},
"deleted": null,
"deploy_mode": "manual",
"deploy_mode_label": "Manual",
"deployments_summary": {
"last": null,
"mode": "manual"
},
"domain": "journal.harbourandfinch.example.com",
"domains_summary": {
"aliases": 0,
"dns": "unknown",
"noindex": false,
"primary": "journal.harbourandfinch.example.com",
"tls": "none",
"www": null
},
"email_summary": {
"sending_domain": null,
"state": "preview"
},
"environment": {
"env_id": "rs-northwind-journal-harbourandfinch-example-com",
"hostname": "journal-harbourandfinch-example-com.northwind.cfstack.example.net",
"id": 1051,
"name": "Production",
"role": "production",
"role_label": "Production",
"slug": "production"
},
"environments": [
{
"env_id": "rs-northwind-journal-harbourandfinch-example-com",
"hostname": "journal-harbourandfinch-example-com.northwind.cfstack.example.net",
"id": 1051,
"name": "Production",
"role": "production",
"role_label": "Production",
"slug": "production"
}
],
"health": "healthy",
"hosting": {
"cluster_kind": "customer",
"label": "CoreCluster Northwind UK 1"
},
"http_auth_summary": {
"apply_state": "applied",
"enabled": false,
"rules": 0,
"users": 0
},
"id": 1051,
"kind": "corecluster",
"lifecycle": "active",
"limits": {
"cpu_millicores": 2000,
"disk_bytes": 10737418240,
"memory_bytes": 4294967296
},
"logs": null,
"maintenance": {
"bypass_corefinity": 1,
"bypass_ips": [],
"enabled": false,
"since": null
},
"mariadb": {
"version": "11.8"
},
"mode": "production",
"mode_label": "Domain attached",
"operation": null,
"operations": [],
"package": null,
"pending_changes": {
"count": 0,
"outcome_at": null,
"state": null,
"window_starts_at": null
},
"php": {
"version": "8.3"
},
"platform": {
"key": "wordpress",
"label": "WordPress"
},
"platform_url": "https://journal-harbourandfinch-example-com.northwind.cfstack.example.net",
"preview": {
"label": "Platform address",
"protected": false,
"url": "https://journal-harbourandfinch-example-com.northwind.cfstack.example.net"
},
"primary_url": "https://journal.harbourandfinch.example.com",
"production_hosts": [
"journal.harbourandfinch.example.com"
],
"provisioning": null,
"removed": false,
"restore": null,
"settings": {
"auto_deploy": false,
"http_auth_enabled": false,
"scheduled_snapshots": true
},
"site": {
"domain": "journal.harbourandfinch.example.com",
"id": 1051
},
"site_id": "rs-northwind-journal-harbourandfinch-example-com",
"snapshots": {
"count": 0,
"effective_frequency": "off",
"effective_label": "Off",
"latest": null,
"latest_ready_at": null,
"next_scheduled_at": null,
"overridden": false,
"stored_gb": 0
},
"ssh": {
"command": "ssh -p 20031 [email protected]",
"host": "ssh-northwind.example.net",
"key_management": false,
"keys": [],
"port": 20031,
"sftp_command": "sftp -P 20031 [email protected]",
"tunnel_command": "ssh -N -L 3306:127.0.0.1:3306 -p 20031 [email protected]",
"user": "web",
"users": 1
},
"tier": "S",
"uat_size": null,
"usage": {
"cpu_millicores": 180,
"disk_used_bytes": 2147483648,
"memory_bytes": 912261120,
"observed_at": "2026-11-03T09:10:00Z",
"source": "live"
}
}
}{
"message": "Unauthenticated."
}{
"code": "company_unavailable",
"message": "Your company is unavailable.",
"reason": "company_unavailable"
}{
"message": "Not found."
}{
"code": "rate_limited",
"message": "Too many requests. Try again in 60 seconds.",
"reason": "rate_limited",
"retry_after_seconds": 60
}