---
title: "Get performance quantile summary"
description: "Returns latency / TTFT / TPS quantile distributions aggregated over the full time range."
---

<a id="playground-button:docs/apis/metrics/get-performance-quantile-summary"></a>

**POST** `https://api.respan.ai/api/dashboard/quantiles/summary/`

Returns latency / TTFT / TPS quantile distributions aggregated over the full time range.

## Servers

`https://api.respan.ai`: Respan API Server

<a id="request.auth"></a>

## Authentication

<a id="request.auth.Authorization"></a>

### RespanApiKey

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer &lt;RESPAN_API_KEY&gt;. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -&gt; Providers or respan_params.credential_override in the request body, not in this authentication field.

HTTP scheme: `bearer`; format: `Respan API key`.


```http
Authorization: Bearer $RESPAN_API_KEY
```


**Or:**

### DashboardJwt

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.

HTTP scheme: `bearer`; format: `Dashboard JWT`.


```http
Authorization: Bearer $RESPAN_DASHBOARD_JWT
```


<a id="request.query"></a>

## Query parameters


| Parameter | Type | Required | Description and constraints |
| --- | --- | --- | --- |
| <a id="request.query.summary_type"></a>`summary_type` | `string` | Optional | Preset time range. Use this or explicit `start_time` / `end_time`.<br />Allowed: `"daily"`, `"weekly"`, `"monthly"`, `"quarterly"`, `"yearly"`, `"last_24h"`, `"all"`<br />Default: `all` |
| <a id="request.query.date"></a>`date` | `string` | Optional | Base date used with `summary_type` presets.<br />Format: `date` |
| <a id="request.query.start_time"></a>`start_time` | `string` | Optional | Optional explicit ISO start time.<br />Format: `date-time` |
| <a id="request.query.end_time"></a>`end_time` | `string` | Optional | Optional explicit ISO end time.<br />Format: `date-time` |
| <a id="request.query.time_tick"></a>`time_tick` | `string` | Optional | Bucket granularity for time-series responses.<br />Allowed: `"minute"`, `"hour"`, `"day"`<br />Default: `hour` |
| <a id="request.query.timezone_offset"></a>`timezone_offset` | `number` | Optional | Timezone offset, in hours, used when resolving preset ranges.<br />Default: `0` |


<a id="request"></a>

## Request body

The request body is optional.

### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Optional body | Optional POST body for quantile endpoints. Time range controls are URL query parameters.<br />Reference: `#/components/schemas/DashboardQuantilesRequest` |
| <a id="request.body.filters"></a>`filters` | `object` | Optional | Narrows the spans the metrics are computed from.<br /><br />Each key is a field to filter on, and each value is a condition: `{"<field>": {"operator": "<operator>", "value": [...]}}`. A span must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.<br /><br />**Operators:** `""` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `""` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[""]`.<br /><br />**Fields:** span columns, such as `model`, `provider_id`, `deployment_name`, `customer_identifier`, `custom_identifier`, `organization_key_id`, `prompt_id`, `log_type`, `status_code`, `environment`, `cost`, `latency`, `prompt_tokens`, `completion_tokens` and `total_request_tokens`, plus `metadata__<key>` (values are strings). Aliases such as `total_tokens` and `total_cost`, and `scores__<evaluator_id>`, don't work here.<br /><br />**Example:**<br /><br />```json<br />{<br />  "model": {"operator": "", "value": ["gpt-5.5"]},<br />  "customer_identifier": {"operator": "", "value": ["alex@acme.dev"]}<br />}<br />```<br />Reference: `#/components/schemas/Filters`<br />Example: `{"customer_identifier":{"operator":"","value":["alex@acme.dev"]}}` |
| `filters.status` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.status.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.status.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.status.value[]` | `any` | Array item | - |
| `filters.status_code` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.status_code.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.status_code.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.status_code.value[]` | `any` | Array item | - |
| `filters.unique_id` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.unique_id.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.unique_id.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.unique_id.value[]` | `any` | Array item | - |
| `filters.customer_identifier` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.customer_identifier.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.customer_identifier.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.customer_identifier.value[]` | `any` | Array item | - |
| `filters.thread_identifier` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.thread_identifier.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.thread_identifier.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.thread_identifier.value[]` | `any` | Array item | - |
| `filters.custom_identifier` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.custom_identifier.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.custom_identifier.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.custom_identifier.value[]` | `any` | Array item | - |
| `filters.group_identifier` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.group_identifier.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.group_identifier.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.group_identifier.value[]` | `any` | Array item | - |
| `filters.prompt_id` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.prompt_id.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.prompt_id.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.prompt_id.value[]` | `any` | Array item | - |
| `filters.trace_unique_id` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.trace_unique_id.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.trace_unique_id.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.trace_unique_id.value[]` | `any` | Array item | - |
| `filters.span_parent_id` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.span_parent_id.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.span_parent_id.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.span_parent_id.value[]` | `any` | Array item | - |
| `filters.is_root_span` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.is_root_span.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.is_root_span.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.is_root_span.value[]` | `any` | Array item | - |
| `filters.span_workflow_name` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.span_workflow_name.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.span_workflow_name.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.span_workflow_name.value[]` | `any` | Array item | - |
| `filters.span_name` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.span_name.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.span_name.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.span_name.value[]` | `any` | Array item | - |
| `filters.model` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.model.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.model.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.model.value[]` | `any` | Array item | - |
| `filters.log_type` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.log_type.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.log_type.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.log_type.value[]` | `any` | Array item | - |
| `filters.stream` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.stream.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.stream.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.stream.value[]` | `any` | Array item | - |
| `filters.has_tool_calls` | `object` | Optional | Whether the span made tool calls.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.has_tool_calls.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.has_tool_calls.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.has_tool_calls.value[]` | `any` | Array item | - |
| `filters.cache_bit` | `object` | Optional | Whether the response was served from the Respan cache.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.cache_bit.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.cache_bit.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.cache_bit.value[]` | `any` | Array item | - |
| `filters.cache_key` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.cache_key.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.cache_key.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.cache_key.value[]` | `any` | Array item | - |
| `filters.prompt_tokens` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.prompt_tokens.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.prompt_tokens.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.prompt_tokens.value[]` | `any` | Array item | - |
| `filters.completion_tokens` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.completion_tokens.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.completion_tokens.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.completion_tokens.value[]` | `any` | Array item | - |
| `filters.total_tokens` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.total_tokens.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.total_tokens.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.total_tokens.value[]` | `any` | Array item | - |
| `filters.cost` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.cost.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.cost.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.cost.value[]` | `any` | Array item | - |
| `filters.latency` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.latency.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.latency.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.latency.value[]` | `any` | Array item | - |
| `filters.positive_feedback` | `object` | Optional | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.positive_feedback.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.positive_feedback.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.positive_feedback.value[]` | `any` | Array item | - |
| `filters.<key>` | `object` | Map value | A filter condition with an operator and value.<br />Reference: `#/components/schemas/FilterValue` |
| `filters.<key>.operator` | `string` | Optional | Comparison operator. An empty string means equals.<br />Allowed: `""`, `"not"`, `"in"`, `"not_in"`, `"lt"`, `"lte"`, `"gt"`, `"gte"`, `"contains"`, `"not_contains"`, `"icontains"`, `"startswith"`, `"not_startswith"`, `"endswith"`, `"not_endswith"`, `"empty"`, `"not_empty"`<br />Default: ``<br />Example: `"gte"` |
| `filters.<key>.value` | `array<any>` | Required in parent | Value(s) to filter by.<br />Example: `[0.01]` |
| `filters.<key>.value[]` | `any` | Array item | - |
| <a id="request.body.metrics_to_aggregate"></a>`metrics_to_aggregate` | `array<string>` | Optional | Quantile metric families to calculate.<br />Example: `["latency_quantiles","ttft_quantiles"]` |
| `metrics_to_aggregate[]` | `string` | Array item | Allowed: `"latency_quantiles"`, `"ttft_quantiles"`, `"tps_quantiles"`, `"prompt_tokens_quantiles"`, `"completion_tokens_quantiles"` |


<details class="api-schema-source">
<summary>OpenAPI request schema</summary>


```json
{
  "$ref": "#/components/schemas/DashboardQuantilesRequest"
}
```

</details>

<a id="response"></a>

## Responses

### 200

Successful response.

#### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Body | - |
| <a id="response.body.summary"></a>`summary` | `object` | Required in parent | Reference: `#/components/schemas/DashboardQuantilesSummary`<br />Additional properties are allowed |
| `summary.latency_quantiles_p_50` | `number or null` | Optional | - |
| `summary.latency_quantiles_p_90` | `number or null` | Optional | - |
| `summary.latency_quantiles_p_95` | `number or null` | Optional | - |
| `summary.latency_quantiles_p_99` | `number or null` | Optional | - |
| `summary.ttft_quantiles_p_50` | `number or null` | Optional | - |
| `summary.ttft_quantiles_p_90` | `number or null` | Optional | - |
| `summary.ttft_quantiles_p_95` | `number or null` | Optional | - |
| `summary.ttft_quantiles_p_99` | `number or null` | Optional | - |
| `summary.tps_quantiles_p_50` | `number or null` | Optional | - |
| `summary.tps_quantiles_p_90` | `number or null` | Optional | - |
| `summary.tps_quantiles_p_95` | `number or null` | Optional | - |
| `summary.tps_quantiles_p_99` | `number or null` | Optional | - |
| `summary.prompt_tokens_quantiles_p_50` | `number or null` | Optional | - |
| `summary.prompt_tokens_quantiles_p_90` | `number or null` | Optional | - |
| `summary.prompt_tokens_quantiles_p_95` | `number or null` | Optional | - |
| `summary.prompt_tokens_quantiles_p_99` | `number or null` | Optional | - |
| `summary.completion_tokens_quantiles_p_50` | `number or null` | Optional | - |
| `summary.completion_tokens_quantiles_p_90` | `number or null` | Optional | - |
| `summary.completion_tokens_quantiles_p_95` | `number or null` | Optional | - |
| `summary.completion_tokens_quantiles_p_99` | `number or null` | Optional | - |


<details class="api-schema-source">
<summary>OpenAPI response schema</summary>


```json
{
  "type": "object",
  "required": [
    "summary"
  ],
  "properties": {
    "summary": {
      "$ref": "#/components/schemas/DashboardQuantilesSummary"
    }
  }
}
```

</details>

<a id="response.error"></a>

### 403

The API key is missing, invalid or expired.

#### application/json


| Field | Type | Requirement | Description and constraints |
| --- | --- | --- | --- |
| `$` | `object` | Body | - |
| `detail` | `string` | Required in parent | - |


<details class="api-schema-source">
<summary>OpenAPI response schema</summary>


```json
{
  "type": "object",
  "required": [
    "detail"
  ],
  "properties": {
    "detail": {
      "type": "string"
    }
  }
}
```

</details>

##### Example


```json
{
  "detail": "Your API key is invalid or expired, please check your API key in the platform settings."
}
```


## OpenAPI source

The operation and referenced components below retain the complete OpenAPI definitions, including constraints and examples.

<!-- openapi-operation:start -->
<details class="api-schema-source">
<summary>OpenAPI operation</summary>


```json
{
  "summary": "Get performance quantile summary",
  "operationId": "getQuantilesSummary",
  "tags": [
    "Dashboard"
  ],
  "description": "Returns latency / TTFT / TPS quantile distributions aggregated over the full time range.",
  "parameters": [
    {
      "name": "summary_type",
      "in": "query",
      "schema": {
        "type": "string",
        "enum": [
          "daily",
          "weekly",
          "monthly",
          "quarterly",
          "yearly",
          "last_24h",
          "all"
        ],
        "default": "all"
      },
      "description": "Preset time range. Use this or explicit `start_time` / `end_time`."
    },
    {
      "name": "date",
      "in": "query",
      "schema": {
        "type": "string",
        "format": "date"
      },
      "description": "Base date used with `summary_type` presets."
    },
    {
      "name": "start_time",
      "in": "query",
      "schema": {
        "type": "string",
        "format": "date-time"
      },
      "description": "Optional explicit ISO start time."
    },
    {
      "name": "end_time",
      "in": "query",
      "schema": {
        "type": "string",
        "format": "date-time"
      },
      "description": "Optional explicit ISO end time."
    },
    {
      "name": "time_tick",
      "in": "query",
      "schema": {
        "type": "string",
        "enum": [
          "minute",
          "hour",
          "day"
        ],
        "default": "hour"
      },
      "description": "Bucket granularity for time-series responses."
    },
    {
      "name": "timezone_offset",
      "in": "query",
      "schema": {
        "type": "number",
        "default": 0
      },
      "description": "Timezone offset, in hours, used when resolving preset ranges."
    }
  ],
  "requestBody": {
    "required": false,
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/DashboardQuantilesRequest"
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "Successful response.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "summary"
            ],
            "properties": {
              "summary": {
                "$ref": "#/components/schemas/DashboardQuantilesSummary"
              }
            }
          }
        }
      }
    },
    "403": {
      "$ref": "#/components/responses/InvalidApiKey"
    }
  },
  "security": [
    {
      "RespanApiKey": []
    },
    {
      "DashboardJwt": []
    }
  ]
}
```

