v13
OpenAPI 3.1.02026-08-033122950.3 KBmodels
Get folder size
Get the total size of a repository at a given revision, optionally under a specific subpath. Returns the total size in bytes of all files under the specified path (recursively). If a file is stored via Xet/LFS, the LFS file size is used.
get/api/models/{namespace}/{repo}/treesize/{rev}/{path}
Path parameters
namespacestring required
repostring required
revstring required
pathstring required
Wildcard path parameter
Response
Total size of a repository at a given revision, under the given path