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: Upload Your First Document

Create a sample text file:
Now upload it:

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 upload will be rejected.
You’ll receive a response like:
/v1/memorize returns when processing has started. Memories may take a short time to become recallable.

Step 3: Recall Raw Memories

Wait briefly for processing, then retrieve relevant memories:
Response:
If no memories are returned immediately, retry after a short delay. Very short or synthetic uploads 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.
Processing takes 10-15 seconds. Wait a moment and try again. You can also check if the document was uploaded successfully by looking at the response from /v1/memorize.
Check that your file and parameters are valid. For text uploads, files must be UTF-8 encoded and under 10MB. Also make sure source_type is one of the supported values listed above.