Neon · Schema

Neon Project

A Neon project is the top-level object in the Neon hierarchy containing branches, databases, roles, and compute endpoints for a serverless Postgres deployment.

DatabasesServerlessPostgresInfrastructureAuthenticationEdge

Properties

Name Type Description
id string The unique project identifier assigned by Neon
platform_id string The cloud platform identifier
region_id string The cloud region where the project is deployed (e.g., aws-us-east-1, aws-eu-central-1)
name string The human-readable project name
provisioner string The provisioner type used for compute resources
default_endpoint_settings object
pg_version integer The Postgres major version number
store_passwords boolean Whether connection passwords are stored and retrievable
active_time integer Total active time of compute endpoints in seconds
cpu_used_sec integer Total CPU seconds consumed by compute endpoints
maintenance_starts_at string Scheduled maintenance window start time
creation_source string The source that created this project (e.g., console, api)
org_id string The organization ID this project belongs to
created_at string Timestamp when the project was created
updated_at string Timestamp when the project was last updated
View JSON Schema on GitHub

JSON Schema

neon-project-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://neon.com/schemas/neon/project.json",
  "title": "Neon Project",
  "description": "A Neon project is the top-level object in the Neon hierarchy containing branches, databases, roles, and compute endpoints for a serverless Postgres deployment.",
  "type": "object",
  "required": ["id", "name", "region_id", "pg_version"],
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique project identifier assigned by Neon"
    },
    "platform_id": {
      "type": "string",
      "description": "The cloud platform identifier"
    },
    "region_id": {
      "type": "string",
      "description": "The cloud region where the project is deployed (e.g., aws-us-east-1, aws-eu-central-1)",
      "enum": [
        "aws-us-east-1",
        "aws-us-east-2",
        "aws-us-west-2",
        "aws-eu-central-1",
        "aws-ap-southeast-1",
        "aws-ap-southeast-2"
      ]
    },
    "name": {
      "type": "string",
      "description": "The human-readable project name",
      "maxLength": 64
    },
    "provisioner": {
      "type": "string",
      "description": "The provisioner type used for compute resources",
      "enum": ["k8s-pod", "k8s-neonvm"]
    },
    "default_endpoint_settings": {
      "$ref": "#/$defs/EndpointSettings"
    },
    "pg_version": {
      "type": "integer",
      "description": "The Postgres major version number",
      "enum": [14, 15, 16, 17]
    },
    "store_passwords": {
      "type": "boolean",
      "description": "Whether connection passwords are stored and retrievable"
    },
    "active_time": {
      "type": "integer",
      "description": "Total active time of compute endpoints in seconds",
      "minimum": 0
    },
    "cpu_used_sec": {
      "type": "integer",
      "description": "Total CPU seconds consumed by compute endpoints",
      "minimum": 0
    },
    "maintenance_starts_at": {
      "type": "string",
      "format": "date-time",
      "description": "Scheduled maintenance window start time"
    },
    "creation_source": {
      "type": "string",
      "description": "The source that created this project (e.g., console, api)"
    },
    "org_id": {
      "type": "string",
      "description": "The organization ID this project belongs to"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the project was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the project was last updated"
    }
  },
  "$defs": {
    "EndpointSettings": {
      "type": "object",
      "description": "Default settings applied to new compute endpoints in this project",
      "properties": {
        "autoscaling_limit_min_cu": {
          "type": "number",
          "description": "Minimum compute units for autoscaling",
          "minimum": 0.25
        },
        "autoscaling_limit_max_cu": {
          "type": "number",
          "description": "Maximum compute units for autoscaling",
          "minimum": 0.25
        },
        "suspend_timeout_seconds": {
          "type": "integer",
          "description": "Seconds of inactivity before the endpoint is automatically suspended",
          "minimum": 0
        }
      }
    }
  }
}