🟢 📦 Open Source Published: · 2 min read ·

GitHub: Copilot Spaces API now generally available

Editorial illustration: GitHub announced the general availability of the REST API for Copilot Spaces, allowing teams to programmatically manage contextual AI workspaces

GitHub announced the general availability of the REST API for Copilot Spaces, allowing teams to programmatically create, configure and delete contextual AI workspaces. The new interface is especially useful for organizations managing large numbers of Spaces without relying on manual workflows.

🤖

This article was generated using artificial intelligence from primary sources.

GitHub Copilot Spaces API exits beta

GitHub announced on May 18, 2026 the general availability (GA — Generally Available) of the REST API for Copilot Spaces. This ends the experimental phase and the API becomes ready for production use with full support and stable interfaces.

Copilot Spaces are contextual AI workspaces that allow teams to share a common context — repositories, documents and custom instructions — so that GitHub Copilot delivers suggestions relevant to a specific project or team. Instead of each developer individually configuring their AI assistant, the whole team shares the same contextual framework.

What does programmatic Spaces management enable?

The new REST API provides full CRUD operations (Create, Read, Update, Delete): it is possible to create new Spaces, retrieve details of existing ones, update configurations and delete spaces that are no longer needed. The API also covers managing collaborators and resources within each space.

Three categories of endpoints cover management of the Spaces themselves, collaborator management and interaction with space resources — enabling automation of the entire lifecycle of contextual AI environments.

Why is GA important for enterprise teams?

Previously, administrators had to create and edit Spaces manually through the interface. The REST API opens the door to scripted automation and integration with existing DevOps tools — CI/CD pipelines, onboarding scripts and internal developer portals.

Organizations with dozens of teams can now programmatically standardize AI context, apply changes to multiple Spaces at once and audit the state of all spaces without manual review. Documentation is available at docs.github.com/en/rest/copilot-spaces.

Frequently Asked Questions

What are GitHub Copilot Spaces?
Copilot Spaces are contextual AI workspaces within GitHub Copilot that allow teams to share a common context — repositories, documents and instructions — so that AI suggestions are relevant to a specific project or team.
What does the REST API for Copilot Spaces enable?
The REST API provides CRUD operations — creating new Spaces, retrieving details of existing ones, updating configurations and deleting spaces that are no longer needed. It also supports managing collaborators and resources within each space.
What is the difference between the beta and GA version of the API?
General availability (GA) means the API has exited the experimental phase and is ready for production use with stable interfaces and GitHub's standard SLA. Beta was intended for early testing with potential breaking changes.