---
title: "Trace Stats"
method: GET
path: "/api/v1/traces/stats"
tags: ["traces"]
---

# Trace Stats

`GET /api/v1/traces/stats`

## Query parameters

- `proxy_id` string, uuid, nullable
- `from` string, date-time, nullable
- `to` string, date-time, nullable

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- TraceStatsResponse
  - `total_calls` integer, required
  - `total_tokens` integer, required
  - `avg_latency_ms` number, nullable, required
  - `blocked_calls` integer, required
  - `redacted_calls` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xenovia/apis/controlplane.md) · [All operations](https://skmtc.net/xenovia/apis/controlplane/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xenovia/controlplane/versions/0e6598cbe8a0/schema)
