Ingest Batch
Ingest a batch of files at once.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request body for batch file ingestion (folder import from desktop app).
Response Body
application/json
application/json
curl -X POST "https://example.com/sources/ingest/batch" \ -H "Content-Type: application/json" \ -d '{ "files": [ { "file_path": "string" } ] }'{ "folder_name": "", "total_ingested": 0, "total_duplicates": 0, "total_errors": 0, "results": [ { "source_id": "string", "original_name": "string", "lifecycle_state": "string", "is_duplicate": false, "message": "" } ], "message": ""}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}