Refresh a library
Trigger a refresh of an existing library to fetch the latest documentation. Library owners have dedicated refresh limits.
Authorizations
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.
Body
Library identifier — the URL path of the library on context7.com. Use /owner/repo for GitHub repositories (e.g., /vercel/next.js), or /<source>/<id> for other sources (e.g., /websites/uploadcare_com, /llmstxt/<source>). See Library ID format.
Optional branch name to refresh
Optional Git access token for refreshing private repositories. If not provided, the stored OAuth token will be used.
Response
Refresh started successfully