v1

latestOpenAPI 3.0.02026-07-13162290.3 KB
Refresh

Refresh a library

Trigger a refresh of an existing library to fetch the latest documentation. Library owners have dedicated refresh limits.

post/v1/refresh

Request body

libraryNamestring required

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.

branchstring

Optional branch name to refresh

gitTokenstring

Optional Git access token for refreshing private repositories. If not provided, the stored OAuth token will be used.

Response

Refresh started successfully

messagestring required