Memokit
API Reference

API Reference

Complete API reference for Memokit

API Reference

This is the complete API reference for Memokit. All endpoints are RESTful and return JSON responses.

Base URL

https://api.memokit.dev

Authentication

All requests require an API key in the Authorization header:

Authorization: Bearer mk_your_api_key

See Authentication for details.

API Versions

The current API version is v1. All endpoints are prefixed with /v1/.

Endpoints Overview

Memories

MethodEndpointDescription
POST/v1/memoriesCreate a new memory
POST/v1/memories/searchSearch memories semantically
GET/v1/memoriesList memories
GET/v1/memories/:idGet a specific memory
DELETE/v1/memories/:idDelete a memory

Entities

MethodEndpointDescription
POST/v1/entitiesCreate a new entity
GET/v1/entitiesList entities
DELETE/v1/entities/:idDelete an entity

Relations

MethodEndpointDescription
POST/v1/relationsCreate a new relation
GET/v1/relationsList relations
DELETE/v1/relations/:idDelete a relation

Common Response Codes

CodeDescription
200Success
201Created
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - Quota exceeded
404Not Found
429Too Many Requests - Rate limited
500Internal Server Error

Error Response Format

All errors follow this format:

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message"
  }
}

Pagination

List endpoints support pagination with these parameters:

ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber20Items per page (max 100)

Response includes pagination info:

{
  "items": [...],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 150,
    "totalPages": 8
  }
}

Rate Limits

See Rate Limits for details on API rate limiting.

On this page