Skip to main content
Monitor your Supermemory usage with detailed analytics on API calls, errors, and performance metrics.

Overview

The Analytics API provides comprehensive insights into your Supermemory usage:
  • Usage Statistics: Track API calls by type, hourly trends, and per-API key breakdown
  • Error Monitoring: Identify top error types and patterns
  • Detailed Logs: Inspect stored request logs and compacted response data for debugging
  • Performance Metrics: Monitor average response times and processing duration
Analytics data is available for your entire organization and can be filtered by time period.

Usage statistics

Get comprehensive usage statistics including hourly breakdowns and per-key metrics.

Endpoint

GET /v3/analytics/usage

Parameters

Example request

Response schema

tokensUsed sums recorded finalTokens for the listed keys, including chat usage. It is not the billable ingestion-token meter, and ordinary memory request logs do not necessarily populate it.

Error monitoring

Track and analyze errors to identify issues and improve reliability.

Endpoint

GET /v3/analytics/errors

Parameters

Same as usage endpoint - supports from, to, period, page, and limit.

Example request

Response schema

Detailed logs

Inspect stored request logs for debugging. Response data is compacted: strings, arrays, fields, and nesting can be truncated. The ordinary request tracker skips HTTP 402, 404, and 500 responses, so this is not a complete audit trail.

Endpoint

GET /v3/analytics/logs

Parameters

Use from, to, period, page, and limit as above. The current /logs handler filters by organization and time only; it does not apply type, statusCode, or keyId filters.

Example request

Response schema

Limits and retention

The maximum page size is 100 items. Normal API request rate limits also apply; this page does not establish a separate analytics-specific allowance.
An accepted date range does not guarantee that historical logs are still retained. Confirm the applicable service retention policy with Supermemory, and export data to your own systems when you need longer retention.