Copilot Cloud Agent REST API Now in Public Preview

Copilot cloud agent now has a REST API in public preview. Automate refactors, migrations, and releases across repos. Business and Enterprise only for now.

Copilot Cloud Agent REST API Now in Public Preview

TL;DR

  • New Agent tasks REST API lets you programmatically trigger Copilot cloud agent from custom scripts
  • Supports personal access tokens and OAuth; GitHub App tokens coming soon
  • Copilot Business and Enterprise only (Pro support planned)

New

  • Agent tasks REST API — Start Copilot cloud agent tasks and track progress via REST endpoints. Weave agent automation into CI/CD pipelines, internal portals, or custom workflows without leaving your code.
  • Multi-repo automation — Fan out refactors, migrations, and setup tasks across repositories from a single API call. Useful for large-scale codebase changes.
  • Release automation — Automatically generate weekly releases with release notes via the API.

Authentication

  • Personal access tokens (classic and fine-grained) and OAuth tokens supported now
  • GitHub App installation access tokens coming soon
  • Copilot Pro and Pro+ access planned for future release

See the Agent tasks REST API documentation for implementation details.

Source: GitHub Changelog