Analyze Bottlenecks
Engine
Analyze Bottlenecks
Identify performance bottlenecks.
Analyzes profiling data to identify the biggest bottlenecks, ranked by total time spent.
Use Cases:
- Find what’s slowing down your pipelines
- Prioritize optimization efforts
- Monitor bottleneck trends
Ranking:
- Sorted by total time spent (sum across all executions)
- Shows percentage of total execution time
- Includes execution count and average time
Example:
GET /v1/analytics/performance/engine/bottlenecks?hours=24&limit=10
GET
Analyze Bottlenecks
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
Required range:
1 <= x <= 168Number of bottlenecks to return
Required range:
1 <= x <= 50
