---
title: "Get Slowest Operations"
method: GET
path: "/v1/analytics/performance/engine/slow-operations"
tags: ["Analytics", "Analytics - Performance"]
---

# Get Slowest Operations

`GET /v1/analytics/performance/engine/slow-operations`

Get slowest individual operations.

Returns the slowest profiled operations, useful for debugging
specific slow executions.

**Use Cases:**
- Troubleshoot specific slow operations
- Identify outliers
- Deep dive into problematic executions

**Filtering:**
- `threshold_ms`: Only show operations slower than this
- Default: 1000ms (1 second)

**Response:**
- Timestamp of slow operation
- Stage name and component
- Latency in milliseconds
- Full metadata context

**Example:**
```bash
GET /v1/analytics/performance/engine/slow-operations?hours=24&threshold_ms=5000
```

## Query parameters

- `hours` integer — Hours of history
- `limit` integer — Number of operations to return
- `threshold_ms` number — Only show operations slower than this (ms)

## Response `200`

Successful Response

- SlowOperationsResponse — Response for slowest operations query.
  - `time_range` ApiAnalyticsModelsTimeRange, required — Time range for analytics queries.
    - `start` string, date-time, required — Start time (UTC)
    - `end` string, date-time, required — End time (UTC)
  - `operations` SlowOperation[], required — List of slowest operations
    - `timestamp` string, date-time, required — When the operation occurred
    - `stage_name` string, required — Stage name
    - `component` string, required — Component
    - `latency_ms` number, required — Operation latency
    - `metadata` object — Additional context from profiling
  - `threshold_ms` number, required — Latency threshold used for filtering

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/mixpeek/apis/mixpeek-api.md) · [All operations](https://skmtc.net/mixpeek/apis/mixpeek-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mixpeek/mixpeek-api/versions/220a3b263fda/schema)
