← All articles

SwaggerPulse journal

How to use probe history to investigate API latency

Watch the probe history demo.

A single successful check tells you an endpoint responded at one moment. Probe history adds context: how often checks were healthy, how long responses took and whether performance changed over the selected period.

This walkthrough uses a sample monitor in SwaggerPulse to explore its recorded results.

Open probe history

  1. Open an API monitor.
  2. Select Probe History.
  3. Review the healthy probe rate, number of recorded checks, average latency and 95th-percentile latency.
  4. Use Filter by time range to switch between the last 24 hours and the last seven days.
  5. Use Filter by endpoint to focus on one route.

Below the summary, the performance trend shows average response time by hour or day. The results table lists individual checks, including the endpoint, status, response details and latency.

What should you look for?

  • A sudden increase in latency: Compare recent results with earlier checks and investigate any relevant deployment or dependency change.
  • A degraded or down result: Look at the recorded response detail and neighbouring checks to understand whether the issue continued.
  • A high 95th percentile relative to the average: Some checks may be much slower than typical. Inspect individual results rather than relying on one aggregate.

These measurements describe the probes SwaggerPulse recorded. A new monitor with only a few checks has limited history, so avoid drawing strong conclusions from a small sample. Checks run from a single monitoring region, so their timings aren't a global view of every user's experience.

Add a latency threshold

If a response time is too slow for your use case, open the monitor's Settings and configure a Latency threshold in milliseconds. Successful responses exceeding that threshold are marked as degraded. Choose a threshold that fits the endpoint and review it against real measurements.

Probe history is useful both during an incident and as a regular check on performance. Start with a critical route, filter to that endpoint and see what its results tell you.

Try SwaggerPulse or read the user guide.