List Domains
Last updated Changelog
On this page
GET /crates/{handle}/domains
The crate’s own domains: subdomains of the customer’s, each pointed at the crate with a CNAME to cname_target. An active domain is served over WebDAV and FTPS, with a certificate the storage node gets for it; SSH, SFTP and rsync answer on any name that resolves to the crate. A domain with a login admits only that sub-user; without one, every login in the crate.
status is pending until its CNAME is seen (and removed if it’s still pending after 7 days, or 7 days after its CNAME moved to another crate), active while served, and failing once its CNAME has been gone for 7 days (it stops being served, and comes back when the CNAME does). An active domain whose CNAME has gone missing shows when in cname_missing_since. problem says what’s wrong, when something is.
Response (200)
[
{
"hostname": "files.example.com",
"login": null,
"status": "active",
"cname_target": "c7xk2m9p.crates.workspace.org",
"verified_at": "2026-11-27T09:12:44+00:00",
"checked_at": "2026-11-27T09:12:44+00:00",
"cname_missing_since": null,
"problem": null
},
{
"hostname": "backup.client1.com",
"login": "c7xk2m9p-client1",
"status": "pending",
"cname_target": "c7xk2m9p.crates.workspace.org",
"verified_at": null,
"checked_at": "2026-11-27T09:20:01+00:00",
"cname_missing_since": null,
"problem": "No CNAME to c7xk2m9p.crates.workspace.org yet."
}
]
Errors
Besides the errors any endpoint can return:
| Status | Code | When |
|---|---|---|
| 403 | scope_denied |
This API key does not have Crates read access for this crate. |
| 404 | not_found |
Crate not found. |