All integrations

Neon

DEVELOPER · DEVELOPER

Projects, branches, databases, and roles under that developer’s own token.

Acts as the person, not as itself

Each user connects their own account. Every call carries both identities — the agent and the person it is acting for — so the agent can never reach past what that individual can already do.

Credentials never touch the agent

Tokens live in the vault and attach server-side at call time. The agent holds a session, not a secret, and revoking access does not mean rotating a key.

Every call on the record

Who asked, which agent acted, which action ran, and the verdict that let it through — one audit trail across every integration, not one per vendor.

What an agent can do

Each action is granted on its own. An agent allowed to read is not thereby allowed to write, and the scope beside each row is what the acting user must have connected for it to run at all.

neon_delete_api_keys_by_key_idWRITE

Revoke API key. Revokes the specified API key. An API key that is no longer needed can be revoked. This action cannot be reversed. API keys can also be managed in the Neon Console. See Manage API keys. DELETE /api_keys/{key_id}

api
neon_delete_organizations_by_org_id_api_keys_by_key_idWRITE

Revoke organization API key. Revokes the specified organization API key. An API key that is no longer needed can be revoked. This action cannot be reversed. API keys can also be managed in the Neon Console. See Manage API keys. DELETE /organizations/{org_id}/api_keys/{key_id}

api
neon_delete_organizations_by_org_id_billing_spending_limitWRITE

Remove organization spending limit. Removes the configured monthly spending limit for the specified organization. Idempotent — removing an already-unset limit still succeeds. DELETE /organizations/{org_id}/billing/spending_limit

api
neon_delete_organizations_by_org_id_members_by_member_idWRITE

Remove organization member. Removes the specified member from the organization. Only organization admins can perform this action. The last admin in an organization cannot be removed. DELETE /organizations/{org_id}/members/{member_id}

api
neon_delete_organizations_by_org_id_vpc_region_by_region_id_vpc_endpoints_by_vpc_endpoint_idWRITE

Delete VPC endpoint. Deletes the VPC endpoint from the specified Neon organization. If you delete a VPC endpoint from a Neon organization, that VPC endpoint cannot be added back to the Neon organization. DELETE /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}

api
neon_delete_projects_by_project_idWRITE

Delete project. Deletes the specified project and all its endpoints, branches, databases, and users. Deleted projects can be recovered within 7 days using `POST /projects/{project_id}/recover`. DELETE /projects/{project_id}

api
neon_delete_projects_by_project_id_auth_domainsWRITE

Delete trusted redirect URI domain. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026. DELETE /projects/{project_id}/auth/domains

api
neon_delete_projects_by_project_id_auth_integration_by_auth_providerWRITE

Delete integration with auth provider. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026. DELETE /projects/{project_id}/auth/integration/{auth_provider}

api
neon_delete_projects_by_project_id_auth_oauth_providers_by_oauth_provider_idWRITE

Delete OAuth provider. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026. DELETE /projects/{project_id}/auth/oauth_providers/{oauth_provider_id}

api
neon_delete_projects_by_project_id_auth_users_by_auth_user_idWRITE

