post/api/v2/knowledge-sources/{id}/retry
Retry Knowledge Base source indexing.
Re-runs the local project-scoped Knowledge Base ingestion workflow for an existing source and replaces its indexed chunks/events with the latest trusted local content.
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 |
| id | path / required | No description provided.string |
Responses
200
application/jsonKnowledge source retry result.
{
"type": "object",
"additionalProperties": false,
"properties": {
"sourceId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"pending",
"extracting",
"ready",
"failed"
]
},
"chunks": {
"type": "integer"
},
"error": {
"type": "string"
}
},
"required": [
"sourceId",
"status"
]
}404
application/jsonError response.
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
}
}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.