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

# List library suggestions

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

## Request

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

Questions the library's docs answered badly in Context7's benchmark, newest first, with what to add and the doc files to change. Only the teamspace that owns the library can read them.

## Response `200`

The suggestions

- object
  - `suggestions` TeamspaceLibrarySuggestion[], required
    - `recommendation` string, required: What to add or change in the docs.
    - `query` string, required: The question the docs answered badly.
    - `benchmarkScore` number, required
    - `sourceFiles` string[], required: Doc files to change.
    - `timestamp` string, date-time, required

## 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** `e17589fd8767`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/libraries/:owner/:repo/suggestions/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)
