Update Source
Update source lifecycle state.
Supported actions:
- 'reparse': Re-run parse → chunk → index pipeline
- 'mark_stale': Mark source as stale (needs re-processing)
Path Parameters
source_id*string
Request Body
application/json
action*string
Action: 'reparse' to re-parse, 'mark_stale' to mark as stale
Response Body
application/json
application/json
curl -X PATCH "http://127.0.0.1:14242/sources/string" \ -H "Content-Type: application/json" \ -d '{ "action": "string" }'{
"id": "string",
"source_type": "string",
"original_name": "string",
"mime_type": "string",
"file_path": "string",
"parsed_path": "string",
"source_url": "string",
"sha256": "string",
"size_bytes": 0,
"version": 1,
"lifecycle_state": "ingested",
"chunk_count": 0,
"memory_count": 0,
"section_tree": "string",
"summary": "string",
"error_message": "string",
"created_at": "string",
"updated_at": "string",
"metadata": {}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}