Refresh a library
Trigger a refresh of an existing library to fetch the latest documentation. Library owners have dedicated refresh limits.
1 min read
post/v1/refresh
Request example
Response
post/v1/refresh
Authorization
Body
application/jsonLibrary 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, /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.
Responses
application/json
Refresh started successfully