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
Ingestion started successfully
The response is of type object.
object