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 key

Parameters

X-Project-Id

header

Required for organization-wide API keys on project-scoped endpoints. Project-scoped keys infer the project automatically.

Schema: string

id

path / required

No description provided.

Schema: string

Responses

200

Knowledge source retry result.

application/json
{
  "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

Error response.

application/json
{
  "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.