Skip to main content
patch/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}
Request example
Response
patch/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.

Path parameters

teamspaceIdstringrequired#
Teamspace id (uuid).
ownerstringrequired#
First segment of the library id /owner/repo (for example vercel in /vercel/next.js, websites in /websites/docs_example_com). Case-insensitive.
repostringrequired#
Second segment of the library id /owner/repo. Case-insensitive.

Body

application/json
projectTitlestring#

Length: max 100

descriptionstring#

Length: max 500

baseUrlstring#
Website base URL (http or https).

Length: max 100

webUrlstring#
Link shown on the library page (http or https).

Length: max 500

branchstring#
Branch to parse (repositories).

Length: max 100

foldersstring[]#
Only parse these folders.

Items: max 50

excludeFoldersstring[]#

Items: max 50

excludeFilesstring[]#

Items: max 100

rulesstring[]#
Rules shown to agents with the documentation.

Items: max 50

disallowboolean#
Stop indexing the library.
useQueryParamsboolean#
Keep query parameters when crawling (websites).
excludeUrlsstring[]#
URLs not to crawl (websites).

Items: max 100

skipClaudeVersionExclusionboolean#
Keep pages that look version-specific.
configSourceenum<string>#
Where the parser reads settings from: these settings, or the repository's context7.json (claimed repositories).
Options:dashboardcontext7json

Responses

application/json
The saved settings
configobjectrequired#
The saved owner settings. Unset fields are null.