How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Copilot Spaces API

Endpoints to manage Copilot Spaces using the REST API.

GitHub Enterprise Copilot Spaces API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include copilot-spaces. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 28 operations across 12 paths, and defines 7 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

28 operations 12 paths 7 schemas 6 DELETE10 GET6 POST6 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 28

Across 12 paths, the API surfaces 28 operations — 6 DELETE, 10 GET, 6 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.

copilot-spaces 28

Endpoints to manage Copilot Spaces using the REST API.

GET
/orgs/{org}/copilot-spaces
List organization Copilot Spaces
copilot-spaces/list-for-org 4 params → 200403404
POST
/orgs/{org}/copilot-spaces
Create an organization Copilot Space
copilot-spaces/create-for-org 1 param body → 201403404422
GET
/orgs/{org}/copilot-spaces/{space_number}
Get an organization Copilot Space
copilot-spaces/get-for-org 2 params → 200403404
PUT
/orgs/{org}/copilot-spaces/{space_number}
Set an organization Copilot Space
copilot-spaces/update-for-org 2 params body → 200403404422
DELETE
/orgs/{org}/copilot-spaces/{space_number}
Delete an organization Copilot Space
copilot-spaces/delete-for-org 2 params → 204404422
GET
/orgs/{org}/copilot-spaces/{space_number}/collaborators
List collaborators for an organization Copilot Space
copilot-spaces/list-collaborators-for-org 2 params → 200403404
POST
/orgs/{org}/copilot-spaces/{space_number}/collaborators
Add a collaborator to an organization Copilot Space
copilot-spaces/add-collaborator-for-org 2 params body → 201403404422
PUT
/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}
Set a collaborator role for an organization Copilot Space
copilot-spaces/update-collaborator-for-org 4 params body → 200204403404422
DELETE
/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}
Remove a collaborator from an organization Copilot Space
copilot-spaces/remove-collaborator-for-org 4 params → 204403404
GET
/orgs/{org}/copilot-spaces/{space_number}/resources
List resources for an organization Copilot Space
copilot-spaces/list-resources-for-org 2 params → 200403404
POST
/orgs/{org}/copilot-spaces/{space_number}/resources
Create a resource for an organization Copilot Space
copilot-spaces/create-resource-for-org 2 params body → 201200403404422
GET
/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}
Get a resource for an organization Copilot Space
copilot-spaces/get-resource-for-org 3 params → 200403404
PUT
/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}
Set a resource for an organization Copilot Space
copilot-spaces/update-resource-for-org 3 params body → 200403404422
DELETE
/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}
Delete a resource from an organization Copilot Space
copilot-spaces/delete-resource-for-org 3 params → 204403404
GET
/users/{username}/copilot-spaces
List Copilot Spaces for a user
copilot-spaces/list-for-user 4 params → 200403404
POST
/users/{username}/copilot-spaces
Create a Copilot Space for a user
copilot-spaces/create-for-user 1 param body → 201403404422
GET
/users/{username}/copilot-spaces/{space_number}
Get a Copilot Space for a user
copilot-spaces/get-for-user 2 params → 200403404
PUT
/users/{username}/copilot-spaces/{space_number}
Set a Copilot Space for a user
copilot-spaces/update-for-user 2 params body → 200403404422
DELETE
/users/{username}/copilot-spaces/{space_number}
Delete a Copilot Space for a user
copilot-spaces/delete-for-user 2 params → 204404422
GET
/users/{username}/copilot-spaces/{space_number}/collaborators
List collaborators for a Copilot Space for a user
copilot-spaces/list-collaborators-for-user 2 params → 200403404
POST
/users/{username}/copilot-spaces/{space_number}/collaborators
Add a collaborator to a Copilot Space for a user
copilot-spaces/add-collaborator-for-user 2 params body → 201403404422
PUT
/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}
Set a collaborator role for a Copilot Space for a user
copilot-spaces/update-collaborator-for-user 4 params body → 200204403404422
DELETE
/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}
Remove a collaborator from a Copilot Space for a user
copilot-spaces/remove-collaborator-for-user 4 params → 204403404
GET
/users/{username}/copilot-spaces/{space_number}/resources
List resources for a Copilot Space for a user
copilot-spaces/list-resources-for-user 2 params → 200403404
POST
/users/{username}/copilot-spaces/{space_number}/resources
Create a resource for a Copilot Space for a user
copilot-spaces/create-resource-for-user 2 params body → 201200403404422
GET
/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}
Get a resource for a Copilot Space for a user
copilot-spaces/get-resource-for-user 3 params → 200403404
PUT
/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}
Set a resource for a Copilot Space for a user
copilot-spaces/update-resource-for-user 3 params body → 200403404422
DELETE
/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}
Delete a resource from a Copilot Space for a user
copilot-spaces/delete-resource-for-user 3 params → 204403404

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are simple-user (22 properties), copilot-space (13 properties), organization-simple (12 properties), copilot-space-resource (6 properties). Each schema is shown below with its type and property counts.

copilot-space
object
A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance.
13 properties 10 required
validation-error
object
Validation Error
3 properties 2 required
basic-error
object
Basic Error
4 properties
simple-user
object
A GitHub user.
22 properties 18 required
copilot-space-resource
object
A resource attached to a Copilot Space.
6 properties 5 required
copilot-space-collaborator
object
A collaborator (user or team) of a Copilot Space
organization-simple
object
A GitHub organization.
12 properties 12 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-copilot-spaces-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Copilot Spaces API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.