Ingest File
Ingest a file through the full source pipeline.
Accepts a multipart file upload. The file is saved to a temp location, then processed through ingest → parse → chunk → index.
Query Parameters
user_comment?|
Request Body
multipart/form-data
file*file
Format
binaryResponse Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/sources/ingest/file" \ -F file="string"{
"source_id": "string",
"original_name": "string",
"lifecycle_state": "string",
"is_duplicate": false,
"message": ""
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}