Get documentation context
Context
Get documentation context
Retrieve intelligent, LLM-reranked documentation context for natural language queries. Returns the most relevant code snippets and documentation for your specific question.
GET
Get documentation context
Authorizations
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.
Query Parameters
Context7-compatible library ID in format /owner/repo, /owner/repo/version, or /owner/repo@version
Required string length:
1 - 500Pattern:
^/[^/]+/[^/]+([/@][^/]+)?$User's original question or task - used for intelligent relevance ranking
Required string length:
1 - 500Response format type
Available options:
json, txt