Ingest File Path
Ingest a file by its local path.
Same as the upload endpoint, but accepts a filesystem path instead of a multipart upload. Used by the desktop app.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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": {}
}
]
}