---
title: "List library benchmarks"
method: GET
path: "/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/benchmarks"
tags: ["Teamspace Libraries"]
---

# List library benchmarks

`GET /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/benchmarks`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/benchmarks`
- Auth: HTTP bearer

The library's benchmark score and its latest graded questions, newest first (up to 100): real questions asked about the library, each with the score Context7's grader gave the answer from its docs and the grader's explanation. Low scores show what the docs miss. Only the teamspace that owns the library can read them.

## Response `200`

The benchmarks

- object
  - `stats` TeamspaceLibraryBenchmarkStats, required
    - `count` integer, required
    - `averageScore` number, nullable
    - `averageScoreLast10` number, nullable
    - `averageScoreLast100` number, nullable
    - `minScore` number, nullable
    - `maxScore` number, nullable
    - `latestBenchmarkDate` string, date-time, nullable
  - `benchmarks` TeamspaceLibraryBenchmark[], required
    - `benchmarkDate` string, date-time, required
    - `score` number, required: 0 to 100.
    - `query` string, required: The question that was asked.
    - `explanation` string: Why the grader gave this score.
    - `subscores` object
      - `implementation` number, nullable
      - `api` number, nullable
      - `relevance` number, nullable
      - `completeness` number, nullable
      - `clarity` number, nullable

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden - Insufficient permissions or plan restrictions
- `404`: Not Found - Resource doesn't exist
- `500`: Internal Server Error

## Changes

- **2026-10-22** `cd09292c6641`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/libraries/:owner/:repo/benchmarks/get.md)

---

[API](https://skmtc.dev/context7/apis/context7-public-api.md) - [All operations](https://skmtc.dev/context7/apis/context7-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/context7/apis/context7-public-api/revisions/945f7834fa8c?raw)
