cd /news/ai-tools/copilot-agent-session-streaming-is-n… · home topics ai-tools article
[ARTICLE · art-48551] src=github.blog ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Copilot agent session streaming is now in public preview

GitHub Enterprise Cloud customers with enterprise managed users can now access Copilot agent session data in public preview, including prompts, responses, and tool calls, via a streaming endpoint or REST API. The feature enables enterprises to manage AI usage across all Copilot clients, with Microsoft Purview also supported as a streaming endpoint.

read1 min views1 publishedJul 2, 2026
Copilot agent session streaming is now in public preview
Image: GitHub Changelog

GitHub Enterprise Cloud customers with enterprise managed users can now access GitHub Copilot agent session data across all Copilot clients, including:

  • Cloud agents operating on github.com and data resident deployments on ghe.com
  • GitHub Copilot CLI
  • Visual Studio Code
  • Visual Studio
  • Partner IDEs, such as those provided by JetBrains and Eclipse

This gives you direct visibility into agent session activity (e.g., prompts, responses, and tool calls) so you can manage AI usage across your enterprise. You can choose to access this data via a streaming endpoint or the REST API. To enable this, go to the Copilot subpage in AI Controls and select Enable everywhere for both “Copilot Usage Records Streaming” and “Copilot Usage Records API”.

Streaming endpoint You can initiate a streaming connection to an event collector or SIEM tool of your choice from your audit log settings. Once configured, GitHub automatically streams all session data for your enterprise to that endpoint. Microsoft Purview is also available as a supported streaming endpoint in public preview, giving customers in the Microsoft ecosystem a direct pathway to send auditability data from all GitHub Copilot clients. For more information, see our documentation on setting up audit log streaming.

REST API The REST API lets enterprise owners pull the last 48 hours of session data on demand using this endpoint:

GET /enterprises/{enterprise}/copilot/usage-records : Retrieve Copilot usage records for an enterprise.

To learn more, read the Copilot Usage Records REST API documentation.

── more in #ai-tools 4 stories · sorted by recency
── more on @github 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/copilot-agent-sessio…] indexed:0 read:1min 2026-07-02 ·