---
title: "Get Project Stats"
method: GET
path: "/v1/private/projects/stats"
tags: ["Projects"]
---

# Get Project Stats

`GET /v1/private/projects/stats`

Get Project Stats

## Query parameters

- `page` integer
- `size` integer
- `name` string — Filter projects by name (partial match, case insensitive)
- `filters` string
- `from_time` string, date-time — When set, scope the project metrics from this time (ISO-8601 format); omitted keeps the all-time aggregates
- `to_time` string, date-time — Scope the project metrics up to this time (ISO-8601 format). Must be after 'from_time'.
- `sorting` string

## Response `200`

Project Stats

- ProjectStatsSummary
  - `content` ProjectStatsSummaryItem[]
    - `project_id` string, uuid
    - `feedback_scores` FeedbackScoreAverage[]
      - `name` string, required
      - `value` number, required
    - `duration` PercentageValues
      - `p50` number
      - `p90` number
      - `p99` number
    - `total_estimated_cost` number, double
    - `total_estimated_cost_sum` number, double
    - `usage` object
    - `trace_count` integer
    - `thread_count` integer
    - `guardrails_failed_count` integer
    - `error_count` ErrorCountWithDeviation
      - `count` integer
      - `deviation` integer
      - `deviation_percentage` integer

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
