Get site
get_siteFetch details of a single site: pages (slug/title/order/edit URL, plus each page's own search settings and old redirecting URLs when it has any), theme summary, search settings (site-wide title/description/share image/noindex/language, the stated business details, ownership verification codes, connected analytics/ad tracking IDs, and the name and social profiles read from the site), publish status, and URLs. Share url — it always resolves. live_url is null when the site has never been published: it has no public address yet, so say so and offer publish rather than handing over a link. Does NOT return the node tree (use get_page (with view: "structure")) or version history (use get_site_changes (with include_versions: true)). By default returns a slim theme (slug + palette tokens + font families) to keep the response compact; pass include_theme_config=true if you need the complete theme config object. Pass include for more in the same call: 'publish_state' (what is live, edited or draft-only, page by page), 'brief' (the site's design memory), 'data_files' (files embeds load).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Add to the answer: 'publish_state' — what is live vs edited vs draft-only, per page and per collection item, plus each page's sections and headlines; 'brief' — the site's design memory (vibe, voice, palette and fonts, recent decisions, the extracted design system), read it when you come back to a site; 'full_theme' — the complete theme object (same as include_theme_config); 'data_files' — the JSON/CSV files embeds load (upload_data_file). | |
| site_id | Yes | ||
| include_theme_config | No | When true, returns the complete theme object (all colors, typography, spacing, semantic tokens, etc.). When false or omitted (default), returns a slim theme summary — slug, palette tokens, font families — which is enough for almost every decision and keeps the response compact. Set true only when you need to round-trip the theme (e.g., before patch_fixture against /theme/config/...). |