Skip to main content

Base URL

All endpoints are prefixed with /api/.

Authentication

Every request must include an API key in the X-API-Key header:
API keys are created from the MemContext dashboard. See Authentication for details.

Endpoints

Response format

All successful responses return JSON. Error responses follow a consistent shape: For POST /api/memories, shorter memories usually return 201 with a final save result, while larger notes may return 202 Accepted with a jobId and message for tracking extraction into atomic memories.
Every response includes an X-Request-Id header for tracing.

Rate limits

Rate-limited endpoints return the following headers: See Authentication for per-endpoint limits.

Request limits

  • Maximum request body size: 50 KB.
  • Memory content maximum length: 10,000 characters.
  • Search query maximum length: 1,000 characters.