GitHub · Schema
Codespace machine
A description of the machine powering a codespace.
CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the machine. |
| display_name | string | The display name of the machine includes cores, memory, and storage. |
| operating_system | string | The operating system of the machine. |
| storage_in_bytes | integer | How much storage is available to the codespace. |
| memory_in_bytes | integer | How much memory is available to the codespace. |
| cpus | integer | How many cores are available to the codespace. |
| prebuild_availability | stringnull | Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be "null" if |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/github/json-schema/github-codespace-machine-schema.json",
"title": "Codespace machine",
"description": "A description of the machine powering a codespace.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/github-codespaces-api-openapi.yml#/components/schemas/codespace-machine",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the machine."
},
"display_name": {
"type": "string",
"description": "The display name of the machine includes cores, memory, and storage."
},
"operating_system": {
"type": "string",
"description": "The operating system of the machine."
},
"storage_in_bytes": {
"type": "integer",
"description": "How much storage is available to the codespace."
},
"memory_in_bytes": {
"type": "integer",
"description": "How much memory is available to the codespace."
},
"cpus": {
"type": "integer",
"description": "How many cores are available to the codespace."
},
"prebuild_availability": {
"type": [
"string",
"null"
],
"description": "Whether a prebuild is currently available when creating a codespace for this machine and repository. If a branch was not specified as a ref, the default branch will be assumed. Value will be \"null\" if prebuilds are not supported or prebuild availability could not be determined. Value will be \"none\" if no prebuild is available. Latest values \"ready\" and \"in_progress\" indicate the prebuild availability status.",
"enum": [
"none",
"ready",
"in_progress",
null
]
}
},
"required": [
"name",
"display_name",
"operating_system",
"storage_in_bytes",
"memory_in_bytes",
"cpus",
"prebuild_availability"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-codespace-machine"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.