Error Format
All errors follow this structure:details field is optional and provides additional context when available.
Error Codes
PAYMENT_REQUIRED (402)
PAYMENT_REQUIRED (402)
Missing or invalid x402 payment header. Returned when no payment proof is provided, or the payment is invalid/expired.
UNAUTHORIZED (401)
UNAUTHORIZED (401)
NOT_FOUND (404)
NOT_FOUND (404)
Resource not found. Returned when trying to access or delete a memory that doesn’t exist, was already deleted, or belongs to a different wallet.
VALIDATION_ERROR (422)
VALIDATION_ERROR (422)
Invalid request body. Returned when the request fails validation — missing required fields, exceeding limits, or wrong types. Includes details when available.
RATE_LIMIT_EXCEEDED (429)
RATE_LIMIT_EXCEEDED (429)
Rate limit exceeded. Includes limit and reset time in details.
INTERNAL_ERROR (500)
INTERNAL_ERROR (500)
Server error. Something went wrong on our end. If persistent, check the
/health endpoint.