copilot_slash_usage_metrics_for_team

Function copilot_slash_usage_metrics_for_team 

Source
pub async fn copilot_slash_usage_metrics_for_team(
    configuration: &Configuration,
    org: &str,
    team_slug: &str,
    since: Option<&str>,
    until: Option<&str>,
    page: Option<i32>,
    per_page: Option<i32>,
) -> Result<Vec<CopilotUsageMetrics>, Error<CopilotSlashUsageMetricsForTeamError>>
Expand description

Note: This endpoint is in beta and is subject to change. You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. See the response schema tab for detailed metrics definitions. The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day, and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics, they must have telemetry enabled in their IDE. Note: This endpoint will only return results for a given day if the team had five or more members on that day. Copilot Business or Copilot Enterprise organization owners for the organization that contains this team, and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team. OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:org, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.