Delete auth user. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}` instead. Removal scheduled for March 1, 2026. DELETE /projects/{project_id}/auth/users/{auth_user_id}

api
neon_delete_projects_by_project_id_branches_by_branch_idWRITE

Delete branch. Deletes the specified branch from a project and places all compute endpoints into an idle state, breaking existing client connections. The deletion completes after all operations finish. DELETE /projects/{project_id}/branches/{branch_id}

api
neon_delete_projects_by_project_id_branches_by_branch_id_authWRITE

Disable Neon Auth for the branch. Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. DELETE /projects/{project_id}/branches/{branch_id}/auth

api
neon_delete_projects_by_project_id_branches_by_branch_id_auth_domainsWRITE

Delete domain from redirect_uri whitelist. Removes a domain from the redirect URI whitelist for the specified branch. After removal, the domain can no longer be used as a redirect target after authentication. DELETE /projects/{project_id}/branches/{branch_id}/auth/domains

api
neon_delete_projects_by_project_id_branches_by_branch_id_auth_oauth_providers_by_oauth_provider_idWRITE

Delete OAuth provider. Deletes an OAuth provider from the specified project. DELETE /projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}

api
neon_delete_projects_by_project_id_branches_by_branch_id_auth_users_by_auth_user_idWRITE

Delete auth user. Deletes the specified user from the Neon Auth user directory for the specified branch. Removes the user record from `neon_auth.users_sync`. This action cannot be undone. DELETE /projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}

api
neon_delete_projects_by_project_id_branches_by_branch_id_buckets_by_bucket_nameWRITE

Delete a bucket on the branch. Deletes the named bucket from the specified branch. **Note**: This endpoint is currently in Beta. DELETE /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}

api
neon_delete_projects_by_project_id_branches_by_branch_id_buckets_by_bucket_name_objects_by_object_keyWRITE

Delete an object in a bucket. Deletes the named object from the bucket on the specified branch. Served by the user's session (no customer S3 credentials required). **Note**: This endpoint is currently in Beta. DELETE /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}

api
neon_delete_projects_by_project_id_branches_by_branch_id_buckets_by_bucket_name_objects_by_prefixWRITE

Delete every object under a key prefix (folder) in a bucket. Soft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. DELETE /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects-by-prefix

api
neon_delete_projects_by_project_id_branches_by_branch_id_credentials_by_token_idWRITE

Revoke a credential. Soft-deletes the credential. Idempotent. **Note**: This endpoint is currently in Beta. DELETE /projects/{project_id}/branches/{branch_id}/credentials/{token_id}

api
neon_delete_projects_by_project_id_branches_by_branch_id_custom_domains_by_domainWRITE

Delete a custom domain from a branch. Removes a custom domain registered on the branch and stops routing it. **Note**: This endpoint is currently in Beta. DELETE /projects/{project_id}/branches/{branch_id}/custom-domains/{domain}

api
neon_delete_projects_by_project_id_branches_by_branch_id_data_api_by_database_nameWRITE

Delete Neon Data API. Deletes the Neon Data API for the specified branch. Existing connections using the Data API endpoint will fail after deletion. DELETE /projects/{project_id}/branches/{branch_id}/data-api/{database_name}

api
neon_delete_projects_by_project_id_branches_by_branch_id_databases_by_database_nameWRITE

Delete database. Deletes the specified database from the branch. DELETE /projects/{project_id}/branches/{branch_id}/databases/{database_name}

api
neon_delete_projects_by_project_id_branches_by_branch_id_functions_by_slugWRITE

Delete a function on the branch. Deletes the function identified by its slug. **Note**: This endpoint is currently in Beta. DELETE /projects/{project_id}/branches/{branch_id}/functions/{slug}

api
neon_delete_projects_by_project_id_branches_by_branch_id_roles_by_role_nameWRITE

Delete role. Deletes the specified Postgres role from the branch. DELETE /projects/{project_id}/branches/{branch_id}/roles/{role_name}

api
neon_delete_projects_by_project_id_endpoints_by_endpoint_idWRITE

Delete compute endpoint. Deletes the specified compute endpoint. A compute endpoint is a Neon compute instance. Deleting a compute endpoint drops existing network connections to the compute endpoint. DELETE /projects/{project_id}/endpoints/{endpoint_id}

api
neon_delete_projects_by_project_id_jwks_by_jwks_idWRITE

Delete JWKS URL. Removes the specified JWKS URL from the project. JWTs signed by keys from the removed URL can no longer authenticate to the project's endpoints. DELETE /projects/{project_id}/jwks/{jwks_id}

api
neon_delete_projects_by_project_id_members_by_member_id_roleWRITE

Remove an org member's role on a project. Idempotently removes the explicit project grant. The member's organization-role default project permission still applies. DELETE /projects/{project_id}/members/{member_id}/role

api
neon_delete_projects_by_project_id_permissions_by_permission_idWRITE

Revoke project access. Revokes project access from the user associated with the specified permission `id`. You can retrieve a user's permission `id` by listing project access. DELETE /projects/{project_id}/permissions/{permission_id}

api
neon_delete_projects_by_project_id_snapshots_by_snapshot_idWRITE

Delete snapshot. Deletes the specified snapshot. DELETE /projects/{project_id}/snapshots/{snapshot_id}

api
neon_delete_projects_by_project_id_vpc_endpoints_by_vpc_endpoint_idWRITE

Delete VPC endpoint restriction. Removes the specified VPC endpoint restriction from a Neon project. DELETE /projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}

api
neon_get_api_keysREAD

List API keys. Retrieves the API keys for your Neon account. The response does not include API key tokens. A token is only provided when creating an API key. API keys can also be managed in the Neon Console. GET /api_keys

api
neon_get_authREAD

Retrieve request authentication details. Returns authentication details for the credentials used in the request, including the credential type (API key, Bearer token, or OAuth session) and the associated identity. GET /auth

api
neon_get_consumption_history_projectsREAD

Retrieve project consumption metrics (legacy plans). Retrieves consumption metrics for Scale, Business, and Enterprise plan projects. History begins at the time of upgrade. Results are ordered by time in ascending order (oldest to newest). GET /consumption_history/projects

api
neon_get_consumption_history_v2_branchesREAD

Retrieve branch consumption metrics. Returns consumption metrics for each branch across one or more projects listed in `project_ids` (1 to 100 projects). GET /consumption_history/v2/branches

api
neon_get_consumption_history_v2_projectsREAD

Retrieve project consumption metrics. Returns consumption metrics for up to `limit` projects per page. If `project_ids` is omitted, projects in the organization are included across pages (use `cursor`). GET /consumption_history/v2/projects

api
neon_get_organizations_by_org_idREAD

Retrieve organization details. Retrieves details for the specified organization, including its name, plan, and configuration. GET /organizations/{org_id}

api
neon_get_organizations_by_org_id_api_keysREAD

List organization API keys. Retrieves the API keys for the specified organization. The response does not include API key tokens. A token is only provided when creating an API key. GET /organizations/{org_id}/api_keys

api
neon_get_organizations_by_org_id_billing_spending_limitREAD

Retrieve organization spending limit. Returns the configured monthly spending limit for the specified organization. `spending_limit_cents: null` indicates that no limit is currently set. GET /organizations/{org_id}/billing/spending_limit

api
neon_get_organizations_by_org_id_invitationsREAD

List organization invitations. Retrieves pending and accepted invitations for the specified organization. GET /organizations/{org_id}/invitations

api
neon_get_organizations_by_org_id_membersREAD

List organization members. Retrieves a paginated list of members for the specified organization. GET /organizations/{org_id}/members

api
neon_get_organizations_by_org_id_members_by_member_idREAD

Retrieve organization member details. Retrieves information about the specified organization member. GET /organizations/{org_id}/members/{member_id}

api
neon_get_organizations_by_org_id_vpc_region_by_region_id_vpc_endpointsREAD

List VPC endpoints. Retrieves the list of VPC endpoints for the specified Neon organization. GET /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints

api
neon_get_organizations_by_org_id_vpc_region_by_region_id_vpc_endpoints_by_vpc_endpoint_idREAD

Retrieve VPC endpoint details. Retrieves the current state and configuration details of a specified VPC endpoint. GET /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}

api
neon_get_organizations_by_org_id_vpc_vpc_endpointsREAD

List VPC endpoints across all regions. Retrieves the list of VPC endpoints for the specified Neon organization across all regions. GET /organizations/{org_id}/vpc/vpc_endpoints

api
neon_get_projectsREAD

List projects. Retrieves a list of projects for the specified organization. If using a personal API key, include the `org_id` parameter to specify which organization to work with. GET /projects

api
neon_get_projects_by_project_idREAD

Retrieve project details. Retrieves information about the specified project. Returned details include the project settings, compute configuration, history retention, owner information, and current usage metrics. GET /projects/{project_id}

api
neon_get_projects_by_project_id_advisorsREAD

Get advisor issues. Analyzes the database for security and performance issues. Returns a list of issues categorized by severity (ERROR, WARN, INFO). Requires read access to the project and Data API enabled. GET /projects/{project_id}/advisors

api
neon_get_projects_by_project_id_auth_domainsREAD

List trusted redirect URI domains. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026. GET /projects/{project_id}/auth/domains

api
neon_get_projects_by_project_id_auth_email_serverREAD

Retrieve email server configuration. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026. GET /projects/{project_id}/auth/email_server

api
neon_get_projects_by_project_id_auth_integrationsREAD

List active integrations with auth providers. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026. GET /projects/{project_id}/auth/integrations

api
neon_get_projects_by_project_id_auth_oauth_providersREAD

List OAuth providers. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026. GET /projects/{project_id}/auth/oauth_providers

api
neon_get_projects_by_project_id_available_preload_librariesREAD

List available shared preload libraries. Returns the shared preload libraries available for the specified project's Postgres version. GET /projects/{project_id}/available_preload_libraries

api
neon_get_projects_by_project_id_branchesREAD

List branches. Retrieves a list of branches for the specified project. Each Neon project has a root branch named `main`. A `branch_id` value has a `br-` prefix. GET /projects/{project_id}/branches

api
neon_get_projects_by_project_id_branches_by_branch_idREAD

Retrieve branch details. Retrieves information about the specified branch. A `branch_id` value has a `br-` prefix. Each Neon project is initially created with a root and default branch named `main`. GET /projects/{project_id}/branches/{branch_id}

api
neon_get_projects_by_project_id_branches_by_branch_id_ai_gatewayREAD

Get branch AI Gateway endpoint. Returns the AI Gateway endpoint host for the specified branch, used to render code-snippet base URLs. A 200 response means the branch is registered and this region serves the AI gateway. GET /projects/{project_id}/branches/{branch_id}/ai_gateway

api
neon_get_projects_by_project_id_branches_by_branch_id_anonymized_statusREAD

Retrieve anonymized branch status. Retrieves the current status of an anonymized branch, including its state and progress information. GET /projects/{project_id}/branches/{branch_id}/anonymized_status

api
neon_get_projects_by_project_id_branches_by_branch_id_authREAD

Retrieve Neon Auth details for the branch. Retrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status. GET /projects/{project_id}/branches/{branch_id}/auth

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_allow_localhostREAD

Retrieve localhost allow setting. Retrieves the localhost allow setting for the specified branch's Neon Auth integration. When enabled, authentication flows work from `localhost` without adding it to the redirect URI whitelist. GET /projects/{project_id}/branches/{branch_id}/auth/allow_localhost

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_domainsREAD

List domains in redirect_uri whitelist. Lists the trusted domains in the redirect URI whitelist for the specified branch. Only domains in this list are permitted as redirect targets after authentication. GET /projects/{project_id}/branches/{branch_id}/auth/domains

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_email_and_passwordREAD

Retrieve email and password configuration. Retrieves the email and password authentication configuration for the specified branch's Neon Auth integration, including whether it is enabled and the email verification method. GET /projects/{project_id}/branches/{branch_id}/auth/email_and_password

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_email_providerREAD

Retrieve email provider configuration. Retrieves the email provider configuration for the specified branch's Neon Auth integration, including the provider type and server settings. GET /projects/{project_id}/branches/{branch_id}/auth/email_provider

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_oauth_providersREAD

List OAuth providers for the branch. Lists the OAuth providers configured for the specified branch's Neon Auth integration. GET /projects/{project_id}/branches/{branch_id}/auth/oauth_providers

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_pluginsREAD

Retrieve Neon Auth plugin configurations. Returns all plugin configurations for Neon Auth in a single response. This endpoint aggregates organization, email provider, email and password, OAuth providers, and localhost settings. GET /projects/{project_id}/branches/{branch_id}/auth/plugins

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_plugins_phone_numberREAD

Retrieve phone number plugin configuration. Returns the phone number plugin configuration for Neon Auth. The phone number plugin enables phone-based OTP authentication. GET /projects/{project_id}/branches/{branch_id}/auth/plugins/phone-number

api
neon_get_projects_by_project_id_branches_by_branch_id_auth_webhooksREAD

Retrieve Neon Auth webhook configuration. Returns the webhook configuration for the specified branch's Neon Auth integration, including the endpoint URL and the events that trigger it. GET /projects/{project_id}/branches/{branch_id}/auth/webhooks

api
neon_get_projects_by_project_id_branches_by_branch_id_backup_scheduleREAD

Retrieve backup schedule. Returns the backup schedule for the specified branch, including the configured snapshot frequencies. GET /projects/{project_id}/branches/{branch_id}/backup_schedule

api
neon_get_projects_by_project_id_branches_by_branch_id_bucketsREAD

List buckets on the branch. Lists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/buckets

api
neon_get_projects_by_project_id_branches_by_branch_id_buckets_by_bucket_name_objectsREAD

List objects in a bucket. Lists objects visible in the named bucket on the specified branch, including those inherited from ancestor branches. Listing is served by the user's session (no customer S3 credentials required). GET /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects

api
neon_get_projects_by_project_id_branches_by_branch_id_compare_schemaREAD

Compare database schema. Compares the schema from the specified database with another branch's schema. GET /projects/{project_id}/branches/{branch_id}/compare_schema

api
neon_get_projects_by_project_id_branches_by_branch_id_credentialsREAD

List credentials on the branch. Returns metadata for customer-issued credentials on the branch. Secrets are never included. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/credentials

api
neon_get_projects_by_project_id_branches_by_branch_id_custom_domainsREAD

List the custom domains on a branch. Lists all custom domains registered on the branch, across every target entity. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/custom-domains

api
neon_get_projects_by_project_id_branches_by_branch_id_data_api_by_database_nameREAD

Retrieve Neon Data API configuration. Retrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings. GET /projects/{project_id}/branches/{branch_id}/data-api/{database_name}

api
neon_get_projects_by_project_id_branches_by_branch_id_databasesREAD

List databases. Retrieves a list of databases for the specified branch. A branch can have multiple databases. GET /projects/{project_id}/branches/{branch_id}/databases

api
neon_get_projects_by_project_id_branches_by_branch_id_databases_by_database_nameREAD

Retrieve database details. Retrieves information about the specified database. GET /projects/{project_id}/branches/{branch_id}/databases/{database_name}

api
neon_get_projects_by_project_id_branches_by_branch_id_endpointsREAD

List branch endpoints. Retrieves a list of compute endpoints for the specified branch. Neon permits only one read-write compute endpoint per branch. A branch can have multiple read-only compute endpoints. GET /projects/{project_id}/branches/{branch_id}/endpoints

api
neon_get_projects_by_project_id_branches_by_branch_id_functionsREAD

List functions on the branch. Lists functions on the specified branch. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/functions

api
neon_get_projects_by_project_id_branches_by_branch_id_functions_by_slugREAD

Get function details. Returns the function identified by its slug. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/functions/{slug}

api
neon_get_projects_by_project_id_branches_by_branch_id_logs_fieldsREAD

List branch log fields. Lists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint. GET /projects/{project_id}/branches/{branch_id}/logs/fields

api
neon_get_projects_by_project_id_branches_by_branch_id_logs_fields_by_field_name_valuesREAD

List branch log field values. Lists the distinct values observed for a low-cardinality log field in the requested time range. GET /projects/{project_id}/branches/{branch_id}/logs/fields/{field_name}/values

api
neon_get_projects_by_project_id_branches_by_branch_id_masking_rulesREAD

Retrieve masking rules. Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. **Note**: This endpoint is currently in Beta. GET /projects/{project_id}/branches/{branch_id}/masking_rules

api
neon_get_projects_by_project_id_branches_by_branch_id_rolesREAD

List roles. Retrieves a list of Postgres roles from the specified branch. GET /projects/{project_id}/branches/{branch_id}/roles

api
neon_get_projects_by_project_id_branches_by_branch_id_roles_by_role_nameREAD

Retrieve role details. Retrieves details about the specified role. In Neon, the terms "role" and "user" are synonymous. GET /projects/{project_id}/branches/{branch_id}/roles/{role_name}

api
neon_get_projects_by_project_id_branches_by_branch_id_roles_by_role_name_reveal_passwordREAD

Retrieve role password. Retrieves the password for the specified Postgres role, if possible. GET /projects/{project_id}/branches/{branch_id}/roles/{role_name}/reveal_password

api
neon_get_projects_by_project_id_branches_by_branch_id_schemaREAD

Retrieve database schema. Retrieves the database schema. Specify `lsn` or `timestamp` (not both) to read at a point in time; omit both to read from the database's head. GET /projects/{project_id}/branches/{branch_id}/schema

api
neon_get_projects_by_project_id_branches_by_branch_id_storageREAD

Get branch object storage state. Returns whether branchable object storage is usable for the specified branch. GET /projects/{project_id}/branches/{branch_id}/storage

api
neon_get_projects_by_project_id_branches_countREAD

Retrieve number of branches. Retrieves the total number of branches in the specified project. Supports an optional `search` parameter to count branches matching a name filter. GET /projects/{project_id}/branches/count

api
neon_get_projects_by_project_id_connection_uriREAD

Retrieve connection URI. Retrieves a connection URI for the specified database. The URI uses the standard PostgreSQL connection string format. Set `pooled=true` to include the `-pooler` suffix for a connection pooler URI. GET /projects/{project_id}/connection_uri

api
neon_get_projects_by_project_id_endpointsREAD

List compute endpoints. Retrieves a list of compute endpoints for the specified project. A compute endpoint is a Neon compute instance. GET /projects/{project_id}/endpoints

api
neon_get_projects_by_project_id_endpoints_by_endpoint_idREAD

Retrieve compute endpoint details. Retrieves information about the specified compute endpoint. A compute endpoint is a Neon compute instance. An `endpoint_id` has an `ep-` prefix. GET /projects/{project_id}/endpoints/{endpoint_id}

api
neon_get_projects_by_project_id_jwksREAD

List JWKS URLs. Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project. GET /projects/{project_id}/jwks

api
neon_get_projects_by_project_id_membersREAD

List org members and their project roles. Lists organization members and their per-project roles for an org-owned project. Returns 404 when the project is not org-owned, per-project role management is disabled, or the caller has no access. GET /projects/{project_id}/members

api
neon_get_projects_by_project_id_operationsREAD

List operations. Retrieves a list of operations for the specified Neon project. The number of operations returned can be large. To paginate the response, issue an initial request with a `limit` value. GET /projects/{project_id}/operations

api
neon_get_projects_by_project_id_operations_by_operation_idREAD

Retrieve operation details. Retrieves details for the specified operation. An operation is an action performed on a Neon project resource. GET /projects/{project_id}/operations/{operation_id}

api
neon_get_projects_by_project_id_permissionsREAD

List project access. Retrieves details about users who have access to the project, including the permission `id`, the granted-to email address, and the date project access was granted. GET /projects/{project_id}/permissions

api
neon_get_projects_by_project_id_snapshotsREAD

List project snapshots. Lists the snapshots for the specified project. Each snapshot represents a point-in-time backup of the project data. GET /projects/{project_id}/snapshots

api
neon_get_projects_by_project_id_vpc_endpointsREAD

List VPC endpoint restrictions. Lists VPC endpoint restrictions for the specified Neon project. GET /projects/{project_id}/vpc_endpoints

api
neon_get_projects_sharedREAD

List shared projects. Retrieves a list of projects shared with your Neon account. GET /projects/shared

api
neon_get_regionsREAD

List supported regions. Lists supported Neon regions. **Note:** Not all regions are available to all organizations. Pass the `org_id` parameter to get an accurate list of regions available to your organization. GET /regions

api
neon_get_users_meREAD

Retrieve current user details. Retrieves information about the currently authenticated Neon user, including account identifiers, plan details, and linked auth accounts. GET /users/me

api
neon_get_users_me_organizationsREAD

List organizations for the current user. Retrieves the organizations that the currently authenticated user belongs to. GET /users/me/organizations

api
neon_patch_organizations_by_org_id_members_by_member_idWRITE

Update role for organization member. Updates the role of an existing member in the specified organization. The requested role must be valid for the organization. Only organization admins can call this endpoint. PATCH /organizations/{org_id}/members/{member_id}

api
neon_patch_projects_by_project_idWRITE

Update project. Updates the specified project. Configurable properties include the project name, default compute settings, history retention period, and IP allowlist. PATCH /projects/{project_id}

api
neon_patch_projects_by_project_id_auth_email_serverWRITE

Update email server configuration. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026. PATCH /projects/{project_id}/auth/email_server

api
neon_patch_projects_by_project_id_auth_oauth_providers_by_oauth_provider_idWRITE

Update OAuth provider. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026. PATCH /projects/{project_id}/auth/oauth_providers/{oauth_provider_id}

api
neon_patch_projects_by_project_id_branches_by_branch_idWRITE

Update branch. Updates the specified branch. PATCH /projects/{project_id}/branches/{branch_id}

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_allow_localhostWRITE

Update localhost allow setting. Updates the localhost allow setting for the specified branch's Neon Auth integration. When enabled, authentication flows work from `localhost` without adding it to the redirect URI whitelist. PATCH /projects/{project_id}/branches/{branch_id}/auth/allow_localhost

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_configWRITE

Update auth configuration. Updates the auth configuration for the branch. Currently supports updating the application name used in auth emails. PATCH /projects/{project_id}/branches/{branch_id}/auth/config

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_email_and_passwordWRITE

Update email and password configuration. Updates the email and password authentication configuration for the specified branch's Neon Auth integration. Only the fields provided in the request body are updated. PATCH /projects/{project_id}/branches/{branch_id}/auth/email_and_password

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_email_providerWRITE

Update email provider configuration. Updates the email provider configuration for the specified branch's Neon Auth integration. The email provider handles transactional messages such as verification emails and password reset links. PATCH /projects/{project_id}/branches/{branch_id}/auth/email_provider

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_oauth_providers_by_oauth_provider_idWRITE

Update OAuth provider. Updates an OAuth provider for the specified project. PATCH /projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_plugins_magic_linkWRITE

Update magic link plugin configuration. Updates the magic link plugin configuration for Neon Auth. The magic link plugin enables passwordless authentication via email magic links. PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/magic-link

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_plugins_organizationWRITE

Update organization plugin configuration. Updates the organization plugin configuration for Neon Auth. The organization plugin enables multi-tenant organization support. PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/organization

api
neon_patch_projects_by_project_id_branches_by_branch_id_auth_plugins_phone_numberWRITE

Update phone number plugin configuration. Updates the phone number plugin configuration for Neon Auth. Only the fields provided in the request body are updated; omitted fields retain their current values. PATCH /projects/{project_id}/branches/{branch_id}/auth/plugins/phone-number

api
neon_patch_projects_by_project_id_branches_by_branch_id_data_api_by_database_nameWRITE

Update Neon Data API. Updates the Neon Data API configuration for the specified branch. You can optionally provide settings to update the Data API configuration. PATCH /projects/{project_id}/branches/{branch_id}/data-api/{database_name}

api
neon_patch_projects_by_project_id_branches_by_branch_id_databases_by_database_nameWRITE

Update database. Updates the specified database in the branch. PATCH /projects/{project_id}/branches/{branch_id}/databases/{database_name}

api
neon_patch_projects_by_project_id_branches_by_branch_id_functions_by_slugWRITE

Update a function. Updates the function's mutable metadata — currently only the display `name`. A string sets the display name; `null` clears it, after which the function's `name` falls back to its slug. PATCH /projects/{project_id}/branches/{branch_id}/functions/{slug}

api
neon_patch_projects_by_project_id_branches_by_branch_id_masking_rulesWRITE

Update masking rules. Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. **Note**: This endpoint is currently in Beta. PATCH /projects/{project_id}/branches/{branch_id}/masking_rules

api
neon_patch_projects_by_project_id_endpoints_by_endpoint_idWRITE

Update compute endpoint. Updates the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. A `branch_id` has a `br-` prefix. PATCH /projects/{project_id}/endpoints/{endpoint_id}

api
neon_patch_projects_by_project_id_snapshots_by_snapshot_idWRITE

Update snapshot. Updates the specified snapshot. PATCH /projects/{project_id}/snapshots/{snapshot_id}

api
neon_post_api_keysWRITE

Create API key. Creates an API key. The `key_name` is a user-specified name for the key. Returns an `id` and `key`; the `key` is a randomly generated, 64-bit token required to access the Neon API. POST /api_keys

api
neon_post_organizations_by_org_id_api_keysWRITE

Create organization API key. Creates an API key for the specified organization. The `key_name` is a user-specified name for the key. POST /organizations/{org_id}/api_keys

api
neon_post_organizations_by_org_id_invitationsWRITE

Create organization invitations. Creates invitations for a specific organization. If the invited user has an existing account, they automatically join as a member. POST /organizations/{org_id}/invitations

api
neon_post_organizations_by_org_id_vpc_region_by_region_id_vpc_endpoints_by_vpc_endpoint_idWRITE

Assign or update VPC endpoint. Assigns a VPC endpoint to a Neon organization or updates its existing assignment. POST /organizations/{org_id}/vpc/region/{region_id}/vpc_endpoints/{vpc_endpoint_id}

api
neon_post_organizations_by_source_org_id_projects_transferWRITE

Transfer projects between organizations. Transfers selected projects, identified by their IDs, from your organization to another specified organization. POST /organizations/{source_org_id}/projects/transfer

api
neon_post_projectsWRITE

Create project. Creates a Neon project within an organization. If using a personal API key, include the `org_id` parameter to specify which organization to create the project in. POST /projects

api
neon_post_projects_auth_createWRITE

Create Neon Auth integration. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026. Use this endpoint if the frontend integration flow can't be used. POST /projects/auth/create

api
neon_post_projects_auth_keysWRITE

Create Auth Provider SDK keys. Generates SDK or API Keys for the auth provider. POST /projects/auth/keys

api
neon_post_projects_auth_transfer_ownershipWRITE

Transfer Neon-managed auth project to your own account. Transfers ownership of your Neon-managed auth project to your own auth provider account. POST /projects/auth/transfer_ownership

api
neon_post_projects_auth_userWRITE

Create new auth user. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users` instead. Removal scheduled for March 1, 2026. POST /projects/auth/user

