# GitHub Copilot Copilot Spaces API

**Canonical:** https://apis.io/apis/github-copilot/github-copilot-copilot-spaces-api/  
**Provider:** GitHub Copilot — https://apis.io/providers/github-copilot/  
**Base URL:** https://api.github.com  
**Documentation:** https://docs.github.com/en/rest/copilot

GitHub Copilot Copilot Spaces API is one of 10 APIs that [GitHub Copilot](https://apis.io/providers/github-copilot/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 3 JSON Schema definitions. Tagged areas include copilot-spaces. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, a JSON-LD context, pricing, and 3 JSON Schemas.

Endpoints to manage Copilot Spaces using the REST API.

## Operations (28)

| Method | Path | Summary |
|---|---|---|
| GET | `/orgs/{org}/copilot-spaces` | List organization Copilot Spaces |
| POST | `/orgs/{org}/copilot-spaces` | Create an organization Copilot Space |
| GET | `/orgs/{org}/copilot-spaces/{space_number}` | Get an organization Copilot Space |
| PUT | `/orgs/{org}/copilot-spaces/{space_number}` | Set an organization Copilot Space |
| DELETE | `/orgs/{org}/copilot-spaces/{space_number}` | Delete an organization Copilot Space |
| GET | `/orgs/{org}/copilot-spaces/{space_number}/collaborators` | List collaborators for an organization Copilot Space |
| POST | `/orgs/{org}/copilot-spaces/{space_number}/collaborators` | Add a collaborator to an organization Copilot Space |
| PUT | `/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}` | Set a collaborator role for an organization Copilot Space |
| DELETE | `/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}` | Remove a collaborator from an organization Copilot Space |
| GET | `/orgs/{org}/copilot-spaces/{space_number}/resources` | List resources for an organization Copilot Space |
| POST | `/orgs/{org}/copilot-spaces/{space_number}/resources` | Create a resource for an organization Copilot Space |
| GET | `/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Get a resource for an organization Copilot Space |
| PUT | `/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Set a resource for an organization Copilot Space |
| DELETE | `/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Delete a resource from an organization Copilot Space |
| GET | `/users/{username}/copilot-spaces` | List Copilot Spaces for a user |
| POST | `/users/{username}/copilot-spaces` | Create a Copilot Space for a user |
| GET | `/users/{username}/copilot-spaces/{space_number}` | Get a Copilot Space for a user |
| PUT | `/users/{username}/copilot-spaces/{space_number}` | Set a Copilot Space for a user |
| DELETE | `/users/{username}/copilot-spaces/{space_number}` | Delete a Copilot Space for a user |
| GET | `/users/{username}/copilot-spaces/{space_number}/collaborators` | List collaborators for a Copilot Space for a user |
| POST | `/users/{username}/copilot-spaces/{space_number}/collaborators` | Add a collaborator to a Copilot Space for a user |
| PUT | `/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}` | Set a collaborator role for a Copilot Space for a user |
| DELETE | `/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}` | Remove a collaborator from a Copilot Space for a user |
| GET | `/users/{username}/copilot-spaces/{space_number}/resources` | List resources for a Copilot Space for a user |
| POST | `/users/{username}/copilot-spaces/{space_number}/resources` | Create a resource for a Copilot Space for a user |
| GET | `/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Get a resource for a Copilot Space for a user |
| PUT | `/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Set a resource for a Copilot Space for a user |
| DELETE | `/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}` | Delete a resource from a Copilot Space for a user |

## Machine-readable artifacts (16)

- **OpenAPI** — https://artifacts.apis.io/github-copilot/openapi/github-copilot-copilot-spaces-api-openapi.yml
- **Documentation** — https://docs.github.com/en/rest/copilot
- **Authentication** — https://docs.github.com/en/rest/authentication
- **GettingStarted** — https://docs.github.com/en/copilot/quickstart
- **Features** — https://docs.github.com/en/copilot/get-started/features
- **Plans** — https://docs.github.com/en/copilot/get-started/plans
- **JSONLD** — https://artifacts.apis.io/github-copilot/json-ld/github-copilot-context.jsonld
- **Documentation** — https://docs.github.com/en/rest/copilot/copilot-for-business
- **Pricing** — https://github.com/features/copilot#pricing
- **Documentation** — https://docs.github.com/en/rest/copilot/copilot-user-management
- **Documentation** — https://docs.github.com/en/rest/copilot/copilot-metrics
- **Documentation** — https://docs.github.com/en/rest/copilot/copilot-usage-metrics
- **Documentation** — https://docs.github.com/en/rest/copilot/copilot-content-exclusion-management
- **JSONSchema** — https://artifacts.apis.io/github-copilot/json-schema/github-copilot-copilot-space-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-copilot/json-schema/github-copilot-copilot-space-collaborator-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-copilot/json-schema/github-copilot-copilot-space-resource-schema.json

## Other GitHub Copilot APIs (9)

- [GitHub Copilot Chat API](https://apis.io/apis/github-copilot/github-copilot-chat-api/)
- [GitHub Copilot Extensions API](https://apis.io/apis/github-copilot/github-copilot-extensions-api/)
- [GitHub Copilot Coding Agent](https://apis.io/apis/github-copilot/github-copilot-coding-agent/)
- [GitHub Copilot Code Review](https://apis.io/apis/github-copilot/github-copilot-code-review/)
- [GitHub MCP Server](https://apis.io/apis/github-copilot/github-mcp-server/)
- [GitHub Copilot Custom Instructions](https://apis.io/apis/github-copilot/github-copilot-custom-instructions/)
- [GitHub Copilot Copilot API](https://apis.io/apis/github-copilot/github-copilot-copilot-api/)
- [GitHub Copilot Merge Queue API](https://apis.io/apis/github-copilot/github-copilot-merge-queue-api/)
- [GitHub Copilot Pulls API](https://apis.io/apis/github-copilot/github-copilot-pulls-api/)

## Tags

copilot-spaces

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/github-copilot` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github-copilot/github-copilot-copilot-spaces-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github-copilot/.
