jsdelivr_gh_version_files_stats
Retrieve file-level jsDelivr CDN statistics for a specific GitHub repo version, sorted by hits or bandwidth, to analyze per-file usage over a chosen period.
Instructions
Get file-level stats for a specific GitHub repo version on jsDelivr.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>",
"repo": "<repo>",
"version": "<version>"
},
"name": "jsdelivr_gh_version_files_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Sort by hits or bandwidth. Default: hits | |
| page | No | Page number (1-100). Default: 1 | |
| repo | Yes | GitHub repo name, e.g. 'bootstrap' | |
| user | Yes | GitHub username or org, e.g. 'twbs' | |
| limit | No | Max results (1-100). Default: 100 | |
| period | No | Time period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month | |
| version | Yes | Exact version, e.g. '5.3.3' |