Get Engine Performance
Get engine performance metrics over time.
Query profiling data logged by the engine’s profiling infrastructure. All queries are automatically filtered to your namespace.
Time Range:
- Specify
hoursfor recent history (e.g.,hours=24for last 24 hours) - OR specify
start_dateandend_datefor custom range - Defaults to last 24 hours if neither provided
Grouping:
minute: High-resolution (for short time ranges)hour: Standard resolution (default)day: For longer time rangesweek,month: For historical trends
Response:
- Time-series metrics (avg, p50, p95, p99 latencies)
- Summary statistics across the entire time range
- All latencies in milliseconds
Example:
GET /v1/analytics/performance/engine?hours=24&group_by=hour
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Query Parameters
Hours of history (alternative to date range)
1 <= x <= 720Start date for time range
End date for time range
Time grouping (minute, hour, day, week)
^(minute|hour|day|week|month)$