api
neon_post_projects_by_project_id_auth_domainsWRITE

Add trusted redirect URI domain. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026. POST /projects/{project_id}/auth/domains

api
neon_post_projects_by_project_id_auth_oauth_providersWRITE

Add an OAuth provider. Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026. POST /projects/{project_id}/auth/oauth_providers

api
neon_post_projects_by_project_id_branch_anonymizedWRITE

Create anonymized branch. Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. This allows developers to work with masked production data. POST /projects/{project_id}/branch_anonymized

api
neon_post_projects_by_project_id_branchesWRITE

Create branch. Creates a branch in the specified project. No request body is required, but you can specify one to create a compute endpoint or select a non-default parent branch. POST /projects/{project_id}/branches

api
neon_post_projects_by_project_id_branches_by_branch_id_anonymizeWRITE

Start anonymization. Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. POST /projects/{project_id}/branches/{branch_id}/anonymize

api
neon_post_projects_by_project_id_branches_by_branch_id_authWRITE

Enable Neon Auth for the branch. Enables Neon Auth for the specified branch by connecting it to an authentication provider. POST /projects/{project_id}/branches/{branch_id}/auth

api
neon_post_projects_by_project_id_branches_by_branch_id_auth_domainsWRITE

Add domain to redirect_uri whitelist. Adds a domain to the redirect URI whitelist for the specified branch. Only domains in this list are permitted as redirect targets after authentication. POST /projects/{project_id}/branches/{branch_id}/auth/domains

