Skip to main content
get/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}
Request example
Response
get/v2/teamspaces/{teamspaceId}/libraries/{owner}/{repo}

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely.

Path parameters

teamspaceIdstringrequired#
Teamspace id (uuid).
ownerstringrequired#
First segment of the library id /owner/repo (for example vercel in /vercel/next.js, websites in /websites/docs_example_com). Case-insensitive.
repostringrequired#
Second segment of the library id /owner/repo. Case-insensitive.

Responses

application/json
The library
idstringrequired#
Library id, /owner/repo.
titlestring#
descriptionstring#
typeenum<string>#
Source type.
Options:repollmstxtwebsiteopenapipdfdocxfileconfluencenotion
sourceUrlstring#
Where the library is read from (repository, website, llms.txt or OpenAPI URL).
branchstring#
Default branch (repositories).
privatebooleanrequired#
One of the teamspace's private sources.
ownedbooleanrequired#
Claimed by the teamspace. Owner operations (config, versions delete, analytics) need it.
stateenum<string>required#
Parse state. processing: a parse runs. finalizing: the new data is ready and cleanup still runs. complete: done. error: the last parse failed, or a first parse ended without a library.
Options:processingfinalizingcompleteerror
lastUpdateDatestring#
Last successful update.
totalTokensinteger#
totalSnippetsinteger#
totalPagesinteger#
lastRunDatestring#
When the last parse ran, successful or not.
issuesobject#
Problems the last parse found.
versionsobject[]required#
taskobjectrequired#
The active parse task, as the public task list shows it.