Planetscale · Schema

Branch

A database branch representing an isolated copy of the schema for development, testing, or production use.

Properties

Name Type Description
id string The unique identifier of the branch.
name string The name of the branch.
production boolean Whether this is a production branch.
ready boolean Whether the branch is ready for connections.
shard_count integer The number of shards in the branch.
sharded boolean Whether the branch is sharded.
cluster_rate_name string The cluster size identifier for the branch.
region object The region where the branch is hosted.
parent_branch string The name of the parent branch this was forked from.
schema_last_updated_at string The timestamp when the schema was last modified.
created_at string The timestamp when the branch was created.
updated_at string The timestamp when the branch was last updated.
html_url string The URL to the branch in the PlanetScale dashboard.
View JSON Schema on GitHub

JSON Schema

planetscale-branch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Branch",
  "title": "Branch",
  "type": "object",
  "description": "A database branch representing an isolated copy of the schema for development, testing, or production use.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the branch."
    },
    "name": {
      "type": "string",
      "description": "The name of the branch."
    },
    "production": {
      "type": "boolean",
      "description": "Whether this is a production branch."
    },
    "ready": {
      "type": "boolean",
      "description": "Whether the branch is ready for connections."
    },
    "shard_count": {
      "type": "integer",
      "description": "The number of shards in the branch."
    },
    "sharded": {
      "type": "boolean",
      "description": "Whether the branch is sharded."
    },
    "cluster_rate_name": {
      "type": "string",
      "description": "The cluster size identifier for the branch."
    },
    "region": {
      "type": "object",
      "description": "The region where the branch is hosted.",
      "properties": {
        "slug": {
          "type": "string",
          "description": "The region slug identifier."
        },
        "display_name": {
          "type": "string",
          "description": "The human-readable region name."
        }
      }
    },
    "parent_branch": {
      "type": "string",
      "description": "The name of the parent branch this was forked from."
    },
    "schema_last_updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the schema was last modified."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the branch was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the branch was last updated."
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "description": "The URL to the branch in the PlanetScale dashboard."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/planetscale-branch"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.