post/api/v2/sitemap/discover
Discover sitemap URLs for the selected project.
Discover sitemap URLs for the selected project.
Requires bearer API keyParameters
| Name | In | Description |
|---|---|---|
| X-Project-Id | header | Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.string |
Responses
200
application/jsonSitemap discovery result.
{
"type": "object",
"additionalProperties": false,
"properties": {
"jobId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"completed"
]
},
"urlsFound": {
"type": "integer"
},
"urlsCrawled": {
"type": "integer"
}
},
"required": [
"jobId",
"status",
"urlsFound",
"urlsCrawled"
]
}429
application/jsonSuccessful JSON response.
{
"type": "object",
"additionalProperties": false,
"properties": {
"error": {
"type": "string",
"enum": [
"SITEMAP_RECRAWL_RATE_LIMITED"
]
},
"message": {
"type": "string"
},
"retryAfter": {
"type": "integer"
},
"resetAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"error",
"message",
"retryAfter",
"resetAt"
]
}Try it
Send this request to the local WatchLLM REST handler. Use a key from /workspace/api; organization keys can include X-Project-Id only when the endpoint documents that header.