Creating and Uploading a Custom Sitemap using JSON
Overview
Use a custom sitemap when you need to batch upload URLs and their associated content. While the "Add Website" feature supports filtering and is typically more efficient, the custom sitemap method is beneficial for specific bulk upload needs.
Sitemap JSON Format
This JSON format lets you upload web URLs, functioning like a sitemap. Once uploaded, the system ingests all the web content linked to these URLs.
Example JSON:
{
"type": "webLinks",
"mode": "auto",
"urls": [
{
"url": "https://docs.ai12z.net/docs/ai-settings/overview-prompt"
},
{
"url": "https://docs.ai12z.net/docs/ai-settings/ai-cards"
},
{
"url": "https://dev-cdn.ai12z.net/65afeadc9660870171632cf1/65c4f27e31d75cb01a26fafe/Trust%20within%20the%20ai12z%20copilot%20platform.pdf"
}
]
}
Parameters
type
: Must be set towebLinks
.mode
(Optional): Options areauto
,sync
,async
oradvanceCrawl
. Default isauto
. For most cases (99%) you should be set toauto
.