api
neon_post_projects_by_project_id_branches_by_branch_id_auth_email_provider_testWRITE

Send test email using the saved email provider. Sends a test email using the branch's already-saved custom SMTP configuration. POST /projects/{project_id}/branches/{branch_id}/auth/email_provider/test

api
neon_post_projects_by_project_id_branches_by_branch_id_auth_oauth_providersWRITE

Add an OAuth provider. Adds an OAuth provider configuration to the specified branch's Neon Auth integration. After adding, users can authenticate using the configured provider. POST /projects/{project_id}/branches/{branch_id}/auth/oauth_providers

api
neon_post_projects_by_project_id_branches_by_branch_id_auth_send_test_emailWRITE

Send test email. Sends a test email using the SMTP server settings supplied in the request body to verify connectivity and credentials. Deprecated: to test a branch's already-saved configuration, use `sendNeonAuthEmailProviderTest`, which reuses the stored SMTP password server-side so the caller never has to re-supply (or be able to read) it. POST /projects/{project_id}/branches/{branch_id}/auth/send_test_email

api
neon_post_projects_by_project_id_branches_by_branch_id_auth_usersWRITE

Create new auth user. Creates a new user in the Neon Auth user directory for the specified branch. POST /projects/{project_id}/branches/{branch_id}/auth/users

