Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely. Every key can read the management API (/v2/teamspaces/*), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with Write access ticked; other keys get 403 write_access_required.
Body
application/json
Incremental policy update. All fields are optional — only provided fields are modified. At least one of 'sourceTypes' or 'libraryFilters' must be provided.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Context7 MCP","description":"Up-to-date docs for AI agents.","colors":{"primary":"#10B981","light":"#ECFDF5","dark":"#064E3B"},"logo":{"light":"https://mintcdn.com/context7/U6tImExBAiuicuew/public/logo/logo.svg?fit=max\u0026auto=format\u0026n=U6tImExBAiuicuew\u0026q=85\u0026s=34753285ee1ce27ba8e58f105be9400d","dark":"https://mintcdn.com/context7/U6tImExBAiuicuew/public/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=U6tImExBAiuicuew\u0026q=85\u0026s=af940971c0a07546d58498f92f080237","href":"https://context7.com"},"favicon":"https://mintcdn.com/context7/SgNxFp4zqYjChMW3/public/favicon.ico?fit=max\u0026auto=format\u0026n=SgNxFp4zqYjChMW3\u0026q=85\u0026s=fde1d06735875edbfaece72470929b7e","api":{"playground":{"display":"simple"}},"navbar":{"links":[{"href":"https://context7.com/contact","label":"Contact"},{"href":"https://github.com/upstash/context7","label":"GitHub"}],"primary":{"type":"button","label":"Dashboard","href":"https://context7.com"}},"footer":{"socials":{"x":"https://x.com/context7ai","github":"https://github.com/upstash/context7","discord":"https://upstash.com/discord"},"links":[{"header":"Resources","items":[{"label":"Website","href":"https://context7.com"},{"label":"Submit a Library","href":"https://context7.com/add-library"},{"label":"Dashboard","href":"https://context7.com/dashboard"}]},{"header":"Community","items":[{"label":"GitHub","href":"https://github.com/upstash/context7"},{"label":"Discord","href":"https://upstash.com/discord"},{"label":"Twitter","href":"https://x.com/context7ai"}]}]},"integrations":{"intercom":{"appId":"rtjkeau6"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"context7","hasAudioNarration":false,"actualSubdomain":"context7","customDomains":["context7.com"],"gitSource":{"type":"github","owner":"upstash","repo":"context7","deployBranch":"master","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec8c2db60c5e999976c44d","collectionId":"4a8180f0-6bc5-4512-9b0e-3a94983a21e2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec8c2db60c5e999976c44d"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedddc6e0f593fc3df3000a","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Context7","count":410},{"language":"default","tag":"API Reference","count":124},{"language":"default","tag":"API","count":115},{"language":"default","tag":"Docs7","count":80},{"language":"default","tag":"Enterprise","count":33},{"language":"default","tag":"On-Premise","count":30},{"language":"default","tag":"Docs7 Sites","count":28},{"language":"default","tag":"Components","count":26},{"language":"default","tag":"Teamspace Admin","count":23},{"language":"default","tag":"Teamspace Libraries","count":22}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/policies/update-teamspace-policies","slug":"/api-reference/policies/update-teamspace-policies","pageMetadata":{"title":"Update teamspace policies","description":"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use `enable`/`disable` arrays (both allowed if no overlap). For library lists, use `add`/`remove` objects or `clear: true` to remove all. Requires owner or admin role. All field names use camelCase. With `dryRun: true` nothing is saved; the response shows the policies the patch would give, `accessibleLibraryCount` after the change, and `currentAccessibleLibraryCount` before it.","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/policies","href":"/api-reference/policies/update-teamspace-policies","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use \", _jsx(_components.code, {\n children: \"enable\"\n }), \"/\", _jsx(_components.code, {\n children: \"disable\"\n }), \" arrays (both allowed if no overlap). For library lists, use \", _jsx(_components.code, {\n children: \"add\"\n }), \"/\", _jsx(_components.code, {\n children: \"remove\"\n }), \" objects or \", _jsx(_components.code, {\n children: \"clear: true\"\n }), \" to remove all. Requires owner or admin role. All field names use camelCase. With \", _jsx(_components.code, {\n children: \"dryRun: true\"\n }), \" nothing is saved; the response shows the policies the patch would give, \", _jsx(_components.code, {\n children: \"accessibleLibraryCount\"\n }), \" after the change, and \", _jsx(_components.code, {\n children: \"currentAccessibleLibraryCount\"\n }), \" before it.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update teamspace policies","description":"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use `enable`/`disable` arrays (both allowed if no overlap). For library lists, use `add`/`remove` objects or `clear: true` to remove all. Requires owner or admin role. All field names use camelCase. With `dryRun: true` nothing is saved; the response shows the policies the patch would give, `accessibleLibraryCount` after the change, and `currentAccessibleLibraryCount` before it.","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/policies","href":"/api-reference/policies/update-teamspace-policies","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update teamspace policies","description":"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use `enable`/`disable` arrays (both allowed if no overlap). For library lists, use `add`/`remove` objects or `clear: true` to remove all. Requires owner or admin role. All field names use camelCase. With `dryRun: true` nothing is saved; the response shows the policies the patch would give, `accessibleLibraryCount` after the change, and `currentAccessibleLibraryCount` before it.","operationId":"updatePolicies","tags":["Policies"],"requestBody":"a6d73999-c5c8-4044-aa9c-4bc097ffb4d0","responses":{"200":"11f582ff-d6cf-4d0f-a2b1-6178045aa3e2","400":"8e0104c1-0293-4f29-aae2-16d10e800f7c","401":"d171aa14-e5f3-4e90-982a-20094369da1e","403":"dbcfc23f-a87a-47c5-b2f9-477d96b69b1f","404":"af61955a-f163-4386-a74c-77ead81bd668","500":"bfee9879-128b-4619-b6f6-3042333ed0db"},"security":["e7163ccc-726f-48f1-acdb-70eb637795ae"],"method":"patch","type":"path","servers":["0f8d69b1-7b56-4fb7-9c88-8186ccbae6d7"],"path":"/v2/policies","baseUrlOptions":["https://context7.com/api"],"title":"Update teamspace policies","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Incremental policy update. All fields are optional — only provided fields are modified. At least one of 'sourceTypes' or 'libraryFilters' must be provided.","minProperties":1,"properties":{"dryRun":{"type":"boolean","description":"Preview the change and its library count without saving.","uniqueKey":"dryRun","typeLabel":"boolean"},"sourceTypes":{"type":"object","description":"Enable or disable specific source types. Both can be provided in one request, but the same type cannot appear in both arrays.","properties":{"enable":{"type":"array","items":{"type":"string","enum":["public_repos","private_sources","confluence","uploaded_files","websites","llmstxt"],"uniqueKey":"sourceTypes.enable.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Source types to enable","uniqueKey":"sourceTypes.enable","typeLabel":"enum\u003cstring>[]"},"disable":{"type":"array","items":{"type":"string","enum":["public_repos","private_sources","confluence","uploaded_files","websites","llmstxt"],"uniqueKey":"sourceTypes.disable.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Source types to disable","uniqueKey":"sourceTypes.disable","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"sourceTypes","typeLabel":"object"},"libraryFilters":{"type":"object","description":"Update library access filters.","properties":{"mode":{"oneOf":[{"type":"string","enum":["quality","select",null],"description":"Filter mode (null to clear)","uniqueKey":"libraryFilters.mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["quality","select",null],"description":"Filter mode (null to clear)","uniqueKey":"libraryFilters.mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.mode","typeLabel":"enum\u003cstring> | null"},"quality":{"type":"object","description":"Update quality-mode settings.","properties":{"requireVerified":{"type":"boolean","description":"Restrict to verified libraries only","uniqueKey":"libraryFilters.quality.requireVerified","typeLabel":"boolean"},"minTrustScore":{"oneOf":[{"type":"integer","minimum":0,"maximum":10,"description":"Minimum trust score, 0-10 (null to clear)","uniqueKey":"libraryFilters.quality.minTrustScore.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"maximum":10,"description":"Minimum trust score, 0-10 (null to clear)","uniqueKey":"libraryFilters.quality.minTrustScore.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.minTrustScore","typeLabel":"integer | null"},"maxAgeDays":{"oneOf":[{"type":"integer","minimum":1,"description":"Maximum age in days (null to clear)","uniqueKey":"libraryFilters.quality.maxAgeDays.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"description":"Maximum age in days (null to clear)","uniqueKey":"libraryFilters.quality.maxAgeDays.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.maxAgeDays","typeLabel":"integer | null"},"blockedLibraries":{"type":"object","description":"Incremental add/remove operation on a list of library identifiers or domains. Use 'clear' to remove all entries at once.","properties":{"add":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.quality.blockedLibraries.add.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to add — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.quality.blockedLibraries.add","typeLabel":"string[]"},"remove":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.quality.blockedLibraries.remove.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to remove — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.quality.blockedLibraries.remove","typeLabel":"string[]"},"clear":{"type":"boolean","description":"Set to true to remove all entries. Cannot be used together with 'add' or 'remove'.","uniqueKey":"libraryFilters.quality.blockedLibraries.clear","typeLabel":"boolean"}},"uniqueKey":"libraryFilters.quality.blockedLibraries","typeLabel":"object"},"exceptedLibraries":{"type":"object","description":"Incremental add/remove operation on a list of library identifiers or domains. Use 'clear' to remove all entries at once.","properties":{"add":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.quality.exceptedLibraries.add.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to add — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.quality.exceptedLibraries.add","typeLabel":"string[]"},"remove":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.quality.exceptedLibraries.remove.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to remove — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.quality.exceptedLibraries.remove","typeLabel":"string[]"},"clear":{"type":"boolean","description":"Set to true to remove all entries. Cannot be used together with 'add' or 'remove'.","uniqueKey":"libraryFilters.quality.exceptedLibraries.clear","typeLabel":"boolean"}},"uniqueKey":"libraryFilters.quality.exceptedLibraries","typeLabel":"object"},"repoFilters":{"type":"object","description":"Update repo-specific quality filters.","properties":{"minStars":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum stars threshold (null to clear)","uniqueKey":"libraryFilters.quality.repoFilters.minStars.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum stars threshold (null to clear)","uniqueKey":"libraryFilters.quality.repoFilters.minStars.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.repoFilters.minStars","typeLabel":"integer | null"},"allowedLicenses":{"type":"object","description":"Incremental add/remove operation on a list of SPDX license identifiers. Use 'clear' to remove all entries at once.","properties":{"add":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9.+\\-_]+$","maxLength":64,"uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses.add.items.[INDEX]","typeLabel":"string"},"description":"SPDX license identifiers to add (e.g. 'MIT', 'Apache-2.0', 'BSD-3-Clause')","uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses.add","typeLabel":"string[]"},"remove":{"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9.+\\-_]+$","maxLength":64,"uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses.remove.items.[INDEX]","typeLabel":"string"},"description":"SPDX license identifiers to remove","uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses.remove","typeLabel":"string[]"},"clear":{"type":"boolean","description":"Set to true to remove all entries. Cannot be used together with 'add' or 'remove'.","uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses.clear","typeLabel":"boolean"}},"uniqueKey":"libraryFilters.quality.repoFilters.allowedLicenses","typeLabel":"object"}},"uniqueKey":"libraryFilters.quality.repoFilters","typeLabel":"object"},"websiteFilters":{"type":"object","description":"Update website-specific quality filters.","properties":{"minBacklinks":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum backlinks threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minBacklinks.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum backlinks threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minBacklinks.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.websiteFilters.minBacklinks","typeLabel":"integer | null"},"minReferringDomains":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum referring domains threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum referring domains threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.websiteFilters.minReferringDomains","typeLabel":"integer | null"},"minOrganicTraffic":{"oneOf":[{"type":"integer","minimum":0,"description":"Minimum organic traffic threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"description":"Minimum organic traffic threshold (null to clear)","uniqueKey":"libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.1","typeLabel":"null"}],"uniqueKey":"libraryFilters.quality.websiteFilters.minOrganicTraffic","typeLabel":"integer | null"}},"uniqueKey":"libraryFilters.quality.websiteFilters","typeLabel":"object"}},"uniqueKey":"libraryFilters.quality","typeLabel":"object"},"select":{"type":"object","description":"Update select-mode settings.","properties":{"allowedLibraries":{"type":"object","description":"Incremental add/remove operation on a list of library identifiers or domains. Use 'clear' to remove all entries at once.","properties":{"add":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.select.allowedLibraries.add.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to add — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.select.allowedLibraries.add","typeLabel":"string[]"},"remove":{"type":"array","items":{"type":"string","uniqueKey":"libraryFilters.select.allowedLibraries.remove.items.[INDEX]","typeLabel":"string"},"description":"Identifiers to remove — library paths (e.g. '/org/repo', '/org') or domains (e.g. 'stripe.com')","uniqueKey":"libraryFilters.select.allowedLibraries.remove","typeLabel":"string[]"},"clear":{"type":"boolean","description":"Set to true to remove all entries. Cannot be used together with 'add' or 'remove'.","uniqueKey":"libraryFilters.select.allowedLibraries.clear","typeLabel":"boolean"}},"uniqueKey":"libraryFilters.select.allowedLibraries","typeLabel":"object"}},"uniqueKey":"libraryFilters.select","typeLabel":"object"}},"uniqueKey":"libraryFilters","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"disableSourceType":{"title":"disableSourceType","value":{"sourceTypes":{"disable":["websites"]}}},"setQualityFilters":{"title":"setQualityFilters","value":{"libraryFilters":{"quality":{"requireVerified":true,"minTrustScore":4,"repoFilters":{"minStars":1000}}}}},"setWebsiteFilters":{"title":"setWebsiteFilters","value":{"libraryFilters":{"quality":{"websiteFilters":{"minBacklinks":100,"minReferringDomains":10,"minOrganicTraffic":1000}}}}},"blockLibrary":{"title":"blockLibrary","value":{"libraryFilters":{"quality":{"blockedLibraries":{"add":["/org/repo"]}}}}},"blockDomain":{"title":"blockDomain","value":{"libraryFilters":{"quality":{"blockedLibraries":{"add":["example.com"]}}}}},"exceptLibrary":{"title":"exceptLibrary","value":{"libraryFilters":{"quality":{"exceptedLibraries":{"add":["/vercel/next.js"]}}}}},"allowPermissiveLicenses":{"title":"allowPermissiveLicenses","value":{"libraryFilters":{"quality":{"repoFilters":{"allowedLicenses":{"add":["MIT","Apache-2.0","BSD-3-Clause","ISC"]}}}}}},"clearLicenseRestriction":{"title":"clearLicenseRestriction","value":{"libraryFilters":{"quality":{"repoFilters":{"allowedLicenses":{"clear":true}}}}}},"allowDomain":{"title":"allowDomain","value":{"libraryFilters":{"select":{"allowedLibraries":{"add":["stripe.com","/vercel/next.js"]}}}}},"clearAllowedLibraries":{"title":"clearAllowedLibraries","value":{"libraryFilters":{"select":{"allowedLibraries":{"clear":true}}}}},"combined":{"title":"combined","value":{"sourceTypes":{"enable":["websites"],"disable":["confluence"]},"libraryFilters":{"mode":"quality","quality":{"minTrustScore":4,"maxAgeDays":365,"blockedLibraries":{"add":["/org/repo"],"remove":["/org/old-repo"]},"repoFilters":{"minStars":100},"websiteFilters":{"minBacklinks":100}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"11f582ff-d6cf-4d0f-a2b1-6178045aa3e2":{"description":"Updated policy configuration","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Complete teamspace policy configuration","required":["sourceTypes","libraryFilters","accessibleLibraryCount"],"properties":{"sourceTypes":{"type":"object","description":"Access settings for each documentation source type","properties":{"public_repos":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.public_repos.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.public_repos","typeLabel":"object"},"private_sources":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.private_sources.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.private_sources","typeLabel":"object"},"confluence":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.confluence.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.confluence","typeLabel":"object"},"uploaded_files":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.uploaded_files.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.uploaded_files","typeLabel":"object"},"websites":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.websites.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.websites","typeLabel":"object"},"llmstxt":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.llmstxt.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes.llmstxt","typeLabel":"object"}},"required":["public_repos","private_sources","confluence","uploaded_files","websites","llmstxt"],"isRequired":true,"uniqueKey":"oneOf.0.sourceTypes","typeLabel":"object"},"libraryFilters":{"type":"object","description":"Library access filters. Mode determines which sub-object is active.","properties":{"mode":{"oneOf":[{"type":"string","enum":["quality","select",null],"description":"Filter mode: 'quality' for threshold-based filtering, 'select' for manual library selection","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["quality","select",null],"description":"Filter mode: 'quality' for threshold-based filtering, 'select' for manual library selection","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.mode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.mode","typeLabel":"enum\u003cstring> | null"},"quality":{"type":"object","description":"Quality-mode settings (active when mode is 'quality')","properties":{"requireVerified":{"type":"boolean","description":"Restrict to verified libraries only","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.requireVerified","typeLabel":"boolean"},"minTrustScore":{"oneOf":[{"type":"integer","description":"Minimum trust score, 0-10","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.minTrustScore.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum trust score, 0-10","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.minTrustScore.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.minTrustScore","typeLabel":"integer | null"},"maxAgeDays":{"oneOf":[{"type":"integer","description":"Maximum days since last update","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.maxAgeDays.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum days since last update","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.maxAgeDays.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.maxAgeDays","typeLabel":"integer | null"},"blockedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.libraryFilters.quality.blockedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries excluded from results","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.blockedLibraries","typeLabel":"string[]"},"exceptedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.libraryFilters.quality.exceptedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries that bypass all quality filters, blocked list, and source type restrictions","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.exceptedLibraries","typeLabel":"string[]"},"repoFilters":{"type":"object","description":"Repo-specific quality filters","properties":{"minStars":{"oneOf":[{"type":"integer","description":"Minimum GitHub stars required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters.minStars.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum GitHub stars required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters.minStars.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters.minStars","typeLabel":"integer | null"},"allowedLicenses":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters.allowedLicenses.items.[INDEX]","typeLabel":"string"},"description":"SPDX license identifiers (e.g. 'MIT', 'Apache-2.0') that are allowed. Empty array means no license restriction. Applies to public repos only; non-repo source types pass through.","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters.allowedLicenses","typeLabel":"string[]"}},"required":["minStars","allowedLicenses"],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.repoFilters","typeLabel":"object"},"websiteFilters":{"type":"object","description":"Website-specific quality filters","properties":{"minBacklinks":{"oneOf":[{"type":"integer","description":"Minimum number of backlinks required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minBacklinks.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum number of backlinks required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minBacklinks.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minBacklinks","typeLabel":"integer | null"},"minReferringDomains":{"oneOf":[{"type":"integer","description":"Minimum number of referring domains required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum number of referring domains required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minReferringDomains","typeLabel":"integer | null"},"minOrganicTraffic":{"oneOf":[{"type":"integer","description":"Minimum monthly organic traffic required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum monthly organic traffic required","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters.minOrganicTraffic","typeLabel":"integer | null"}},"required":["minBacklinks","minReferringDomains","minOrganicTraffic"],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality.websiteFilters","typeLabel":"object"}},"required":["requireVerified","minTrustScore","maxAgeDays","blockedLibraries","exceptedLibraries","repoFilters","websiteFilters"],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.quality","typeLabel":"object"},"select":{"type":"object","description":"Select-mode settings (active when mode is 'select')","properties":{"allowedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.libraryFilters.select.allowedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries explicitly allowed","isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.select.allowedLibraries","typeLabel":"string[]"}},"required":["allowedLibraries"],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters.select","typeLabel":"object"}},"required":["mode","quality","select"],"isRequired":true,"uniqueKey":"oneOf.0.libraryFilters","typeLabel":"object"},"accessibleLibraryCount":{"type":"integer","description":"Number of public libraries currently accessible under these filters","isRequired":true,"uniqueKey":"oneOf.0.accessibleLibraryCount","typeLabel":"integer"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"The policies the patch would give. `accessibleLibraryCount` counts the libraries they would allow. Nothing is saved.","required":["sourceTypes","libraryFilters","accessibleLibraryCount"],"properties":{"sourceTypes":{"type":"object","description":"Access settings for each documentation source type","properties":{"public_repos":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.public_repos.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.public_repos","typeLabel":"object"},"private_sources":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.private_sources.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.private_sources","typeLabel":"object"},"confluence":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.confluence.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.confluence","typeLabel":"object"},"uploaded_files":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.uploaded_files.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.uploaded_files","typeLabel":"object"},"websites":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.websites.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.websites","typeLabel":"object"},"llmstxt":{"type":"object","description":"Whether a source type is enabled or disabled","properties":{"enabled":{"type":"boolean","description":"Whether this source type is enabled","isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.llmstxt.enabled","typeLabel":"boolean"}},"required":["enabled"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes.llmstxt","typeLabel":"object"}},"required":["public_repos","private_sources","confluence","uploaded_files","websites","llmstxt"],"isRequired":true,"uniqueKey":"oneOf.1.sourceTypes","typeLabel":"object"},"libraryFilters":{"type":"object","description":"Library access filters. Mode determines which sub-object is active.","properties":{"mode":{"oneOf":[{"type":"string","enum":["quality","select",null],"description":"Filter mode: 'quality' for threshold-based filtering, 'select' for manual library selection","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["quality","select",null],"description":"Filter mode: 'quality' for threshold-based filtering, 'select' for manual library selection","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.mode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.mode","typeLabel":"enum\u003cstring> | null"},"quality":{"type":"object","description":"Quality-mode settings (active when mode is 'quality')","properties":{"requireVerified":{"type":"boolean","description":"Restrict to verified libraries only","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.requireVerified","typeLabel":"boolean"},"minTrustScore":{"oneOf":[{"type":"integer","description":"Minimum trust score, 0-10","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.minTrustScore.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum trust score, 0-10","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.minTrustScore.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.minTrustScore","typeLabel":"integer | null"},"maxAgeDays":{"oneOf":[{"type":"integer","description":"Maximum days since last update","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.maxAgeDays.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Maximum days since last update","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.maxAgeDays.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.maxAgeDays","typeLabel":"integer | null"},"blockedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.libraryFilters.quality.blockedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries excluded from results","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.blockedLibraries","typeLabel":"string[]"},"exceptedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.libraryFilters.quality.exceptedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries that bypass all quality filters, blocked list, and source type restrictions","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.exceptedLibraries","typeLabel":"string[]"},"repoFilters":{"type":"object","description":"Repo-specific quality filters","properties":{"minStars":{"oneOf":[{"type":"integer","description":"Minimum GitHub stars required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters.minStars.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum GitHub stars required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters.minStars.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters.minStars","typeLabel":"integer | null"},"allowedLicenses":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters.allowedLicenses.items.[INDEX]","typeLabel":"string"},"description":"SPDX license identifiers (e.g. 'MIT', 'Apache-2.0') that are allowed. Empty array means no license restriction. Applies to public repos only; non-repo source types pass through.","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters.allowedLicenses","typeLabel":"string[]"}},"required":["minStars","allowedLicenses"],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.repoFilters","typeLabel":"object"},"websiteFilters":{"type":"object","description":"Website-specific quality filters","properties":{"minBacklinks":{"oneOf":[{"type":"integer","description":"Minimum number of backlinks required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minBacklinks.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum number of backlinks required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minBacklinks.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minBacklinks","typeLabel":"integer | null"},"minReferringDomains":{"oneOf":[{"type":"integer","description":"Minimum number of referring domains required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum number of referring domains required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minReferringDomains.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minReferringDomains","typeLabel":"integer | null"},"minOrganicTraffic":{"oneOf":[{"type":"integer","description":"Minimum monthly organic traffic required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Minimum monthly organic traffic required","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minOrganicTraffic.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters.minOrganicTraffic","typeLabel":"integer | null"}},"required":["minBacklinks","minReferringDomains","minOrganicTraffic"],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality.websiteFilters","typeLabel":"object"}},"required":["requireVerified","minTrustScore","maxAgeDays","blockedLibraries","exceptedLibraries","repoFilters","websiteFilters"],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.quality","typeLabel":"object"},"select":{"type":"object","description":"Select-mode settings (active when mode is 'select')","properties":{"allowedLibraries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.libraryFilters.select.allowedLibraries.items.[INDEX]","typeLabel":"string"},"description":"Libraries explicitly allowed","isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.select.allowedLibraries","typeLabel":"string[]"}},"required":["allowedLibraries"],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters.select","typeLabel":"object"}},"required":["mode","quality","select"],"isRequired":true,"uniqueKey":"oneOf.1.libraryFilters","typeLabel":"object"},"accessibleLibraryCount":{"type":"integer","description":"Number of public libraries currently accessible under these filters","isRequired":true,"uniqueKey":"oneOf.1.accessibleLibraryCount","typeLabel":"integer"},"dryRun":{"type":"boolean","enum":[true],"uniqueKey":"oneOf.1.dryRun","typeLabel":"enum\u003cboolean>"},"currentAccessibleLibraryCount":{"type":"integer","description":"Libraries the saved policies allow now.","uniqueKey":"oneOf.1.currentAccessibleLibraryCount","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"sourceTypes":{"public_repos":{"enabled":true},"private_sources":{"enabled":true},"confluence":{"enabled":true},"uploaded_files":{"enabled":true},"websites":{"enabled":true},"llmstxt":{"enabled":true}},"libraryFilters":{"mode":"quality","quality":{"requireVerified":true,"minTrustScore":123,"maxAgeDays":123,"blockedLibraries":["\u003cstring>"],"exceptedLibraries":["\u003cstring>"],"repoFilters":{"minStars":123,"allowedLicenses":["\u003cstring>"]},"websiteFilters":{"minBacklinks":123,"minReferringDomains":123,"minOrganicTraffic":123}},"select":{"allowedLibraries":["\u003cstring>"]}},"accessibleLibraryCount":123}}},"exampleType":"generated"}},"exampleType":"generated"},"8e0104c1-0293-4f29-aae2-16d10e800f7c":{"description":"Bad Request - Invalid input parameters","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","properties":{"error":{"type":"string","description":"Error code identifier","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"validationError":{"title":"validationError","value":{"error":"validation_error","message":"Library name is required"}},"invalidLibraryId":{"title":"invalidLibraryId","value":{"error":"invalid_library_id","message":"Invalid library ID format. Expected: `/owner/repo` for GitHub repositories, or `/\u003csource>/\u003cid>` for other sources (the URL path of the library on context7.com)"}}},"exampleType":"examples"}},"exampleType":"examples"},"d171aa14-e5f3-4e90-982a-20094369da1e":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","properties":{"error":{"type":"string","description":"Error code identifier","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"example":{"error":"invalid_api_key","message":"Invalid API key. Please check your API key. API keys should start with 'ctx7sk' prefix."},"examples":{"Example":{"title":"Example","value":{"error":"invalid_api_key","message":"Invalid API key. Please check your API key. API keys should start with 'ctx7sk' prefix."}}},"exampleType":"examples"}},"exampleType":"examples"},"dbcfc23f-a87a-47c5-b2f9-477d96b69b1f":{"description":"Forbidden - Insufficient permissions or plan restrictions","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","properties":{"error":{"type":"string","description":"Error code identifier","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"accessDenied":{"title":"accessDenied","value":{"error":"access_denied","message":"Access denied: Library /owner/repo is not included in your allowed libraries"}},"insufficientRole":{"title":"insufficientRole","value":{"error":"forbidden","message":"Only team owners and admins can add private repositories"}},"planRequired":{"title":"planRequired","value":{"error":"forbidden","message":"Private repositories require a pro plan or team. Upgrade at https://context7.com/plans"}}},"exampleType":"examples"}},"exampleType":"examples"},"af61955a-f163-4386-a74c-77ead81bd668":{"description":"Not Found - Resource doesn't exist","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","properties":{"error":{"type":"string","description":"Error code identifier","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"libraryNotFound":{"title":"libraryNotFound","value":{"error":"library_not_found","message":"Library \"/owner/repo\" not found. Please check the library ID or your access permissions."}},"versionNotFound":{"title":"versionNotFound","value":{"error":"version_not_found","message":"Version \"canary\" not found for library \"/owner/repo\". Available versions: v2.0.0, v1.5.0"}},"noSnippetsFound":{"title":"noSnippetsFound","value":{"error":"no_snippets_found","message":"Could not fetch documentation snippets from the library."}},"noRelevantSnippets":{"title":"noRelevantSnippets","value":{"error":"no_relevant_snippets","message":"No documentation in \"/owner/repo\" matched this query. Try a more specific query with different terms, or search for another library that covers this topic."}},"teamNotFound":{"title":"teamNotFound","value":{"error":"team_not_found","message":"Team not found or access denied"}},"userNotFound":{"title":"userNotFound","value":{"error":"user_not_found","message":"User not found"}},"noLibrariesFound":{"title":"noLibrariesFound","value":{"error":"no_libraries_found","message":"No libraries found for \"nonexistent-lib\". Try a different search term."}}},"exampleType":"examples"}},"exampleType":"examples"},"bfee9879-128b-4619-b6f6-3042333ed0db":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","properties":{"error":{"type":"string","description":"Error code identifier","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"example":{"error":"internal_error","message":"An error occurred while processing your request"},"examples":{"Example":{"title":"Example","value":{"error":"internal_error","message":"An error occurred while processing your request"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"e7163ccc-726f-48f1-acdb-70eb637795ae":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Get your API key at [context7.com/dashboard](https://context7.com/dashboard). Treat your API key like a password and store it securely. Every key can read the management API (`/v2/teamspaces/*`), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with **Write access** ticked; other keys get 403 `write_access_required`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"0f8d69b1-7b56-4fb7-9c88-8186ccbae6d7":{"url":"https://context7.com/api","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Get your API key at [context7.com/dashboard](https://context7.com/dashboard). Treat your API key like a password and store it securely. Every key can read the management API (`/v2/teamspaces/*`), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with **Write access** ticked; other keys get 403 `write_access_required`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Get your API key at [context7.com/dashboard](https://context7.com/dashboard). Treat your API key like a password and store it securely. Every key can read the management API (`/v2/teamspaces/*`), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with **Write access** ticked; other keys get 403 `write_access_required`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://context7.com/openapi.json"},"subdomain":"context7","siteName":"Context7 MCP","title":"Update teamspace policies - Context7 MCP","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T14:01:48.278Z","originalFileLocation":"api-reference/policies/update-teamspace-policies.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Context7 MCP\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update teamspace policies - Context7 MCP\">\u003cmeta data-mint-head property=\"og:description\" content=\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Context7 MCP\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://context7.com/docs/api-reference/policies/update-teamspace-policies\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://context7.mintlify.site/docs/_mintlify/api/og/v2?division=Policies\u0026amp;title=Update+teamspace+policies\u0026amp;description=Incrementally+update+policy+configuration+for+the+teamspace+associated+with+the+API+key.+Only+the+fields+you+include+in+the+request+body+are+modified+%E2%80%94+omitted+\u0026amp;theme=ab861588d503b94113dc14a9\u0026amp;signature=52d0ec6fb718b595256a2b0f46b7da86450623ca1beabb80247ab44efcc07bbe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update teamspace policies - Context7 MCP\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://context7.mintlify.site/docs/_mintlify/api/og/v2?division=Policies\u0026amp;title=Update+teamspace+policies\u0026amp;description=Incrementally+update+policy+configuration+for+the+teamspace+associated+with+the+API+key.+Only+the+fields+you+include+in+the+request+body+are+modified+%E2%80%94+omitted+\u0026amp;theme=ab861588d503b94113dc14a9\u0026amp;signature=52d0ec6fb718b595256a2b0f46b7da86450623ca1beabb80247ab44efcc07bbe\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/context7/b-_BfHo-yCLnnnm9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Context7 MCP\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#10B981\">\u003clink data-mint-head rel=\"canonical\" href=\"https://context7.com/docs/api-reference/policies/update-teamspace-policies\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/policies/update-teamspace-policies.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://context7.com/#organization\",\"name\":\"Context7 MCP\",\"url\":\"https://context7.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/context7/U6tImExBAiuicuew/public/logo/logo.svg?fit=max\u0026auto=format\u0026n=U6tImExBAiuicuew\u0026q=85\u0026s=34753285ee1ce27ba8e58f105be9400d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://context7.com/docs#website\",\"name\":\"Context7 MCP\",\"url\":\"https://context7.com/docs\",\"publisher\":{\"@id\":\"https://context7.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies#webpage\",\"url\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies\",\"name\":\"Update teamspace policies\",\"description\":\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.\",\"dateModified\":\"2026-11-06T14:01:48.278Z\",\"isPartOf\":{\"@id\":\"https://context7.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Context7\",\"item\":\"https://context7.com/docs/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https://context7.com/docs/api-guide\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API Reference\",\"item\":\"https://context7.com/docs/api-reference/search/search-for-libraries\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Policies\",\"item\":\"https://context7.com/docs/api-reference/policies/get-teamspace-policies\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Update teamspace policies\",\"item\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies#apireference\",\"headline\":\"Update teamspace policies\",\"name\":\"Update teamspace policies\",\"description\":\"Incrementally update policy configuration for the teamspace associated with the API key. Only the fields you include in the request body are modified — omitted fields remain unchanged. For source types, use enable/disable arrays (both allowed if no overlap). For library lists, use add/remove objects or clear: true to remove all. Requires owner or admin role. All field names use camelCase. With dryRun: true nothing is saved; the response shows the policies the patch would give, accessibleLibraryCount after the change, and currentAccessibleLibraryCount before it.\",\"url\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies\",\"mainEntityOfPage\":{\"@id\":\"https://context7.com/docs/api-reference/policies/update-teamspace-policies#webpage\"},\"dateModified\":\"2026-11-06T14:01:48.278Z\",\"publisher\":{\"@id\":\"https://context7.com/#organization\"},\"isPartOf\":{\"@id\":\"https://context7.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Context7 MCP\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Context7 MCP","nav":{"global":null,"tabs":[{"tab":"Context7","groups":[{"group":"Context7","pages":[{"group":"Get Started","expanded":true,"pages":[{"title":"Intro","sidebarTitle":"Intro","href":"/overview"},{"title":"Installation","href":"/installation"},{"title":"Search API","href":"/search-api"},{"title":"CLI","href":"/clients/cli"},{"title":"Plans \u0026 Pricing","href":"/plans-pricing"},{"title":"Library Owners","href":"/library-owners"},{"title":"Best Practices","href":"/tips"}]},{"group":"How To","expanded":false,"pages":[{"title":"Adding Libraries","href":"/adding-libraries"},{"title":"Keeping Libraries Fresh","href":"/library-updates"},{"title":"Claim Your Library","href":"/howto/claiming-libraries"},{"title":"Verify Your Library","href":"/howto/verification"},{"title":"Add the Chat Widget","href":"/howto/chat-widget"},{"title":"Manage Rules","href":"/howto/rules"},{"title":"Add Private Sources","href":"/howto/private-sources"},{"title":"Research Preview","href":"/howto/research-preview"}]},{"group":"Ask","expanded":false,"pages":[{"title":"Context7 Ask","sidebarTitle":"Overview","href":"/ask/overview"},{"title":"Quickstart","href":"/ask/quickstart"},{"title":"Questions and Analytics","href":"/ask/dashboard"}]},{"group":"Account","expanded":false,"pages":[{"group":"Authentication","expanded":false,"pages":[{"title":"Manage API Keys","href":"/howto/api-keys"},{"title":"Set Up OAuth","href":"/howto/oauth"}]},{"title":"Monitor Usage","href":"/howto/usage"},{"title":"Manage Your Teamspace","href":"/howto/teamspace"},{"title":"Manage Policies","href":"/howto/policies"},{"title":"Context7 Admin MCP","href":"/howto/admin-mcp"}]},{"group":"Enterprise","expanded":false,"pages":[{"title":"Enterprise","sidebarTitle":"Overview","href":"/enterprise"},{"group":"Auth","pages":[{"title":"Azure API Management as MCP gateway","sidebarTitle":"Microsoft Entra ID","href":"/enterprise/enterprise-managed-auth/entra"},{"title":"Enterprise-Managed Auth with Okta","sidebarTitle":"Okta","href":"/enterprise/enterprise-managed-auth/okta"}]},{"group":"On-Premise","pages":[{"title":"On-Premise Deployment","sidebarTitle":"Getting Started","href":"/enterprise/on-premise"},{"title":"Changelog","href":"/enterprise/changelog"},{"group":"Integrations","pages":[{"title":"GitHub Integration","sidebarTitle":"GitHub","href":"/enterprise/integrations/github"},{"title":"Other Git Integration","sidebarTitle":"Other Git","href":"/enterprise/integrations/other-git"},{"title":"Gerrit Integration","sidebarTitle":"Gerrit","href":"/enterprise/integrations/gerrit"},{"title":"Confluence Integration","sidebarTitle":"Confluence","href":"/enterprise/integrations/confluence"},{"title":"Google Drive Integration","sidebarTitle":"Google Drive","href":"/enterprise/integrations/google-drive"},{"title":"AWS Bedrock","sidebarTitle":"AWS Bedrock","href":"/enterprise/integrations/aws-bedrock"}]},{"group":"Security","pages":[{"title":"Microsoft Entra ID (SSO)","sidebarTitle":"Entra SSO","href":"/enterprise/security/entra-sso"},{"title":"OpenID Connect (OIDC) SSO","sidebarTitle":"OIDC SSO","href":"/enterprise/security/oidc-sso"},{"title":"SAML 2.0 SSO","sidebarTitle":"SAML SSO","href":"/enterprise/security/saml-sso"},{"title":"Library Access Control","sidebarTitle":"Library Access","href":"/enterprise/security/library-access"}]},{"group":"Deployment","pages":[{"title":"Docker Deployment","sidebarTitle":"Docker","href":"/enterprise/deployment/docker"},{"title":"Kubernetes Deployment","sidebarTitle":"Kubernetes","href":"/enterprise/deployment/kubernetes"},{"title":"Scaling","sidebarTitle":"Scaling","href":"/enterprise/deployment/scaling"},{"title":"Vector Stores","sidebarTitle":"Vector Stores","href":"/enterprise/deployment/vector-stores"}]},{"group":"Features","pages":[{"title":"Library Import","sidebarTitle":"Library Import","href":"/enterprise/library-import"},{"title":"Automatic Repository Updates","sidebarTitle":"Automatic Updates","href":"/enterprise/automatic-repository-updates"},{"title":"GitOps","sidebarTitle":"GitOps","href":"/enterprise/gitops"},{"title":"Backup and Restore","sidebarTitle":"Backup \u0026 Restore","href":"/enterprise/backup-restore"}]},{"group":"API Reference","pages":[{"title":"Authentication","href":"/enterprise/api/authentication"},{"group":"Search","pages":[{"title":"Search for libraries","openapi":"openapi-enterprise.json GET /v2/libs/search","href":"/enterprise/api/search/search-for-libraries"}]},{"group":"Context","pages":[{"title":"Get documentation context","openapi":"openapi-enterprise.json GET /v2/context","href":"/enterprise/api/context/get-documentation-context"}]},{"group":"Parse","pages":[{"title":"Parse a Git repository","openapi":"openapi-enterprise.json POST /parse","href":"/enterprise/api/parse/parse-a-git-repository"},{"title":"Parse an OpenAPI spec by URL","openapi":"openapi-enterprise.json POST /parse-openapi","href":"/enterprise/api/parse/parse-an-openapi-spec-by-url"},{"title":"Upload an OpenAPI spec file","openapi":"openapi-enterprise.json POST /parse-openapi-upload","href":"/enterprise/api/parse/upload-an-openapi-spec-file"},{"title":"Import a library bundle","openapi":"openapi-enterprise.json POST /import-libraries","href":"/enterprise/api/parse/import-libraries"},{"title":"Parse a website","openapi":"openapi-enterprise.json POST /parse-website","href":"/enterprise/api/parse/parse-a-website"},{"title":"Refresh a library","openapi":"openapi-enterprise.json POST /projects/{projectId}/refresh","href":"/enterprise/api/parse/refresh-a-library"},{"title":"Get parse status","openapi":"openapi-enterprise.json GET /parse-status","href":"/enterprise/api/parse/get-parse-status"}]}]}]}]},{"group":"Security","expanded":false,"pages":[{"title":"Security","sidebarTitle":"Overview","href":"/security/overview"},{"title":"Data Privacy","href":"/security/data-privacy"},{"title":"Infrastructure Security","sidebarTitle":"Infrastructure","href":"/security/infrastructure"},{"title":"Authentication and Access Control","href":"/security/auth-and-access-control"},{"title":"Compliance and Reporting","href":"/security/compliance-and-reporting"},{"title":"Data Safety","href":"/security/data-safety"},{"title":"Best Practices for Users","sidebarTitle":"Best Practices","href":"/security/best-practices"}]},{"group":"Coding Agents","expanded":false,"pages":[{"title":"Claude Code","href":"/clients/claude-code"},{"title":"Codex","href":"/clients/codex"},{"title":"GitHub Copilot CLI","href":"/clients/copilot-cli"},{"title":"Cursor","href":"/clients/cursor"},{"title":"OpenCode","href":"/clients/opencode"},{"title":"Pi","href":"/clients/pi"},{"title":"VS Code","href":"/clients/vscode"},{"title":"MCP Clients","href":"/resources/all-clients"}]},{"group":"API","expanded":false,"pages":[{"title":"API Guide","href":"/api-guide"},{"group":"API Reference","pages":[{"group":"Search","pages":[{"title":"Search for libraries","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/libs/search","href":"/api-reference/search/search-for-libraries"},{"title":"Search documentation in one request","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v3/search","href":"/api-reference/search/search-documentation-in-one-request"},{"title":"Read one web page, optionally narrowed to a question","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v3/fetch","href":"/api-reference/search/read-one-web-page-optionally-narrowed-to-a-question"}]},{"group":"Metrics","pages":[{"title":"Get library usage metrics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/libs/metrics","href":"/api-reference/metrics/get-library-usage-metrics"}]},{"group":"Context","pages":[{"title":"Get documentation context","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/context","href":"/api-reference/context/get-documentation-context"}]},{"group":"Ask","pages":[{"title":"Ask a registered website","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/ask","href":"/api-reference/ask/ask-a-registered-website"}]},{"group":"Refresh","pages":[{"title":"Refresh a library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v1/refresh","href":"/api-reference/refresh/refresh-a-library"}]},{"group":"Policies","pages":[{"title":"Get teamspace policies","description":"Retrieve the current policy configuration for the teamspace associated with the API key. Includes source type access settings and public repository filters.","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/policies","href":"/api-reference/policies/get-teamspace-policies"},{"title":"Update teamspace policies","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/policies","href":"/api-reference/policies/update-teamspace-policies"}]},{"group":"Usage","pages":[{"title":"Get API usage","description":"See your requests this month, what extra requests cost your teamspace, and the teamspace's requests per day. `member` is the member who owns the API key and has the same numbers as the `RateLimit-*` headers on search and docs responses. `teamspace` covers all members. Calls to this endpoint do not count as requests.","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/usage","href":"/api-reference/usage/get-api-usage"}]},{"group":"Add Library","pages":[{"title":"Add a GitHub repository","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/repo/github","href":"/api-reference/add-library/add-a-github-repository"},{"title":"Add a GitLab repository","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/repo/gitlab","href":"/api-reference/add-library/add-a-gitlab-repository"},{"title":"Add a Bitbucket repository","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/repo/bitbucket","href":"/api-reference/add-library/add-a-bitbucket-repository"},{"title":"Add from other Git providers","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/repo/git","href":"/api-reference/add-library/add-from-other-git-providers"},{"title":"Add an OpenAPI specification by URL","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/openapi","href":"/api-reference/add-library/add-an-openapi-specification-by-url"},{"title":"Upload an OpenAPI specification file","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/openapi-upload","href":"/api-reference/add-library/upload-an-openapi-specification-file"},{"title":"Upload a PDF document","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/pdf-upload","href":"/api-reference/add-library/upload-a-pdf-document"},{"title":"Upload documentation files","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/file-upload","href":"/api-reference/add-library/upload-documentation-files"},{"title":"Upload a Microsoft Word document","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/docx-upload","href":"/api-reference/add-library/upload-a-microsoft-word-document"},{"title":"Add an llms.txt file","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/llmstxt","href":"/api-reference/add-library/add-an-llmstxt-file"},{"title":"Add a website","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/website","href":"/api-reference/add-library/add-a-website"},{"title":"Add a Confluence space","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/confluence","href":"/api-reference/add-library/add-a-confluence-space"},{"title":"Add Notion pages","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/add/notion","href":"/api-reference/add-library/add-notion-pages"}]},{"group":"Teamspaces","pages":[{"title":"List teamspaces","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces","href":"/api-reference/teamspaces/list-teamspaces"},{"title":"Get a teamspace","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}","href":"/api-reference/teamspaces/get-a-teamspace"}]},{"group":"Teamspace Admin","pages":[{"title":"List members and invitations","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/members","href":"/api-reference/teamspace-admin/list-members-and-invitations"},{"title":"Invite a member","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/members","href":"/api-reference/teamspace-admin/invite-a-member"},{"title":"Remove a member or leave","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/members/{memberId}","href":"/api-reference/teamspace-admin/remove-a-member-or-leave"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/members/{memberId}","href":"/api-reference/teamspace-admin/change-a-members-role"},{"title":"Cancel an invitation","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/invitations/{invitationId}","href":"/api-reference/teamspace-admin/cancel-an-invitation"},{"title":"Change an invitation's role","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/invitations/{invitationId}","href":"/api-reference/teamspace-admin/change-an-invitations-role"},{"title":"List rules","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/rules","href":"/api-reference/teamspace-admin/list-rules"},{"title":"Create a rule","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/rules","href":"/api-reference/teamspace-admin/create-a-rule"},{"title":"Delete a rule","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/rules/{ruleId}","href":"/api-reference/teamspace-admin/delete-a-rule"},{"title":"Update a rule's text","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/rules/{ruleId}","href":"/api-reference/teamspace-admin/update-a-rules-text"},{"title":"Get library policies","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/policies","href":"/api-reference/teamspace-admin/get-library-policies"},{"title":"Update library policies","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/policies","href":"/api-reference/teamspace-admin/update-library-policies"},{"title":"List library requests","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/library-requests","href":"/api-reference/teamspace-admin/list-library-requests"},{"title":"Request a library filter change","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/library-requests","href":"/api-reference/teamspace-admin/request-a-library-filter-change"},{"title":"Reject a library request","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/library-requests/{requestId}","href":"/api-reference/teamspace-admin/reject-a-library-request"},{"title":"Approve a library request","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/library-requests/{requestId}/approve","href":"/api-reference/teamspace-admin/approve-a-library-request"},{"title":"Get usage and cost","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/usage","href":"/api-reference/teamspace-admin/get-usage-and-cost"},{"title":"Get the spending limit","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/spending-limit","href":"/api-reference/teamspace-admin/get-the-spending-limit"},{"title":"Set the spending limit","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json put /v2/teamspaces/{teamspaceId}/spending-limit","href":"/api-reference/teamspace-admin/set-the-spending-limit"},{"title":"Get the invite link","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/invite-link","href":"/api-reference/teamspace-admin/get-the-invite-link"},{"title":"Reset the invite link","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json put /v2/teamspaces/{teamspaceId}/invite-link","href":"/api-reference/teamspace-admin/reset-the-invite-link"},{"title":"Create the invite link","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/invite-link","href":"/api-reference/teamspace-admin/create-the-invite-link"},{"title":"Disable the invite link","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/invite-link","href":"/api-reference/teamspace-admin/disable-the-invite-link"}]},{"group":"Teamspace Libraries","pages":[{"title":"List libraries","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries","href":"/api-reference/teamspace-libraries/list-libraries"},{"title":"Add a library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries","href":"/api-reference/teamspace-libraries/add-a-library"},{"title":"Get a library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}","href":"/api-reference/teamspace-libraries/get-a-library"},{"title":"Remove a library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}","href":"/api-reference/teamspace-libraries/remove-a-library"},{"title":"Update library settings","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}","href":"/api-reference/teamspace-libraries/update-library-settings"},{"title":"Refresh a library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/refresh","href":"/api-reference/teamspace-libraries/refresh-a-library"},{"title":"Add a version","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/versions","href":"/api-reference/teamspace-libraries/add-a-version"},{"title":"Delete a version","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/versions/{version}","href":"/api-reference/teamspace-libraries/delete-a-version"},{"title":"Get claim instructions","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/claim","href":"/api-reference/teamspace-libraries/get-claim-instructions"},{"title":"Verify a claim","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/claim","href":"/api-reference/teamspace-libraries/verify-a-claim"},{"title":"Get library analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/analytics","href":"/api-reference/teamspace-libraries/get-library-analytics"},{"title":"List library suggestions","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/suggestions","href":"/api-reference/teamspace-libraries/list-library-suggestions"},{"title":"List library benchmarks","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/benchmarks","href":"/api-reference/teamspace-libraries/list-library-benchmarks"},{"title":"Set library visibility","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/visibility","href":"/api-reference/teamspace-libraries/set-library-visibility"},{"title":"Redirect the library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/redirect","href":"/api-reference/teamspace-libraries/redirect-the-library"},{"title":"Remove the redirect","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/redirect","href":"/api-reference/teamspace-libraries/remove-the-redirect"},{"title":"Get chat widget settings","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/widget","href":"/api-reference/teamspace-libraries/get-chat-widget-settings"},{"title":"Update chat widget settings","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json put /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/widget","href":"/api-reference/teamspace-libraries/update-chat-widget-settings"},{"title":"Check verification","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/verification","href":"/api-reference/teamspace-libraries/check-verification"},{"title":"Apply for verification","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/verification","href":"/api-reference/teamspace-libraries/apply-for-verification"},{"title":"Block the library","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/block","href":"/api-reference/teamspace-libraries/block-the-library"},{"title":"Transfer ownership","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}/transfer","href":"/api-reference/teamspace-libraries/transfer-ownership"}]},{"group":"Docs7 Sites","pages":[{"title":"List Docs7 sites","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites","href":"/api-reference/docs7-sites/list-docs7-sites"},{"title":"Add a Docs7 site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites","href":"/api-reference/docs7-sites/add-a-docs7-site"},{"title":"Get a Docs7 site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}","href":"/api-reference/docs7-sites/get-a-docs7-site"},{"title":"Delete a Docs7 site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/sites/{siteId}","href":"/api-reference/docs7-sites/delete-a-docs7-site"},{"title":"Update a Docs7 site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/sites/{siteId}","href":"/api-reference/docs7-sites/update-a-docs7-site"},{"title":"Check a custom domain again","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites/{siteId}/domain/refresh","href":"/api-reference/docs7-sites/check-a-custom-domain-again"},{"title":"List deployments","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments","href":"/api-reference/docs7-sites/list-deployments"},{"title":"Start a deployment","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments","href":"/api-reference/docs7-sites/start-a-deployment"},{"title":"List CLI site deployments","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/local-deployments","href":"/api-reference/docs7-sites/list-cli-site-deployments"},{"title":"Get a deployment","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}","href":"/api-reference/docs7-sites/get-a-deployment"},{"title":"Get build logs","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/logs","href":"/api-reference/docs7-sites/get-build-logs"},{"title":"Get a build health report","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/health","href":"/api-reference/docs7-sites/get-a-build-health-report"},{"title":"Get a build origin","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/deployments/{deploymentId}/origin","href":"/api-reference/docs7-sites/get-a-build-origin"},{"title":"Delete a branch preview","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/sites/{siteId}/previews","href":"/api-reference/docs7-sites/delete-a-branch-preview"},{"title":"List agent runs","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/agent-runs","href":"/api-reference/docs7-sites/list-agent-runs"},{"title":"Get agent usage","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/agent-usage","href":"/api-reference/docs7-sites/get-agent-usage"},{"title":"List feature requests","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/feature-requests","href":"/api-reference/docs7-sites/list-feature-requests"},{"title":"Delete a feature request","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/sites/{siteId}/feature-requests","href":"/api-reference/docs7-sites/delete-a-feature-request"},{"title":"Ship or reopen a feature request","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json patch /v2/teamspaces/{teamspaceId}/sites/{siteId}/feature-requests","href":"/api-reference/docs7-sites/ship-or-reopen-a-feature-request"},{"title":"Get GitHub App access","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/github","href":"/api-reference/docs7-sites/get-github-app-access"},{"title":"Get the way to hosting","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/migration","href":"/api-reference/docs7-sites/get-the-way-to-hosting"},{"title":"Check the analytics script","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics-script","href":"/api-reference/docs7-sites/check-the-analytics-script"},{"title":"List open pull requests","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/pull-requests","href":"/api-reference/docs7-sites/list-open-pull-requests"},{"title":"List agent pull requests","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/agent-pull-requests","href":"/api-reference/docs7-sites/list-agent-pull-requests"},{"title":"Connect a CLI site to GitHub","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites/{siteId}/connect","href":"/api-reference/docs7-sites/connect-a-cli-site-to-github"},{"title":"Get Example Check variables","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/settings","href":"/api-reference/docs7-sites/get-example-check-variables"},{"title":"Replace Example Check variables","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json put /v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/settings","href":"/api-reference/docs7-sites/replace-example-check-variables"},{"title":"List Example Check runs","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/checks","href":"/api-reference/docs7-sites/list-example-check-runs"}]},{"group":"Docs7 Analytics","pages":[{"title":"Get visitor analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/humans","href":"/api-reference/docs7-analytics/get-visitor-analytics"},{"title":"Get AI crawler analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/ai-crawlers","href":"/api-reference/docs7-analytics/get-ai-crawler-analytics"},{"title":"Get top AI paths","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/top-paths","href":"/api-reference/docs7-analytics/get-top-ai-paths"},{"title":"Get recent AI requests","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/recent-requests","href":"/api-reference/docs7-analytics/get-recent-ai-requests"},{"title":"Get search and question analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/queries","href":"/api-reference/docs7-analytics/get-search-and-question-analytics"},{"title":"Get page feedback analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/feedback","href":"/api-reference/docs7-analytics/get-page-feedback-analytics"},{"title":"Explore analytics records","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/explore","href":"/api-reference/docs7-analytics/explore-analytics-records"},{"title":"Get an assistant conversation","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/sites/{siteId}/analytics/conversation","href":"/api-reference/docs7-analytics/get-an-assistant-conversation"}]},{"group":"Ask Sites","pages":[{"title":"List Ask sites","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/ask-sites","href":"/api-reference/ask-sites/list-ask-sites"},{"title":"Add an Ask site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/ask-sites","href":"/api-reference/ask-sites/add-an-ask-site"},{"title":"Get an Ask site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}","href":"/api-reference/ask-sites/get-an-ask-site"},{"title":"Remove an Ask site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json delete /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}","href":"/api-reference/ask-sites/remove-an-ask-site"},{"title":"Verify an Ask site","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json post /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}/verify","href":"/api-reference/ask-sites/verify-an-ask-site"},{"title":"Get Ask site analytics","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}/analytics","href":"/api-reference/ask-sites/get-ask-site-analytics"},{"title":"List Ask site questions","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}/questions","href":"/api-reference/ask-sites/list-ask-site-questions"},{"title":"Get the answer to an Ask question","deprecated":null,"version":null,"openapi":"https://context7.com/openapi.json get /v2/teamspaces/{teamspaceId}/ask-sites/{siteKey}/questions/{questionId}","href":"/api-reference/ask-sites/get-the-answer-to-an-ask-question"}]}]}]},{"group":"SDKs","expanded":false,"pages":[{"title":"Agentic Tools","sidebarTitle":"Agentic Tools","href":"/agentic-tools"},{"group":"TypeScript","expanded":false,"pages":[{"title":"Getting Started","href":"/sdks/ts/getting-started"},{"group":"Commands","expanded":false,"pages":[{"title":"Search","href":"/sdks/ts/commands/search"},{"title":"Search Library","href":"/sdks/ts/commands/search-library"},{"title":"Get Context","href":"/sdks/ts/commands/get-context"}]}]},{"group":"Vercel AI SDK","expanded":false,"pages":[{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/agentic-tools/ai-sdk/getting-started"},{"group":"Tools","expanded":false,"pages":[{"title":"resolveLibraryId","sidebarTitle":"resolveLibraryId","href":"/agentic-tools/ai-sdk/tools/resolve-library-id"},{"title":"queryDocs","sidebarTitle":"queryDocs","href":"/agentic-tools/ai-sdk/tools/query-docs"}]},{"group":"Agents","expanded":false,"pages":[{"title":"Context7Agent","sidebarTitle":"Context7Agent","href":"/agentic-tools/ai-sdk/agents/context7-agent"}]}]}]},{"group":"Integrations","expanded":false,"pages":[{"title":"GitHub Actions","sidebarTitle":"GitHub Actions","href":"/integrations/github-actions"},{"title":"CodeRabbit","sidebarTitle":"CodeRabbit","href":"/integrations/code-rabbit"},{"title":"Factory AI","sidebarTitle":"Factory AI","href":"/integrations/factory-ai"},{"title":"Tembo","sidebarTitle":"Tembo","href":"/integrations/tembo"},{"title":"Mastra","sidebarTitle":"Mastra","href":"/integrations/mastra"},{"title":"eve","sidebarTitle":"eve","href":"/integrations/eve"}]},{"group":"Resources","expanded":false,"pages":[{"title":"Developer Guide","href":"/resources/developer"},{"title":"Troubleshooting","href":"/resources/troubleshooting"},{"title":"Feature Requests","href":"/resources/feature-requests"}]}]}]},{"tab":"Docs7","pages":[{"title":"Docs7","href":"/docs7/overview"}]}]},"basePath":"","title":"Update teamspace policies - Context7 MCP","buildId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","deploymentId":"dpl_ATnXPMW25DMPUr9VBw6kL6MfBt6T","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CNqlzjVB.js","utils-BqFiXZ79.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CnR4QBe6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BY2ZM1OO.js","snippetPresets-x-8ACO8V.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ch-SJE05.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CqqG_0NE.js","shallow-BXrZ2b0C.js","getApiPlaygroundDisplay-n7J_wkjq.js","CodeSnippet-CQsp4vyQ.js","CodeSnippets-BfuHqvZx.js","Page-CTxrMSpo.js","getPastedJson-BjrGIK1i.js","icon-7iLZnVOC.js","MethodPill-TBS1m84e.js","DuplicateIcon-BNMrV4Vs.js","createIcon-C5kCqeU2.js","DynamicMarkdown-Bq09mRwR.js","SectionHeading-G4Bflf5Q.js","axios-vUo_bRtp.js","Markdown-BTUds0aX.js","clsx-6wHzaN2_.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BPypQKlo.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-o6bee4ro.js"]}