Get site details
get_siteReturn name, url, plan, last deploy time, and recent deploy history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| siteId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| plan | Yes | ||
| files | Yes | Number of files currently served by the site (live count from the pod, excluding lost+found and _staging). After update_site(mode:'patch'), this may be larger than the most recent deploy's fileCount because patch keeps the existing files. After update_site(mode:'replace'), it equals the most recent deploy's fileCount. | |
| siteId | Yes | ||
| status | Yes | Lifecycle state. Sites are usable only in 'active'. 'deleted' is the soft-delete recovery bucket (returned until the team's restore window expires and the sweeper purges the row). 'deleting' is the transient state of an in-flight hard-delete request. | |
| history | Yes | ||
| bandwidth | Yes | ||
| filePaths | No | Site-relative paths of every file currently on the pod (same scope as `files`). Lets a caller see what's there before deciding which paths to patch or delete, without having to download the site. Omitted when the live introspection step fails (e.g. pod not ready) — `files` then falls back to the most recent deploy's fileCount. | |
| request_id | No | Server-assigned request correlation id. Quote it when contacting support. | |
| lastDeployAt | Yes | ||
| sourceStored | Yes | Whether editable source is stored. Read and edit source, then build_and_deploy when true. | |
| sourceManifest | Yes | Saved source build settings. Preserve these when rebuilding. |