Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List shared projects
NEON_LIST_SHARED_PROJECTSLists Neon Postgres projects shared with the authenticated account. Supports filtering by project name or ID and cursor pagination with 1 to 400 projects per page. This read-only action does not manage shared projects.
List user organizations
NEON_LIST_USER_ORGANIZATIONSLists organizations the currently authenticated user belongs to. With an organization- or project-scoped API key, lists only the organization that owns the key. The response does not include pending invitations.
List VPC endpoints for organization
NEON_LIST_VPC_ENDPOINTSLists VPC endpoints for a Neon organization across all regions, including each endpoint's ID, label, and region.
List VPC region endpoints
NEON_LIST_VPC_REGION_ENDPOINTSLists VPC endpoints for a Neon organization in one region, including each endpoint's ID and label. This read-only action does not return full endpoint state or restricted-project details and does not modify endpoints.
Reset role password for branch
NEON_RESET_ROLE_PASSWORD_FOR_BRANCHResets the password for a PostgreSQL role on a specific Neon branch and generates a new password. Use this when credentials need to be rotated for security purposes (e.g., employee offboarding, suspected compromise, or routine security practices). The response includes the new password - store it securely as it cannot be retrieved later. The new password becomes active once the triggered 'apply_config' operation completes; the old password remains valid until then. Note: This is a destructive operation that invalidates the current password.
Restart project endpoint
NEON_RESTART_PROJECT_ENDPOINTRestarts a Neon compute endpoint (Postgres instance) within a project. The restart operation suspends and then starts the compute endpoint, which is useful for: - Applying configuration changes - Clearing cached data or connections - Troubleshooting connection or performance issues - Recovering from error states The operation triggers two sequential actions: 'suspend_compute' followed by 'start_compute'. During restart, the endpoint will be briefly unavailable. The response includes the updated endpoint details and the operations triggered. Note: If the endpoint is in a 'locked' state (HTTP 423) due to an ongoing operation, wait for it to complete before retrying. If the endpoint is 'idle', it will be started directly without suspension.
Restore project branch
NEON_RESTORE_PROJECT_BRANCHRestores a branch from another point in its own or another branch's history, replacing the target branch's current data and creating a branch for the restored state. This is destructive: never run it autonomously; always ask the user for confirmation first. Use preserve_under_name to retain the target's current state; it is required for self-restores and targets with child branches, whose children are moved to the preserved branch.
Restore snapshot to new branch
NEON_RESTORE_SNAPSHOTRestores a snapshot by creating a new preview branch. By default, the original branch and its computes are unchanged so the restored data can be inspected. When finalize_restore is true, the restore is finalized immediately: the new branch replaces the target branch and associated computes move to it. This replacement is destructive and should be confirmed with the user. This endpoint is currently in Beta.
Reveal role password in branch
NEON_REVEAL_ROLE_PASSWORD_IN_BRANCHReveals the password for a specific role within a branch of a Neon project. This endpoint is used when you need to retrieve a previously hidden or encrypted password for a database role. It's particularly useful for administrators who need to access or share role credentials securely. The endpoint should be used cautiously, as it exposes sensitive information. It does not modify the password, only retrieves it. Note that frequent use of this endpoint may be logged or restricted for security purposes.
Send auth test email
NEON_SEND_AUTH_TEST_EMAILSends one test email to the specified recipient using the supplied SMTP configuration. Sending is an irreversible external side effect: verify the recipient and SMTP settings before calling. Do not retry after a timeout or other ambiguous failure because the first email may already have been sent.
Send organization invitations
NEON_SEND_ORGANIZATION_INVITATIONSInvites one or more people to a Neon organization with assigned roles. Existing Neon users join automatically; people without accounts receive email invitations. These membership and email side effects cannot be recalled. Verify every address and role before calling, and do not retry an ambiguous failure because invitations may already have been processed.
Set branch as default
NEON_SET_BRANCH_AS_DEFAULTSets a specified branch as the default branch for a given project in Neon. This endpoint allows users to designate a particular branch as the primary or main branch for a project, which can be useful for organizing workflows and setting default behaviors. The operation is performed using a POST request, indicating that it modifies the state of the project. Use this endpoint when you need to change the default branch of a project, such as after creating a new branch or deciding to switch the main development focus. It's important to note that this action may affect how other operations interact with the project, as many systems use the default branch as a reference point for various functionalities.
Start branch anonymization
NEON_START_BRANCH_ANONYMIZATIONStarts the Beta anonymization process on an anonymized branch in the `initialized`, `error`, or `anonymized` state. This applies the branch's masking rules and irreversibly changes its database values. Verify the branch and rules before calling. Do not retry an ambiguous failure because the first anonymization run may already have started.
Start endpoint for project
NEON_START_ENDPOINT_FOR_PROJECTStarts a suspended or idle compute endpoint for a Neon PostgreSQL project. Neon compute endpoints automatically suspend after a period of inactivity to save resources. Use this action to wake up a suspended endpoint and make it available for database connections. The endpoint will transition from 'idle' or 'suspended' state to 'active'. If the endpoint is already active, the call is idempotent and returns the current endpoint state with no operations. The response includes the endpoint details and any triggered operations. Note: Endpoint startup typically takes a few seconds.
Suspend project endpoint by id
NEON_SUSPEND_PROJECT_ENDPOINT_BY_IDSuspends a specified Neon project's compute endpoint, helping manage compute resource usage and costs. The response includes endpoint details and any initiated operations.
Transfer projects between organizations
NEON_TRANSFER_PROJECTS_BETWEEN_ORGANIZATIONSTransfers selected projects from one organization to another organization. Use this when you need to move projects between organizations, for example during organizational restructuring or mergers. Note that projects with GitHub or Vercel integrations cannot be transferred and will cause the request to fail. WARNING: The ownership transfer has no inverse endpoint. Verify the source organization, destination organization, and every project ID before calling, and do not retry an ambiguous failure because the transfer may already have completed. Requires the `urn:neoncloud:orgs:delete` OAuth scope on the connection; it is not in the default scope set.
Update auth allow localhost
NEON_UPDATE_AUTH_ALLOW_LOCALHOSTUpdates the localhost allow setting for Neon Auth on a specific branch, enabling or disabling localhost origins for authentication flows.
Update branch auth email provider
NEON_UPDATE_AUTH_EMAIL_PROVIDERUpdates the email provider settings for a Neon Auth branch, including the sender address and name used for authentication emails. Omit SMTP fields to use the shared provider; if supplying SMTP settings, provide the host, port, username, and password together.
Update branch database
NEON_UPDATE_BRANCH_DATABASEUpdates the properties of a specific database within a project branch in the Neon platform. This endpoint allows for partial modifications of database attributes, such as changing its name or owner. It should be used when you need to rename a database or transfer ownership to a different role within the same project and branch. The update is performed using the PATCH method, allowing for selective property changes without affecting unspecified attributes. Note that this operation modifies existing database metadata and does not create new databases or alter the actual data within the database.
Update branches data API
NEON_UPDATE_BRANCHES_DATA_APIUpdates the Neon Data API configuration for the specified branch. Omit all optional settings to refresh only the schema cache. Only settings supplied by the caller are updated.