Neon · Schema

Neon Branch

A Neon branch is a copy-on-write clone of database data used for development, testing, or preview environments. Branches are created instantly and share storage with their parent until data diverges.

DatabasesServerlessPostgresInfrastructureAuthenticationEdge

Properties

Name Type Description
id string The unique branch identifier
project_id string The project ID this branch belongs to
parent_id string The parent branch ID this branch was created from
parent_lsn string The Postgres Log Sequence Number of the point the branch was created from
parent_timestamp string The timestamp of the point in time the branch was created from
name string The human-readable branch name
current_state string The current state of the branch
logical_size integer The logical size of the branch data in bytes
primary boolean Whether this is the primary (default) branch of the project
created_at string Timestamp when the branch was created
updated_at string Timestamp when the branch was last updated
View JSON Schema on GitHub

JSON Schema

neon-branch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://neon.com/schemas/neon/branch.json",
  "title": "Neon Branch",
  "description": "A Neon branch is a copy-on-write clone of database data used for development, testing, or preview environments. Branches are created instantly and share storage with their parent until data diverges.",
  "type": "object",
  "required": ["id", "project_id", "name"],
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique branch identifier"
    },
    "project_id": {
      "type": "string",
      "description": "The project ID this branch belongs to"
    },
    "parent_id": {
      "type": "string",
      "description": "The parent branch ID this branch was created from"
    },
    "parent_lsn": {
      "type": "string",
      "description": "The Postgres Log Sequence Number of the point the branch was created from"
    },
    "parent_timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp of the point in time the branch was created from"
    },
    "name": {
      "type": "string",
      "description": "The human-readable branch name"
    },
    "current_state": {
      "type": "string",
      "description": "The current state of the branch",
      "enum": ["init", "ready"]
    },
    "logical_size": {
      "type": "integer",
      "format": "int64",
      "description": "The logical size of the branch data in bytes",
      "minimum": 0
    },
    "primary": {
      "type": "boolean",
      "description": "Whether this is the primary (default) branch of the project"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the branch was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the branch was last updated"
    }
  }
}

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/neon-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.