api
neon_post_projects_by_project_id_branches_by_branch_id_bucketsWRITE

Create a bucket on the branch. Creates a new branchable object storage bucket on the specified branch. Buckets are managed by the Neon Platform branchable object storage service. **Note**: This endpoint is currently in Beta. POST /projects/{project_id}/branches/{branch_id}/buckets

api
neon_post_projects_by_project_id_branches_by_branch_id_buckets_by_bucket_name_objects_by_object_key_presignWRITE

Presign an upload or download for an object in a bucket. Returns a presigned URL that transfers bytes directly to or from the object's bucket on the specified branch, without the caller ever handling S3 credentials. POST /projects/{project_id}/branches/{branch_id}/buckets/{bucket_name}/objects/{object_key}/presign

api
neon_post_projects_by_project_id_branches_by_branch_id_credentialsWRITE

Issue a scoped credential on the branch. Issues a new scoped service credential anchored to the specified branch. The response carries `api_token` and `s3_secret_access_key` exactly once — they are not stored server-side. POST /projects/{project_id}/branches/{branch_id}/credentials

api
neon_post_projects_by_project_id_branches_by_branch_id_credentials_by_token_id_revealWRITE

Reveal a credential's secrets. Returns the live `api_token` and `s3_secret_access_key` of an existing credential, so a credential whose issuance response was lost can be recovered without minting a new one. POST /projects/{project_id}/branches/{branch_id}/credentials/{token_id}/reveal

