get_copilot_metrics_for_enterprise
Retrieve daily GitHub Copilot usage metrics for enterprise-wide analysis, including code completions, chat activity, active users, and language/editor breakdowns.
Instructions
Get daily Copilot usage metrics for the entire GitHub Enterprise (code completions, chat usage, active users, language/editor breakdown)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_copilot_metrics_for_enterprise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enterprise | No | Enterprise slug (defaults to GITHUB_ENTERPRISE env var) | |
| since | No | Start date in YYYY-MM-DD format (defaults to 28 days ago) | |
| until | No | End date in YYYY-MM-DD format (defaults to today) | |
| force_refresh | No | Ignore cache and fetch fresh data |