cURL
curl --request POST \ --url https://api.duohub.ai/memories/start-ingestion \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "memoryID": "mem-123" } '
{ "status": "success", "message": "Sample batch processing started", "data": { "tokenMetrics": { "tokensForIngestion": 5000, "tokensRemaining": 95000, "totalTokenLimit": 100000 }, "sampleCount": 10 } }
Once you’ve added files to a memory, call this endpoint to begin ingesting the files.
Your duohub API key. Type: str
ID of the memory to start ingestion for
Ingestion started successfully
success
Success message
Show child attributes