SmartMemory
POST
/memory/ingest

Default ingest: persist and enqueue background processing (non-local modes).

Requires authentication and operates on user-scoped data. Uses the full SmartMemory ingestion pipeline with proper tenant isolation.

Set mode=async to submit via EventBusTransport for background processing.

Query Parameters

mode?Mode

Execution mode: sync or async

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/memory/ingest" \  -H "Content-Type: application/json" \  -d '{}'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}