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

Authorization

Authorizationstringheaderrequired#
Get your API key at context7.com/dashboard. Treat your API key like a password and store it securely. Every key can read the management API (/v2/teamspaces/*), except personal data: member and invitation emails, library requesters, visitor questions, Docs7 reader searches, conversations, feedback and feature requests, and the GitHub account behind a build. To read those or make changes there, the key must be created with Write access ticked; other keys get 403 write_access_required. A teamspace can limit API keys to owners and admins, or turn them off for OAuth only; a key that its teamspace's policy refuses gets 403 api_key_admins_only or api_keys_disabled.

Path parameters

teamspaceIdstringrequired#
Teamspace id.
ownerstringrequired#
First segment of the library id /owner/repo. Case-insensitive.
repostringrequired#
Second segment of the library id /owner/repo. Case-insensitive.

Responses

application/json
The mode, the run state and the cost estimate
automaticRefreshobjectrequired#
The teamspace's automatic refresh of one of its private libraries. Pro and Enterprise teamspaces (Enterprise: the plan or an active Enterprise trial); on Free every mode acts as off. Private github.com repositories only. The run state is the library's, shared by every teamspace that has it; a library several teamspaces track runs under the most permissive tier among the teamspaces whose setting is on for the trigger.