Ingest File Path
Ingest a file by local filesystem path (desktop app bridge).
Unlike the multipart upload endpoint, this accepts a path to a file already on disk. Used by the Tauri desktop app.
Request Body
application/json
file_path*string
Absolute path to the file on disk
user_comment?|
User comment about the file
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/sources/ingest/file-path" \ -H "Content-Type: application/json" \ -d '{ "file_path": "string" }'{
"source_id": "string",
"original_name": "string",
"lifecycle_state": "string",
"is_duplicate": false,
"message": ""
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}