Get a website
get_siteGet one website's URL, access mode, version, and expiry. Identify it by name, which requires connecting a Valet account, or by the site_token returned when it was published anonymously.
A password-protected site reports that it is gated and never its visitor password. Read the password from the Valet dashboard instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Give this or site_token. The site's name, which requires a connected Valet account. | |
| org_name | No | The Valet organization the site belongs to. Omit to use the organization the account joined first. | |
| site_token | No | Give this or name. The token returned when the site was published anonymously; it identifies that one site. |