{"uid":"cap_8vPySHIWpcmaZjvgCzNiS","slug":"host-withzero-ai-list-custom-domains-for-site-slug-109097d2","name":"List Custom Domains for Site Slug","description":"List custom domains attached to this slug. Owner-only. Reads from CUSTOM_DOMAINS KV (the same source the sites worker resolves at request time) — does not cross-check Cloudflare state.","url":"https://host.withzero.ai/sites/:slug/domains?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"proven_free","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"metered","summary":"metered — billed by usage","primary":{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"metered","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_FsbES9B8MRDQUWDYKWHf8","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"host-site-get-sites-slug-domains:1"}],"brandName":"host.withzero.ai","brandSlug":"host-withzero-ai-mpp","brandBaseUrl":"https://host.withzero.ai","brandDocsUrl":null,"whatItDoes":"Returns all custom domains currently attached to a specific hosted site slug, readable only by the slug owner.","exampleAgentPrompt":"Can you show me all the custom domains that are currently attached to my site slug 'my-portfolio' on host.withzero.ai?","exampleUseCases":[{"title":"Audit domains before site deletion","prompt":"Before I delete my site slug 'landing-v2', can you list all the custom domains attached to it so I know which ones I'll need to reassign?"},{"title":"Verify domain attachment after setup","prompt":"I just attached a custom domain to my slug 'shop-front' — can you pull up the full list of domains on that slug to confirm it went through?"},{"title":"Inventory all domains on a slug","prompt":"Can you check which custom domains are currently mapped to my site slug 'blog-2024' on host.withzero.ai?"}],"resultDescription":"An object listing all custom domains currently attached to the specified slug, sourced from the CUSTOM_DOMAINS KV store. Does not cross-check live Cloudflare DNS state — reflects only what is recorded in KV.","failureModes":["Unauthorized (403) if the caller is not the slug owner","Slug not found (404) if the slug does not exist","Empty list returned if no custom domains are attached","KV read errors may cause 500-level failures","Stale data possible if Cloudflare DNS state diverged from KV"],"whenToPreferThis":"Use this endpoint when you need to programmatically audit, display, or verify which custom domains are attached to a specific hosted site slug on host.withzero.ai. Prefer this over manual Cloudflare dashboard checks when building automated site management workflows. Note that results reflect KV state only and may not match live DNS if domains were modified outside this API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:51:35.572Z","isFirstParty":true,"canonicalSlug":"host-withzero-ai-list-custom-domains-for-site-slug-109097d2"}