Authorizations
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.
Body
Request to add a library. Provide exactly one of: docsRepoUrl, llmstxtUrl, or both libraryName and libraryTagCode.
GitHub or GitLab repository URL
"https://github.com/okken/pytest-check"
URL to llms.txt, llms-full.txt, or llms-small.txt file
"https://example.com/llms.txt"
Library identifier for tag-based sources (use with libraryTagCode)
"/vercel/next.js"
Version tag for tag-based sources (use with libraryName)
"v15.1.8"
Git branch to parse (defaults to repository's default branch)
"main"
Specific folders to include for documentation
["docs", "examples"]Folders to exclude from parsing
["tests", "archive"]Files to exclude from parsing
["CHANGELOG.md", "LICENSE.md"]Response
Library parsing process started successfully
Response after submitting a library for indexing
Status message
"Parsing process started for https://github.com/okken/pytest-check"
Current processing status (transitions from processing to finalized)
processing, finalized "processing"
GitHub repository URL
"https://github.com/okken/pytest-check"
Project name in format /owner/repo
"/okken/pytest-check"
Auto-detected project description
"A pytest plugin that allows multiple failures per test."
Folders included in parsing
["docs", "examples"]Folders excluded from parsing
["archive"]Files excluded from parsing (default excludes common files)
[
"CHANGELOG.md",
"changelog.md",
"CHANGELOG.mdx",
"changelog.mdx",
"LICENSE.md",
"license.md",
"CODE_OF_CONDUCT.md",
"code_of_conduct.md"
]