api
neon_post_projects_by_project_id_branches_by_branch_id_credentials_by_token_id_rotateWRITE

Rotate a credential's secrets. Replaces the secret material on an existing scoped credential in place. POST /projects/{project_id}/branches/{branch_id}/credentials/{token_id}/rotate

api
neon_post_projects_by_project_id_branches_by_branch_id_custom_domainsWRITE

Register a custom domain on a branch. Registers a customer-owned domain (for example `dashboard.acme.com`) on the branch and points it at a target entity, chosen by `entity_type` + `entity_id`. POST /projects/{project_id}/branches/{branch_id}/custom-domains

api
neon_post_projects_by_project_id_branches_by_branch_id_data_api_by_database_nameWRITE

Create Neon Data API. Creates a new instance of Neon Data API in the specified branch. The Data API exposes a REST interface over the branch database. POST /projects/{project_id}/branches/{branch_id}/data-api/{database_name}

api
neon_post_projects_by_project_id_branches_by_branch_id_databasesWRITE

Create database. Creates a database in the specified branch. A branch can have multiple databases. POST /projects/{project_id}/branches/{branch_id}/databases

api
neon_post_projects_by_project_id_branches_by_branch_id_finalize_restoreWRITE

Finalize branch restore from snapshot. Finalize the restore operation for a branch created from a snapshot. This operation updates the branch so it functions as the original branch it replaced. POST /projects/{project_id}/branches/{branch_id}/finalize_restore

