Skip to main content
Nowledge MemNowledge Mem

Ingest Batch

POST
/sources/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": "",  "message": "",  "results": [    {      "is_duplicate": false,      "lifecycle_state": "string",      "message": "",      "original_name": "string",      "source_id": "string"    }  ],  "total_duplicates": 0,  "total_errors": 0,  "total_ingested": 0}