Neon API guide

neon.com

Inspect Neon Postgres projects, see how branches and computes are organized, and track compute, storage, and transfer usage.

Actions and inputs

projects list

List the Postgres projects you can access.

projects get

Read a project's settings, compute configuration, and current usage.

Inputs project ID

tree

View synced organizations, projects, branches, and computes in one hierarchy.

usage trend

Compare project compute, storage, and transfer usage across periods.

Inputs --since

Neon Postgres project

Create

Create a Postgres project in your organization.

Inputs name, organization ID if needed, region, Postgres version

Read

Read the project's settings, compute configuration, and usage.

Inputs project ID

Update

Change the project's name or history retention period.

Inputs project ID, project name or retention period

Delete

Delete a Postgres project you no longer need.

Inputs project ID