api
neon_post_projects_by_project_id_branches_by_branch_id_logs_queryWRITE

Query branch logs. Returns logs emitted by services running on the specified branch, ordered by timestamp according to `sort_order`. POST /projects/{project_id}/branches/{branch_id}/logs/query

api
neon_post_projects_by_project_id_branches_by_branch_id_restoreWRITE

Restore branch to a historical state. Restores a branch to an earlier state in its own or another branch's history by specifying an LSN or timestamp. Creates a new branch from the historical state. POST /projects/{project_id}/branches/{branch_id}/restore

api
neon_post_projects_by_project_id_branches_by_branch_id_rolesWRITE

Create role. Creates a Postgres role in the specified branch. Connections established to the active compute endpoint will be dropped. POST /projects/{project_id}/branches/{branch_id}/roles

api
neon_post_projects_by_project_id_branches_by_branch_id_roles_by_role_name_reset_passwordWRITE

Reset role password. Resets the password for the specified Postgres role. Returns a new password and operations. The new password is ready to use when the last operation finishes. POST /projects/{project_id}/branches/{branch_id}/roles/{role_name}/reset_password

api
neon_post_projects_by_project_id_branches_by_branch_id_set_as_defaultWRITE

Set branch as default. Sets the specified branch as the project's default branch. The default designation is automatically removed from the previous default branch. POST /projects/{project_id}/branches/{branch_id}/set_as_default

