Get Site Library
Get the library this site shares, at its latest version. A library with status ARCHIVED is unshared.
Returns 404 when the site never shared a library.
Requires permission to manage libraries on the site.
Required scope | libraries:read
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
site_id
Unique identifier for a Site
Response
Request was successful
id
Library version ID. List Libraries returns the latest version, and List Installed Libraries returns the installed version. Use it as library_id.
profileId
ID of the library across all its versions. Use it to match a library between lists.
type
Kind of library. Code libraries are shared from the Webflow CLI.
Allowed values:
displayName
Library name. A library takes the name of its source site.
version
datePublished
componentsCount
variablesCount
assetsCount
codeComponentsCount
tagStylesCount
fontsCount
status
Whether the source site shares the library (ACTIVE) or unshared it (ARCHIVED).
Allowed values:
autoInstall
Whether new sites in the workspace install the library automatically.
excludedAssetFolderIds
Asset folders the library leaves out. NO_FOLDER means assets outside any folder.
description
Release notes of this version.
sourceFilesCount
Not returned for code libraries.
skillsCount
Not returned for code libraries.
rulesCount
Not returned for code libraries.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error