---
title: "Get Project Quality Metrics"
method: GET
path: "/v1/projects/{project_id}/quality-metrics"
tags: ["projects"]
---

# Get Project Quality Metrics

`GET /v1/projects/{project_id}/quality-metrics`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/projects/{project_id}/quality-metrics`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/projects/:project_id/quality-metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Get LLMAJ pass/fail aggregates for a project.

Args:
    project_id: Project identifier.
    auth: Authenticated caller.
    service: Project service.

Returns:
    Verdict counts and pass/fail rates.

## Path parameters

- `project_id` string, uuid, required

## Response `200`

Successful Response

- QualityMetricsResponse: LLMAJ quality metrics aggregation for a project. Rehomed from ``schemas.agent_service`` by ENG-5651. The endpoint reports on LLM-as-a-judge verdicts over a project's inferences, which survive the Continuous Adaptation Agent withdrawal; it only lived beside the agent schemas by accident of where it was first written. Field names and types are unchanged, so the wire contract is identical.
  - `project_id` string, required
  - `pass_count` integer: Inferences with llmaj_verdict='pass'.
  - `fail_count` integer: Inferences with llmaj_verdict='fail'.
  - `uncertain_count` integer: Inferences with llmaj_verdict='uncertain'.
  - `total_judged` integer: Total inferences with any llmaj_verdict.
  - `pass_rate` number: Pass count / total judged.
  - `fail_rate` number: Fail count / total judged.

## Other responses

- `404`: Project not found.
- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/projects/:project_id/quality-metrics/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
