copilot_slash_usage_metrics_for_enterprise

Function copilot_slash_usage_metrics_for_enterprise 

Source
pub async fn copilot_slash_usage_metrics_for_enterprise(
    configuration: &Configuration,
    enterprise: &str,
    since: Option<&str>,
    until: Option<&str>,
    page: Option<i32>,
    per_page: Option<i32>,
) -> Result<Vec<CopilotUsageMetrics>, Error<CopilotSlashUsageMetricsForEnterpriseError>>
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 all users across organizations with access to Copilot within your enterprise, 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. Only the owners and billing managers of enterprises with a Copilot Business or Enterprise subscription can view Copilot usage metrics for the enterprise. OAuth app tokens and personal access tokens (classic) need the copilot, manage_billing:copilot, admin:enterprise, or manage_billing:enterprise scope to use this endpoint.