Dashboard
The Dashboard API provides observability into your Memsolus workspace — memory creation trends, search quality, token usage, top queries, and actionable alerts. All endpoints require dashboard.read.
Endpoint Overview
| Method | Path | Description |
|---|---|---|
GET | /v1/dashboard/summary | KPIs with period-over-period comparison |
GET | /v1/dashboard/activity | Paginated recent activity feed |
GET | /v1/dashboard/charts/memories | Time series of memory creation |
GET | /v1/dashboard/charts/requests | Time series of API requests |
GET | /v1/dashboard/charts/tokens | Time series of token consumption |
GET | /v1/dashboard/quality | Search quality and token usage metrics |
GET | /v1/dashboard/categories | Memory category distribution |
GET | /v1/dashboard/top-queries | Most frequent search queries |
GET | /v1/dashboard/alerts | Actionable workspace alerts |
GET | /v1/dashboard/search-diagnosis | Worst-performing and zero-result queries |
Common Query Parameters
Most endpoints accept these parameters for scoping the time window:
| Parameter | Type | Description |
|---|---|---|
workspace_id | string (UUID) | Scope metrics to a specific workspace. Defaults to the workspace associated with the API key. |
days | number | Rolling time window in days (e.g., 7, 30, 90). Used by summary and most chart endpoints. |
start_date | string (ISO 8601) | Start of the date range (alternative to `days`) |
end_date | string (ISO 8601) | End of the date range |
granularity | enum | Chart granularity: `day`, `week`, or `month` |
Dashboard Summary
/v1/dashboard/summaryKPIs with comparison to the previous period and quota usage
KPI status values: OK, WARNING, CRITICAL. Status is determined relative to the target for each KPI.
Delta direction: UP or DOWN relative to the previous period. For zero_result_rate, DOWN is positive.
Activity Feed
/v1/dashboard/activityPaginated feed of recent workspace events
| Parameter | Type | Description |
|---|---|---|
limit | number | Number of events to return, max 100 (default: 20) |
page | number | Page number (default: 1) |
Memories Chart
/v1/dashboard/charts/memoriesTime series of memory creation grouped by granularity
| Parameter | Type | Description |
|---|---|---|
days | number | Rolling time window in days (default: 30) |
granularity | enum | Bucket size: `day` (default), `week`, or `month` |
Requests Chart
/v1/dashboard/charts/requestsTime series of API requests grouped by granularity
Tokens Chart
/v1/dashboard/charts/tokensTime series of token consumption (input + output)
Quality Metrics
/v1/dashboard/qualitySearch quality scores and token usage per operation type
| Parameter | Type | Description |
|---|---|---|
days | number | Rolling time window in days (default: 30) |
Category Distribution
/v1/dashboard/categoriesDistribution of memories across categories
Top Queries
/v1/dashboard/top-queriesMost frequent search queries by count and average relevance score
| Parameter | Type | Description |
|---|---|---|
days | number | Rolling time window in days (default: 30) |
limit | number | Number of queries to return, max 100 (default: 20) |
Alerts
/v1/dashboard/alertsActionable alerts derived from KPIs and usage trends
| Parameter | Type | Description |
|---|---|---|
days | number | Time window for deriving alerts (default: 30) |
Search Diagnosis
/v1/dashboard/search-diagnosisQueries with the worst average scores and queries returning zero results
| Parameter | Type | Description |
|---|---|---|
days | number | Rolling time window in days (default: 30) |
limit | number | Number of queries per list (default: 10) |
Use the zero_result_queries list to identify gaps in your memory base. Queries that consistently return zero results are candidates for new memory creation.