api
neon_post_projects_by_project_id_branches_by_branch_id_snapshotWRITE

Create snapshot. Creates a snapshot from the specified branch. This operation may initiate an asynchronous process. POST /projects/{project_id}/branches/{branch_id}/snapshot

api
neon_post_projects_by_project_id_endpointsWRITE

Create compute endpoint. Creates a compute endpoint for the specified branch. A compute endpoint is a Neon compute instance. There is a maximum of one read-write compute endpoint per branch. POST /projects/{project_id}/endpoints

api
neon_post_projects_by_project_id_endpoints_by_endpoint_id_restartWRITE

Restart compute endpoint. Restarts the specified compute endpoint by immediately suspending it and then starting it again. An `endpoint_id` has an `ep-` prefix. POST /projects/{project_id}/endpoints/{endpoint_id}/restart

api
neon_post_projects_by_project_id_endpoints_by_endpoint_id_startWRITE

Start compute endpoint. Starts a compute endpoint. The compute endpoint is ready to use after the last operation in the chain finishes successfully. An `endpoint_id` has an `ep-` prefix. POST /projects/{project_id}/endpoints/{endpoint_id}/start

api
neon_post_projects_by_project_id_endpoints_by_endpoint_id_suspendWRITE

Suspend compute endpoint. Suspends the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. POST /projects/{project_id}/endpoints/{endpoint_id}/suspend

api
neon_post_projects_by_project_id_jwksWRITE

Add JWKS URL. Adds a JWKS URL to the specified project for verifying JWTs used as the authentication mechanism. The URL must be a valid HTTPS URL that returns a JSON Web Key Set. POST /projects/{project_id}/jwks

api
neon_post_projects_by_project_id_permissionsWRITE

Grant project access. Grants project access to the account associated with the specified email address. POST /projects/{project_id}/permissions

api
neon_post_projects_by_project_id_recoverWRITE

Recover a deleted project. Recovers a deleted project within the 7-day deletion recovery period. Restores branches, endpoints, settings, and connection strings. Some integrations require manual reconfiguration after recovery. POST /projects/{project_id}/recover

api
neon_post_projects_by_project_id_snapshots_by_snapshot_id_restoreWRITE

Restore snapshot. Restores the specified snapshot to a new branch, and optionally finalizes the restore operation to replace the original branch. POST /projects/{project_id}/snapshots/{snapshot_id}/restore

api
neon_post_projects_by_project_id_transfer_requestsWRITE

Create a project transfer request. Creates a transfer request for the specified project. The request expires after a set period. POST /projects/{project_id}/transfer_requests

api
neon_post_projects_by_project_id_vpc_endpoints_by_vpc_endpoint_idWRITE

Set VPC endpoint restriction. Sets or updates a VPC endpoint restriction for a Neon project. When a VPC endpoint restriction is set, the project only accepts connections from the specified VPC. POST /projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}

api
neon_post_users_me_projects_transferWRITE

Transfer projects from personal account to organization. Deprecated. Personal accounts have been migrated to organizations, so this operation no longer applies. Removal scheduled for July 1, 2026. POST /users/me/projects/transfer

api
neon_put_organizations_by_org_id_billing_spending_limitWRITE

Set organization spending limit. Sets the monthly spending limit for the specified organization. To remove a previously configured limit, send a DELETE request to this endpoint. PUT /organizations/{org_id}/billing/spending_limit

api
neon_put_projects_by_project_id_branches_by_branch_id_auth_users_by_auth_user_id_roleWRITE

Update auth user role. Updates the role of a user in the Neon Auth user directory for the specified branch. The role controls the user's level of access within the Neon Auth integration. PUT /projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}/role

api
neon_put_projects_by_project_id_branches_by_branch_id_auth_webhooksWRITE

Update Neon Auth webhook configuration. Updates the webhook configuration for the specified branch's Neon Auth integration. Webhooks notify an external endpoint when auth events occur, such as user creation or sign-in. PUT /projects/{project_id}/branches/{branch_id}/auth/webhooks

api
neon_put_projects_by_project_id_branches_by_branch_id_backup_scheduleWRITE

Update backup schedule. Updates the backup schedule for the specified branch. The schedule defines how often automatic snapshots are created (for example, `daily` or `weekly`). Requires a paid plan. PUT /projects/{project_id}/branches/{branch_id}/backup_schedule

api
neon_put_projects_by_project_id_members_by_member_id_roleWRITE

Set an org member's role on a project. Idempotently sets or updates the explicit project grant of the specified org member. Self-demotion requires `confirm_self_demotion=true`. PUT /projects/{project_id}/members/{member_id}/role

api
neon_put_projects_by_project_id_transfer_requests_by_request_idWRITE

Accept a project transfer request. Accepts a transfer request for the specified project, transferring it to the specified organization or user. PUT /projects/{project_id}/transfer_requests/{request_id}

api

Put Neon behind one governed endpoint.

Same permissions, same audit trail, whatever else you connect next.