Forum Discussion

AppleKri's avatar
AppleKri
Copper Contributor
Aug 05, 2026

Copilot API for usage

From the microsoft admin backend it is possible to download usage from copilot, so it is possible to see how many prompts users have made etc.

But i struggle to find an API that support that lookup. If have found API that show last activity date - but need an API that shows how many prompts etc has been used.
I don´t  want to see what is prompted of course - but just to show amount of prompts, so we can verify how much usage there is and make some automation in case copilot is not used, as license then can be removed


1 Reply

  • Microsoft now exposes prompt counts through the Microsoft 365 Copilot usage reports API in Microsoft Graph. Call the v1.0 Copilot usage-user-detail report with report version 2 and a supported period such as D7, D28, D90, D180, or ALL, using Reports.Read.All. Its streamed CSV includes user identity, last-activity dates, prompts submitted for all apps, Copilot Chat work and web prompt counts, and active usage days, without exposing prompt content. The limitation is licensing: Graph returns usage only for users assigned a Microsoft 365 Copilot license. Unlicensed Copilot Chat usage remains available in the admin-center report, not Graph reports. Save the report refresh date, compare several periods, and require sustained inactivity before reclaiming a license. Exclude newly licensed users, people on leave, and service accounts, then have an owner review proposed removals. This prevents revoking access because of reporting delay or a short quiet period