Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Neon Projects API

Manage Neon projects. A project is the top-level object in the Neon hierarchy containing branches, databases, roles, and compute endpoints.

Neon Projects API is one of 13 APIs that Neon publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Projects. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 6 operations across 3 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 2.0.

Requests are made against a single base URL, https://console.neon.tech/api/v2.

6 operations 3 paths 6 schemas 1 DELETE3 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0
Base URL
https://console.neon.tech/api/v2
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Neon Projects API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (API Key) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Neon API keys are used to authenticate requests. Include the API key in the Authorization header as a Bearer token.

Paths & Operations 6

Across 3 paths, the API surfaces 6 operations — 1 DELETE, 3 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Projects 6

Manage Neon projects. A project is the top-level object in the Neon hierarchy containing branches, databases, roles, and compute endpoints.

GET
/projects
List projects
listProjects 3 params → 200401404
POST
/projects
Create a project
createProject body → 201400401
GET
/projects/{project_id}
Retrieve project details
getProject 1 param → 200401404
PATCH
/projects/{project_id}
Update a project
updateProject 1 param body → 200400401404
DELETE
/projects/{project_id}
Delete a project
deleteProject 1 param → 200401404
GET
/projects/{project_id}/connection_uri
Retrieve connection URI
getConnectionUri 5 params → 200401404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Project (15 properties), Operation (9 properties), Pagination (4 properties), ConnectionUri (2 properties). Each schema is shown below with its type and property counts.

Project
object
A Neon project is the top-level object in the Neon hierarchy. It contains branches, databases, roles, and compute endpoints.
15 properties
Operation
object
An operation tracks the progress of an action performed on a project resource such as creating a branch, starting an endpoint, or updating a database.
9 properties
Pagination
object
Pagination metadata for list responses
4 properties
ProjectUpdateRequest
object
Request body for updating a project
1 property
ConnectionUri
object
A database connection URI
2 properties
ProjectCreateRequest
object
Request body for creating a new project
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

neon-projects-api-openapi.yml Raw ↑

Other APIs Neon publishes across the network.

Neon Data API
Neon Serverless Driver
Neon Auth
Neon API Keys API
Neon Auth API
Neon Branches API
Neon Consumption API
Neon Data API API
Neon Databases API
Neon Endpoints API
Neon Operations API
Neon Roles API