Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Mem0 API Docs Stats API
description: mem0.ai API Docs
contact:
email: support@mem0.ai
license:
name: Apache 2.0
version: v1
servers:
- url: https://api.mem0.ai/
security:
- ApiKeyAuth: []
tags:
- name: Stats
paths:
/v1/stats/:
get:
tags:
- Stats
summary: Retrieve memory-related statistics for the authenticated user
description: 'This endpoint returns the following statistics:
- Total number of memories created
- Total number of search events
- Total number of add events'
operationId: stats_list
responses:
'200':
description: Successfully retrieved statistics.
content: {}
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: Authorization
description: 'API key authentication. Prefix your Mem0 API key with ''Token ''. Example: ''Token your_api_key'''
x-original-swagger-version: '2.0'
x-provenance:
method: harvested
publisher: Mem0
source: https://docs.mem0.ai/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)