Skip to main content
Base URL: http://localhost:8000/api/v1

Ingest Content

POST /users/{user_id}/ingest
Content-Type: application/json

{
    "content": "Had a great meeting with Sarah about the Q4 roadmap...",
    "source_type": "conversation"
}
Response:
{
    "message": "Content ingested successfully",
    "memories_created": 3
}

Batch Ingest

For importing historical data or bulk processing:
POST /users/{user_id}/ingest/batch
Content-Type: application/json

{
    "items": [
        {"content": "First entry...", "source_type": "notes"},
        {"content": "Second entry...", "source_type": "conversation"}
    ]
}

Source Types

The source_type field hints at the content origin:
TypeUse Case
conversationChat transcripts, dialogues
notesPersonal notes, journals
emailEmail content
socialSocial media posts
The type is a hint for extraction context. The system works regardless of value.

User Management

Create User

POST /users/{user_id}

Response: 201 Created
{"message": "User {user_id} created successfully"}

Delete User

DELETE /users/{user_id}

Response: 200 OK
{"message": "User {user_id} deleted successfully"}