Get Engine Stage Breakdown
Get stage-level performance breakdown.
Breaks down engine performance by individual profiled stages (e.g., pipeline_run, generate_input_dataset, gcs_batch_upload).
Use Cases:
- Identify which stages are slowest
- See percentage of total time per stage
- Optimize specific bottlenecks
Response:
- Per-stage metrics (count, avg, p95, max latencies)
- Total time spent in each stage
- Percentage of total execution time
- Sorted by total time (worst bottlenecks first)
Example:
GET /v1/analytics/performance/engine/stages?hours=24
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
1 <= x <= 720Start date
End date

