---
title: "Inspect Latency For Session"
method: GET
path: "/api/v1/sessions/latency/{session_id}"
tags: ["sessions.latency"]
---

# Inspect Latency For Session

`GET /api/v1/sessions/latency/{session_id}`

## Path parameters

- `session_id` string, required

## Response `200`

Successful Response

- InspectLatencyResponse — This is a report of the time spent in each operation during this session. It contains a timeline, which lists the operations in the order they were executed, and a summary, which aggregates the operations by category and sub-category.
  - `session_id` string, required
  - `timeline` LatencyEntry[], required
    - `timestamp` string, date-time, required
    - `measurement_start` string, date-time, required
    - `category` 'tts' | 'stt' | 'llm' | 'tool' | 'http', required
    - `label` string, required
    - `metadata` string[], nullable
    - `unit_type` 'minutes' | 'seconds' | 'milliseconds' | 'microseconds' | 'nanoseconds', required
    - `value` number, required
    - `value_str` string, required
    - `time_delta` string, required
  - `summary` SummaryEntry[]
    - `category` 'tts' | 'stt' | 'llm' | 'tool' | 'http', required
    - `sub_category` string, nullable
    - `event_count` integer, required
    - `sum_ms` number, required
    - `sum_str` string, required
    - `average_ms` number, required
    - `average_str` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/asksyllable/apis/syllablesdk.md) · [All operations](https://skmtc.net/asksyllable/apis/syllablesdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/asksyllable/syllablesdk/revisions/534f1f22c775/schema)
