API reference
sites.get
Read a Site
GET/api/v1/sites/{siteId}
Details
Read one Site in this Account with its Connection Access Level and status, and its health as last checked. A Site outside your Projects or another Account is NOT_FOUND. Never a token.
Input
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string |
Output
| Field | Type | Notes |
|---|---|---|
idrequired | string | |
projectIdrequired | string | |
namerequired | string | |
slugrequired | string | |
statusrequired | "provisioning" | "unclaimed" | "claimed" | "connected" | "failed" | "archived" | |
urlrequired | string or null | |
createdAtrequired | integer | from -9007199254740991 to 9007199254740991 |
buildrequired | object or null | |
jobrequired | object or null | |
connectionrequired | object or null | |
healthrequired | object or null | |
readingrequired | object or null |