Skip to main content

Prerequisites

You’ll need an Engramme API key with access to the text source type. For the simplest setup, create an All Sources key in app.engramme.com.

Step 1: Check API Health

First, verify the API is reachable by checking the health endpoint:
You should see:

Step 2: Submit Your First Document for Training

Create a sample text file:
Now submit it to the LMM training pipeline:

Choose a source type

The source_type field tells Engramme where the content came from. For this guide, use text. See Source Types for the full list.
API keys can be scoped to specific source types. If your key does not include text, this training request will be rejected.
You’ll receive a response like:
/v1/memorize returns when asynchronous training has started. Memories may take a short time to become recallable.

Step 3: Recall Memories

Wait briefly for training to run, then retrieve relevant memories:
Response:
If no memories are returned immediately, retry after a short delay. Very short or synthetic training inputs may not always produce a recallable memory.

Next Steps

Authentication

Learn about API key management

Source Types

Pick the right source_type

Common Issues

Your API key is invalid or missing. Make sure you’re including the x-api-key header with your request.
Training takes time. Wait a moment and try again. You can also check whether the document was accepted by looking at the response from /v1/memorize.
Check that your file and parameters are valid. For text training inputs, files must be UTF-8 encoded and under 10MB. Also make sure source_type is one of the supported values listed above.