{ "opencollection": "1.0.0", "info": { "name": "GitHub Copilot REST Copilot Billing Copilot Metrics API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Copilot Metrics", "type": "folder" }, "items": [ { "info": { "name": "Github Copilot Get Copilot Metrics for an Organization", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/copilot/metrics", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." }, { "name": "since", "value": "", "type": "query", "description": "Show usage metrics since this date (ISO 8601 format YYYY-MM-DD). Maximum 100 days in the past." }, { "name": "until", "value": "", "type": "query", "description": "Show usage metrics until this date (ISO 8601 format YYYY-MM-DD)." }, { "name": "page", "value": "", "type": "query", "description": "The page number of results to fetch." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of days of metrics per page (max 100)." } ] }, "docs": "Retrieves aggregated metrics for various GitHub Copilot features broken down by language and IDE editor. Requires at least five organization members with active Copilot licenses. Data reflects previous day metrics only." }, { "info": { "name": "Github Copilot Get Copilot Metrics for a Team", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/team/:team_slug/copilot/metrics", "params": [ { "name": "org", "value": "octo-org", "type": "path", "description": "The organization name. Case-insensitive." }, { "name": "team_slug", "value": "engineering", "type": "path", "description": "The slug of the team name." }, { "name": "since", "value": "", "type": "query", "description": "Show usage metrics since this date (ISO 8601 format YYYY-MM-DD). Maximum 100 days in the past." }, { "name": "until", "value": "", "type": "query", "description": "Show usage metrics until this date (ISO 8601 format YYYY-MM-DD)." }, { "name": "page", "value": "", "type": "query", "description": "The page number of results to fetch." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of days of metrics per page (max 100)." } ] }, "docs": "Retrieves aggregated Copilot metrics for a specific team within an organization, broken down by language and IDE editor. Requires at least five team members with active Copilot licenses." } ] } ], "bundled": true }