</details>
<!-- openapi-operation:end -->

<!-- openapi-path-item:start -->
<details class="api-schema-source">
<summary>OpenAPI path metadata</summary>


```json
{}
```

</details>
<!-- openapi-path-item:end -->

<!-- openapi-components:start -->
<details class="api-schema-source">
<summary>Referenced OpenAPI components</summary>


````json
{
  "responses": {
    "InvalidApiKey": {
      "description": "The API key is missing, invalid or expired.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "detail"
            ],
            "properties": {
              "detail": {
                "type": "string"
              }
            }
          },
          "example": {
            "detail": "Your API key is invalid or expired, please check your API key in the platform settings."
          }
        }
      }
    }
  },
  "schemas": {
    "DashboardQuantilesRequest": {
      "type": "object",
      "description": "Optional POST body for quantile endpoints. Time range controls are URL query parameters.",
      "properties": {
        "filters": {
          "$ref": "#/components/schemas/Filters",
          "description": "Narrows the spans the metrics are computed from.\n\nEach key is a field to filter on, and each value is a condition: `{\"<field>\": {\"operator\": \"<operator>\", \"value\": [...]}}`. A span must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.\n\n**Operators:** `\"\"` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `\"\"` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[\"\"]`.\n\n**Fields:** span columns, such as `model`, `provider_id`, `deployment_name`, `customer_identifier`, `custom_identifier`, `organization_key_id`, `prompt_id`, `log_type`, `status_code`, `environment`, `cost`, `latency`, `prompt_tokens`, `completion_tokens` and `total_request_tokens`, plus `metadata__<key>` (values are strings). Aliases such as `total_tokens` and `total_cost`, and `scores__<evaluator_id>`, don't work here.\n\n**Example:**\n\n```json\n{\n  \"model\": {\"operator\": \"\", \"value\": [\"gpt-5.5\"]},\n  \"customer_identifier\": {\"operator\": \"\", \"value\": [\"alex@acme.dev\"]}\n}\n```"
        },
        "metrics_to_aggregate": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "latency_quantiles",
              "ttft_quantiles",
              "tps_quantiles",
              "prompt_tokens_quantiles",
              "completion_tokens_quantiles"
            ]
          },
          "description": "Quantile metric families to calculate.",
          "example": [
            "latency_quantiles",
            "ttft_quantiles"
          ]
        }
      }
    },
    "DashboardQuantilesSummary": {
      "type": "object",
      "properties": {
        "latency_quantiles_p_50": {
          "type": "number",
          "nullable": true
        },
        "latency_quantiles_p_90": {
          "type": "number",
          "nullable": true
        },
        "latency_quantiles_p_95": {
          "type": "number",
          "nullable": true
        },
        "latency_quantiles_p_99": {
          "type": "number",
          "nullable": true
        },
        "ttft_quantiles_p_50": {
          "type": "number",
          "nullable": true
        },
        "ttft_quantiles_p_90": {
          "type": "number",
          "nullable": true
        },
        "ttft_quantiles_p_95": {
          "type": "number",
          "nullable": true
        },
        "ttft_quantiles_p_99": {
          "type": "number",
          "nullable": true
        },
        "tps_quantiles_p_50": {
          "type": "number",
          "nullable": true
        },
        "tps_quantiles_p_90": {
          "type": "number",
          "nullable": true
        },
        "tps_quantiles_p_95": {
          "type": "number",
          "nullable": true
        },
        "tps_quantiles_p_99": {
          "type": "number",
          "nullable": true
        },
        "prompt_tokens_quantiles_p_50": {
          "type": "number",
          "nullable": true
        },
        "prompt_tokens_quantiles_p_90": {
          "type": "number",
          "nullable": true
        },
        "prompt_tokens_quantiles_p_95": {
          "type": "number",
          "nullable": true
        },
        "prompt_tokens_quantiles_p_99": {
          "type": "number",
          "nullable": true
        },
        "completion_tokens_quantiles_p_50": {
          "type": "number",
          "nullable": true
        },
        "completion_tokens_quantiles_p_90": {
          "type": "number",
          "nullable": true
        },
        "completion_tokens_quantiles_p_95": {
          "type": "number",
          "nullable": true
        },
        "completion_tokens_quantiles_p_99": {
          "type": "number",
          "nullable": true
        }
      },
      "additionalProperties": true
    },
    "FilterValue": {
      "type": "object",
      "description": "A filter condition with an operator and value.",
      "required": [
        "value"
      ],
      "properties": {
        "operator": {
          "type": "string",
          "description": "Comparison operator. An empty string means equals.",
          "enum": [
            "",
            "not",
            "in",
            "not_in",
            "lt",
            "lte",
            "gt",
            "gte",
            "contains",
            "not_contains",
            "icontains",
            "startswith",
            "not_startswith",
            "endswith",
            "not_endswith",
            "empty",
            "not_empty"
          ],
          "default": "",
          "example": "gte"
        },
        "value": {
          "type": "array",
          "description": "Value(s) to filter by.",
          "items": {},
          "example": [
            0.01
          ]
        }
      }
    },
    "Filters": {
      "type": "object",
      "description": "Each key is a field to filter on, and each value is a condition: `{\"<field>\": {\"operator\": \"<operator>\", \"value\": [...]}}`. A result must match every condition. To set two conditions on one field, such as a range, pass a list of conditions.\n\n**Operators:** `\"\"` (equals, the default), `not`, `in`, `not_in`, `lt`, `lte`, `gt`, `gte`, `contains`, `not_contains`, `icontains` (ignores case), `startswith`, `not_startswith`, `endswith`, `not_endswith`, `empty`, `not_empty`. Put values in a list: `\"\"` and `in` match any of the listed values, and `not` and `not_in` match none of them. Other operators take one value; for `empty` and `not_empty`, send `[\"\"]`.\n\nThe fields you can filter on depend on the endpoint; `metadata__<key>` filters custom metadata where the endpoint supports it.",
      "properties": {
        "status": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "status_code": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "unique_id": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "customer_identifier": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "thread_identifier": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "custom_identifier": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "group_identifier": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "prompt_id": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "trace_unique_id": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "span_parent_id": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "is_root_span": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "span_workflow_name": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "span_name": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "model": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "log_type": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "stream": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "has_tool_calls": {
          "$ref": "#/components/schemas/FilterValue",
          "description": "Whether the span made tool calls."
        },
        "cache_bit": {
          "$ref": "#/components/schemas/FilterValue",
          "description": "Whether the response was served from the Respan cache."
        },
        "cache_key": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "prompt_tokens": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "completion_tokens": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "total_tokens": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "cost": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "latency": {
          "$ref": "#/components/schemas/FilterValue"
        },
        "positive_feedback": {
          "$ref": "#/components/schemas/FilterValue"
        }
      },
      "example": {
        "customer_identifier": {
          "operator": "",
          "value": [
            "alex@acme.dev"
          ]
        }
      },
      "additionalProperties": {
        "$ref": "#/components/schemas/FilterValue"
      }
    }
  },
  "securitySchemes": {
    "DashboardJwt": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "Dashboard JWT",
      "description": "Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.",
      "x-fern-bearer": {
        "name": "dashboardJwt",
        "env": "RESPAN_DASHBOARD_JWT"
      }
    },
    "RespanApiKey": {
      "type": "http",
      "scheme": "bearer",
      "bearerFormat": "Respan API key",
      "description": "Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.",
      "x-fern-bearer": {
        "name": "respanApiKey",
        "env": "RESPAN_API_KEY"
      }
    }
  }
}
````

</details>
<!-- openapi-components:end -->
