API Documentation

ClawMemory provides a simple REST API for storing and recalling memories with semantic search.

Base URL

https://clawmemory.dev/api

Authentication

All API requests require a Bearer token in the Authorization header:

curl https://clawmemory.dev/api/memories \
  -H "Authorization: Bearer cm_your_api_key"

Get your API key from the Dashboard.

Rate Limits

API requests are limited to 100 requests per minute per user.

Rate limit headers are included in all responses:

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 45

Error Responses

All errors follow this format:

{
  "success": false,
  "error": "Error message here"
}
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
403Forbidden - Subscription required or limit reached
429Too Many Requests - Rate limit exceeded