v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
agent

Get Quality Metrics

Get LLMAJ pass/fail aggregates for a project.

Args: request: FastAPI request (for rate limiter). project_id: Project UUID to aggregate metrics for. auth: Authenticated user. service: Agent service.

Returns: Quality metrics response with verdict counts and rates.

Raises: HTTPException: 404 if project not found.

get/projects/{project_id}/quality-metrics

Path parameters

project_idstring uuid required

Response

Successful Response

project_idstring required
pass_countinteger

Inferences with llmaj_verdict='pass'.

fail_countinteger

Inferences with llmaj_verdict='fail'.

uncertain_countinteger

Inferences with llmaj_verdict='uncertain'.

total_judgedinteger

Total inferences with any llmaj_verdict.

pass_ratenumber

Pass count / total judged.

fail_ratenumber

Fail count / total judged.