{"uid":"cap_rKqd52LJDMqwIqUthf_w9","slug":"site-withzero-ai-list-custom-domains-for-site-slug-f459cee3","name":"List Custom Domains for Site Slug","description":"List custom domains attached to this slug. Owner-only. Reads from CUSTOM_DOMAINS KV — does not cross-check Cloudflare state.","url":"https://site.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_3gxwT_EmuoFPcFKrQM5ZM","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"make-website-get-sites-slug-domains:1"}],"brandName":"site.withzero.ai","brandSlug":"site-withzero-ai-mpp","brandBaseUrl":"https://site.withzero.ai","brandDocsUrl":null,"whatItDoes":"Returns all custom domains attached to a specific hosted site slug, readable only by the site owner.","exampleAgentPrompt":"What custom domains are currently attached to my site slug 'my-portfolio-2024'?","exampleUseCases":[{"title":"Audit domains before site deletion","prompt":"Before I delete my hosted site with slug 'launch-promo', can you list all the custom domains attached to it so I know what I'll need to clean up?"},{"title":"Verify domain setup after purchase","prompt":"I just bought a domain and attached it to my slug 'my-startup-landing' — can you list the custom domains on that slug to confirm it went through?"},{"title":"Inventory custom domains across projects","prompt":"Show me all the custom domains linked to my site slug 'agency-client-june' so I can document them for the handoff."}],"resultDescription":"Returns an object listing all custom domains currently mapped to the specified slug in the CUSTOM_DOMAINS KV store. Note: this reflects stored KV state only and does not verify live Cloudflare DNS configuration.","failureModes":["Slug not found — no such slug exists for the authenticated owner","Unauthorized — caller does not own the slug","Empty list returned if no custom domains are attached","KV read errors if the store is temporarily unavailable","Stale data — KV state may differ from actual Cloudflare DNS state"],"whenToPreferThis":"Use this endpoint when you need to quickly audit or enumerate custom domains associated with a specific slug for the authenticated owner. It reads directly from the CUSTOM_DOMAINS KV store for fast lookup, but be aware it does not cross-check live Cloudflare state — prefer this for administrative inventory rather than authoritative DNS verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T17:57:33.276Z","isFirstParty":true,"canonicalSlug":"site-withzero-ai-list-custom-domains-for-site-slug-f459cee3"}