# Neon API

The Neon API lets you manage Neon programmatically. You can create and manage projects, branches, databases, roles, compute endpoints, API keys, and more. Everything you can do in the Neon Console, you can do with the API.

Browse endpoints below, start with [Get started](/guides/apis-sdks-reference-api-get-started), download the [OpenAPI spec](https://neon.com/api_spec/release/v2.json), or load [api.md](/guides/ai-agents-on-neon-reference-api) as AI context.

## Search and browse all endpoints

Use the endpoint index to search every generated API operation, or browse by resource below.

179 endpoints across 19 resources

[Search endpoint index](/guides/apis-sdks-reference-api-reference)

[AI Gateway1 Retrieve branch AI Gateway endpoints](/guides/apis-sdks-reference-api-ai-gateway)[API Keys3 Create and revoke API keys](/guides/apis-sdks-reference-api-api-keys)[Authentication29 Neon Auth configuration and user management](/guides/apis-sdks-reference-api-auth)[Branches28 Copy-on-write database clones for dev, test, and CI/CD](/guides/apis-sdks-reference-api-branches)[Buckets8 Manage branch buckets and objects](/guides/apis-sdks-reference-api-buckets)[Consumption3 Query billing and usage metrics](/guides/apis-sdks-reference-api-consumption)[Credentials5 Issue and revoke scoped branch credentials](/guides/apis-sdks-reference-api-credentials)[Data API5 RESTful access to your database](/guides/apis-sdks-reference-api-dataapi)[Endpoints8 Compute instances that run your Postgres workload](/guides/apis-sdks-reference-api-endpoints)[Functions13 Manage branch functions and deployments](/guides/apis-sdks-reference-api-functions)[Logs3 Query logs emitted by services running on branches](/guides/apis-sdks-reference-api-logs)[Operations2 Track async operation status](/guides/apis-sdks-reference-api-operations)[Organizations19 Manage org members, API keys, VPC endpoints, and spending](/guides/apis-sdks-reference-api-organizations)[Projects23 Create, manage, and delete Neon projects](/guides/apis-sdks-reference-api-projects)[Regions1 List supported deployment regions](/guides/apis-sdks-reference-api-regions)[Snapshots7 Point-in-time backup and restore](/guides/apis-sdks-reference-api-snapshots)[Storage1 Inspect branch storage state](/guides/apis-sdks-reference-api-storage)[Users4 Current user details and org membership](/guides/apis-sdks-reference-api-users)[Legacy Auth16 Deprecated Neon Auth endpoints; use the Auth endpoints instead](/guides/apis-sdks-reference-api-auth-legacy)

## Learn more

::::card-grid
:::card{title="Get started" href="/guides/apis-sdks-reference-api-get-started"}
Create an API key, authenticate requests, and list your projects with curl.
:::

:::card{title="Key concepts" href="/guides/apis-sdks-reference-api-key-concepts"}
Understand asynchronous operations, rate limits, pagination, and important constraints.
:::

:::card{title="OpenAPI spec" href="https://neon.com/api_spec/release/v2.json"}
Download the OpenAPI 3.0 specification for code generation and tooling.
:::
::::

## Related interfaces

If you don't need to call the REST API directly, use one of these interfaces instead.

::::card-grid
:::card{title="CLI" href="/guides/apis-sdks-cli"}
Use the neon CLI for terminal, CI/CD, and agent workflows.
:::

:::card{title="MCP server" href="/guides/postgres-ai-neon-mcp-server"}
Connect AI assistants to Neon with MCP.
:::
::::

## Related pages

- [Database versioning with snapshots](./ai-agents-on-neon-ai-ai-database-versioning.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
