Preview Sitemap URLs
Returns a paginated, searchable list of sitemap URLs without starting a crawl. WHEN TO USE: use this when you need to preview sitemap URLs before a crawl; use discoverWebsite to start discovery; use trainDiscoveredUrls after pages are found. RETURNS: a paginated list of sitemap URLs.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
knowledge-bases. readonlyOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Body
Location ID
tDtDnQdgm2LXpyiqYvZ6Knowledge base ID
tDtDnQdgm2LXpyiqYvZ6Website URL to preview sitemap for
https://example.comCrawl mode
ExactPathDomainPathPage number (1-based)
1Number of URLs per page (10–200)
100Substring filter applied to URLs
/blogResponse
Sitemap preview fetched successfully
Whether a sitemap was found for the URL
trueMachine-readable reason when the preview is empty or degraded
NO_SITEMAPFETCH_FAILEDFILTERED_EMPTYSEARCH_EMPTYNO_SITEMAPWhere the sitemap URL list came from
sitemapcachesitemapWhether the raw sitemap URL list was served from preview cache
falsePaginated slice of matching URLs
["https://example.com/page-1","https://example.com/page-2"]Total number of URLs after mode-filter and search
42Current page number (1-based)
1Page size used
100Total URLs found in the raw sitemap before mode/search filtering
150Total URLs after Path/Domain mode filtering before search filtering
80