Prerequisites
You’ll need an Engramme API key with access to thetext 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:Step 2: Submit Your First Document for Training
Create a sample text file:Choose a source type
Thesource_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./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: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_typeCommon Issues
No memories returned
No memories returned
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.400 Bad Request
400 Bad Request
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.
