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

# Get Project Quality Metrics

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

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

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/b92f75fd3b61/schema)
