for (const host of await api.hosts.list()) {
console.log(host.kind, host.slug, host.status, host.url, host.certificate);
}for host in api.hosts.list():
print(host.kind, host.slug, host.status, host.url, host.certificate)status and certificate, read together
| status | certificate | The address |
|---|---|---|
empty | any | Nothing deployed. |
live | active | Answers. |
live | pending | Refuses the connection, for now. |
live with a pending certificate is not an outage
It is a wait of a minute or two on a fresh address level. Showing it as broken sends somebody debugging a deploy that worked.
requests30d
How many requests were counted. A site runs no code per request, so there is nothing to count there — the number matters for the kinds that do.
usedBytes is against the account's storage
Not a hosting allowance. What a host keeps online shares the object storage with files and mailboxes.