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 Endpoints API

Manage compute endpoints for branches. Compute endpoints provide the processing resources for database queries. A branch can have one read-write and multiple read-only endpoints.

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

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

This API exposes 9 operations across 6 paths, and defines 4 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.

9 operations 6 paths 4 schemas 1 DELETE3 GET1 PATCH4 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 Endpoints 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 9

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

Endpoints 9

Manage compute endpoints for branches. Compute endpoints provide the processing resources for database queries. A branch can have one read-write and multiple read-only endpoints.

GET
/projects/{project_id}/endpoints
List compute endpoints
listProjectEndpoints 1 param → 200401404
POST
/projects/{project_id}/endpoints
Create a compute endpoint
createProjectEndpoint 1 param body → 201400401404
GET
/projects/{project_id}/endpoints/{endpoint_id}
Retrieve compute endpoint details
getProjectEndpoint 2 params → 200401404
PATCH
/projects/{project_id}/endpoints/{endpoint_id}
Update a compute endpoint
updateProjectEndpoint 2 params body → 200400401404
DELETE
/projects/{project_id}/endpoints/{endpoint_id}
Delete a compute endpoint
deleteProjectEndpoint 2 params → 200401404
POST
/projects/{project_id}/endpoints/{endpoint_id}/start
Start a compute endpoint
startProjectEndpoint 2 params → 200401404
POST
/projects/{project_id}/endpoints/{endpoint_id}/suspend
Suspend a compute endpoint
suspendProjectEndpoint 2 params → 200401404
POST
/projects/{project_id}/endpoints/{endpoint_id}/restart
Restart a compute endpoint
restartProjectEndpoint 2 params → 200401404
GET
/projects/{project_id}/branches/{branch_id}/endpoints
List branch endpoints
listProjectBranchEndpoints 2 params → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Endpoint (14 properties), Operation (9 properties), EndpointCreateRequest (1 property), EndpointUpdateRequest (1 property). Each schema is shown below with its type and property counts.

EndpointUpdateRequest
object
Request body for updating a compute endpoint
1 property
EndpointCreateRequest
object
Request body for creating a new compute endpoint
1 property
Endpoint
object
A compute endpoint provides processing resources for database queries. Each branch can have one read-write and multiple read-only endpoints.
14 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

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

neon-endpoints-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 Operations API
Neon Projects API
Neon Roles API