Neon
The backend for apps and agents. Build with Lakebase Postgres, Auth, Functions, Storage, and an AI Gateway: instant, branchable, serverless.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "NEON_ACCEPT_PROJECT_TRANSFER_REQUEST", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("NEON_ACCEPT_PROJECT_TRANSFER_REQUEST", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute NEON_ACCEPT_PROJECT_TRANSFER_REQUEST --data '{ }'Tool 目录
可用 Tools
167 个可调用操作
Accept a project transfer requestNEON_ACCEPT_PROJECT_TRANSFER_REQUESTAccepts a transfer request for the specified project, transferring it to the specified organization or user. If org_id is not passed, the project will be transferred to the current user or organization account.需要连接
Accepts a transfer request for the specified project, transferring it to the specified organization or user. If org_id is not passed, the project will be transferred to the current user or organization account.
认证
需要 Connected AccountTags
Add an OAuth providerNEON_ADD_BRANCH_NEON_AUTH_OAUTH_PROVIDERAdds an OAuth provider configuration to the specified branch's Neon Auth integration. After adding, users can authenticate using the configured provider.需要连接
Adds an OAuth provider configuration to the specified branch's Neon Auth integration. After adding, users can authenticate using the configured provider.
认证
需要 Connected AccountTags
Add domain to redirect_uri whitelistNEON_ADD_BRANCH_NEON_AUTH_TRUSTED_DOMAINAdds a domain to the redirect URI whitelist for the specified branch. Only domains in this list are permitted as redirect targets after authentication.需要连接
Adds a domain to the redirect URI whitelist for the specified branch. Only domains in this list are permitted as redirect targets after authentication.
认证
需要 Connected AccountTags
Add trusted redirect URI domainNEON_ADD_NEON_AUTH_DOMAIN_TO_REDIRECT_URIWHITELISTDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Add an OAuth providerNEON_ADD_NEON_AUTH_OAUTH_PROVIDERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Add JWKS URLNEON_ADD_PROJECT_JWKSAdds 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. The `provider_name` field allows you to specify which authentication provider you're using (e.g., Clerk, Auth0, AWS Cognito). The `branch_id` scopes the JWKS URL to specific branches; if not specified, it applies to all branches. The `role_names` scopes the URL to specific roles; if not specified, default roles are used (`authenticator`, `authenticated`, `anonymous`). The `jwt_audience` specifies which `aud` values are accepted in JWTs.需要连接
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. The `provider_name` field allows you to specify which authentication provider you're using (e.g., Clerk, Auth0, AWS Cognito). The `branch_id` scopes the JWKS URL to specific branches; if not specified, it applies to all branches. The `role_names` scopes the URL to specific roles; if not specified, default roles are used (`authenticator`, `authenticated`, `anonymous`). The `jwt_audience` specifies which `aud` values are accepted in JWTs.
认证
需要 Connected AccountTags
Assign or update VPC endpointNEON_ASSIGN_ORGANIZATION_VPCENDPOINTAssigns a VPC endpoint to a Neon organization or updates its existing assignment.需要连接
Assigns a VPC endpoint to a Neon organization or updates its existing assignment.
认证
需要 Connected AccountTags
Set VPC endpoint restrictionNEON_ASSIGN_PROJECT_VPCENDPOINTSets 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. A VPC endpoint can be set as a restriction only after it is assigned to the parent organization of the Neon project.需要连接
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. A VPC endpoint can be set as a restriction only after it is assigned to the parent organization of the Neon project.
认证
需要 Connected AccountTags
Retrieve number of branchesNEON_COUNT_PROJECT_BRANCHESRetrieves the total number of branches in the specified project. Supports an optional `search` parameter to count branches matching a name filter.需要连接
Retrieves the total number of branches in the specified project. Supports an optional `search` parameter to count branches matching a name filter.
认证
需要 Connected AccountTags
Create API keyNEON_CREATE_API_KEYCreates 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. Store the key securely — it is only returned once. API keys can also be managed in the Neon Console. See [Manage API keys](https://neon.com/docs/manage/api-keys/).需要连接
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. Store the key securely — it is only returned once. API keys can also be managed in the Neon Console. See [Manage API keys](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
Create new auth userNEON_CREATE_BRANCH_NEON_AUTH_NEW_USERCreates a new user in the Neon Auth user directory for the specified branch. The user is created in the `neon_auth.users_sync` table and can immediately authenticate using the branch's configured auth providers.需要连接
Creates a new user in the Neon Auth user directory for the specified branch. The user is created in the `neon_auth.users_sync` table and can immediately authenticate using the branch's configured auth providers.
认证
需要 Connected AccountTags
Issue a scoped credential on the branchNEON_CREATE_CREDENTIALIssues 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. **Note**: This endpoint is currently in Beta.需要连接
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. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Enable Neon Auth for the branchNEON_CREATE_NEON_AUTHEnables Neon Auth for the specified branch by connecting it to an authentication provider. Creating the integration provisions the `neon_auth` schema in the branch database, which stores user identity data synchronized from the provider.需要连接
Enables Neon Auth for the specified branch by connecting it to an authentication provider. Creating the integration provisions the `neon_auth` schema in the branch database, which stores user identity data synchronized from the provider.
认证
需要 Connected AccountTags
Create Neon Auth integrationNEON_CREATE_NEON_AUTH_INTEGRATIONDeprecated. 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.需要连接
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.
认证
需要 Connected AccountTags
Create new auth userNEON_CREATE_NEON_AUTH_NEW_USERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users` instead. Removal scheduled for March 1, 2026. The user will be created in your neon_auth.users_sync table and automatically propagated to your auth project, whether Neon-managed or provider-owned.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users` instead. Removal scheduled for March 1, 2026. The user will be created in your neon_auth.users_sync table and automatically propagated to your auth project, whether Neon-managed or provider-owned.
认证
需要 Connected AccountTags
Create Auth Provider SDK keysNEON_CREATE_NEON_AUTH_PROVIDER_SDKKEYSGenerates SDK or API Keys for the auth provider. These might be called different things depending on the auth provider you're using, but are generally used for setting up the frontend and backend SDKs.需要连接
Generates SDK or API Keys for the auth provider. These might be called different things depending on the auth provider you're using, but are generally used for setting up the frontend and backend SDKs.
认证
需要 Connected AccountTags
Create organization API keyNEON_CREATE_ORG_API_KEYCreates an API key for the specified organization. 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. Store the key securely — it is only returned once. API keys can also be managed in the Neon Console. See [Manage API keys](https://neon.com/docs/manage/api-keys/).需要连接
Creates an API key for the specified organization. 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. Store the key securely — it is only returned once. API keys can also be managed in the Neon Console. See [Manage API keys](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
Create organization invitationsNEON_CREATE_ORGANIZATION_INVITATIONSCreates invitations for a specific organization. If the invited user has an existing account, they automatically join as a member. If they don't yet have an account, they are invited to create one, after which they become a member. Each invited user receives an email notification.需要连接
Creates invitations for a specific organization. If the invited user has an existing account, they automatically join as a member. If they don't yet have an account, they are invited to create one, after which they become a member. Each invited user receives an email notification.
认证
需要 Connected AccountTags
Create projectNEON_CREATE_PROJECTCreates 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. If using an org API key, `org_id` is automatically inferred from the key. Plan limits define how many projects you can create. For more information, see [Manage projects](https://neon.com/docs/manage/projects/). You can specify a region and Postgres version in the request body. Neon supports Postgres 14 through 18, with 19 rolling out to enabled regions. For supported regions and `region_id` values, see [Regions](https://neon.com/docs/introduction/regions/).需要连接
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. If using an org API key, `org_id` is automatically inferred from the key. Plan limits define how many projects you can create. For more information, see [Manage projects](https://neon.com/docs/manage/projects/). You can specify a region and Postgres version in the request body. Neon supports Postgres 14 through 18, with 19 rolling out to enabled regions. For supported regions and `region_id` values, see [Regions](https://neon.com/docs/introduction/regions/).
认证
需要 Connected AccountTags
Create branchNEON_CREATE_PROJECT_BRANCHCreates 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. By default, the branch is created from the project's default branch with no compute endpoint, and the branch name is auto-generated. To access the branch, add a `read_write` endpoint. Each branch supports one read-write endpoint and multiple read-only endpoints. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).需要连接
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. By default, the branch is created from the project's default branch with no compute endpoint, and the branch name is auto-generated. To access the branch, add a `read_write` endpoint. Each branch supports one read-write endpoint and multiple read-only endpoints. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
Create anonymized branchNEON_CREATE_PROJECT_BRANCH_ANONYMIZEDCreates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. This allows developers to work with masked production data. Optionally, provide `masking_rules` to set initial masking rules for the branch and `start_anonymization` to automatically start anonymization after creation. This combines functionality of updating masking rules and starting anonymization into the branch creation request. **Note**: This endpoint is currently in Beta.需要连接
Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. This allows developers to work with masked production data. Optionally, provide `masking_rules` to set initial masking rules for the branch and `start_anonymization` to automatically start anonymization after creation. This combines functionality of updating masking rules and starting anonymization into the branch creation request. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Create a bucket on the branchNEON_CREATE_PROJECT_BRANCH_BUCKETCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create Neon Data APINEON_CREATE_PROJECT_BRANCH_DATA_APICreates a new instance of Neon Data API in the specified branch. The Data API exposes a REST interface over the branch database. The `database_name` path parameter determines which database the API serves.需要连接
Creates a new instance of Neon Data API in the specified branch. The Data API exposes a REST interface over the branch database. The `database_name` path parameter determines which database the API serves.
认证
需要 Connected AccountTags
Create databaseNEON_CREATE_PROJECT_BRANCH_DATABASECreates a database in the specified branch. A branch can have multiple databases. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).需要连接
Creates a database in the specified branch. A branch can have multiple databases. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).
认证
需要 Connected AccountTags
Create roleNEON_CREATE_PROJECT_BRANCH_ROLECreates a Postgres role in the specified branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/). Connections established to the active compute endpoint will be dropped. If the compute endpoint is idle, the endpoint becomes active for a short period of time and is suspended afterward.需要连接
Creates a Postgres role in the specified branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/). Connections established to the active compute endpoint will be dropped. If the compute endpoint is idle, the endpoint becomes active for a short period of time and is suspended afterward.
认证
需要 Connected AccountTags
Create compute endpointNEON_CREATE_PROJECT_ENDPOINTCreates 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. If the specified branch already has a read-write compute endpoint, the operation fails. A branch can have multiple read-only compute endpoints. For more information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
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. If the specified branch already has a read-write compute endpoint, the operation fails. A branch can have multiple read-only compute endpoints. For more information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
Create a project transfer requestNEON_CREATE_PROJECT_TRANSFER_REQUESTCreates a transfer request for the specified project. The request expires after a set period. To accept the request, the recipient calls `PUT /projects/{project_id}/transfer_requests/{request_id}` or uses the Neon Console claim link. The optional `ru` parameter redirects the recipient after acceptance.需要连接
Creates a transfer request for the specified project. The request expires after a set period. To accept the request, the recipient calls `PUT /projects/{project_id}/transfer_requests/{request_id}` or uses the Neon Console claim link. The optional `ru` parameter redirects the recipient after acceptance.
认证
需要 Connected AccountTags
Create snapshotNEON_CREATE_SNAPSHOTCreates a snapshot from the specified branch. This operation may initiate an asynchronous process.需要连接
Creates a snapshot from the specified branch. This operation may initiate an asynchronous process.
认证
需要 Connected AccountTags
Delete OAuth providerNEON_DELETE_BRANCH_NEON_AUTH_OAUTH_PROVIDERDeletes an OAuth provider from the specified project.需要连接
Deletes an OAuth provider from the specified project.
认证
需要 Connected AccountTags
Delete domain from redirect_uri whitelistNEON_DELETE_BRANCH_NEON_AUTH_TRUSTED_DOMAINRemoves 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.需要连接
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.
认证
需要 Connected AccountTags
Delete auth userNEON_DELETE_BRANCH_NEON_AUTH_USERDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete trusted redirect URI domainNEON_DELETE_NEON_AUTH_DOMAIN_FROM_REDIRECT_URIWHITELISTDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Delete integration with auth providerNEON_DELETE_NEON_AUTH_INTEGRATIONDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Delete OAuth providerNEON_DELETE_NEON_AUTH_OAUTH_PROVIDERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Delete auth userNEON_DELETE_NEON_AUTH_USERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/users/{auth_user_id}` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Remove organization spending limitNEON_DELETE_ORGANIZATION_SPENDING_LIMITRemoves the configured monthly spending limit for the specified organization. Idempotent — removing an already-unset limit still succeeds. Available to organization admins on Launch and Scale plans only.需要连接
Removes the configured monthly spending limit for the specified organization. Idempotent — removing an already-unset limit still succeeds. Available to organization admins on Launch and Scale plans only.
认证
需要 Connected AccountTags
Delete VPC endpointNEON_DELETE_ORGANIZATION_VPCENDPOINTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete projectNEON_DELETE_PROJECTDeletes 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`. To list recoverable projects, use `GET /projects?recoverable=true`.需要连接
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`. To list recoverable projects, use `GET /projects?recoverable=true`.
认证
需要 Connected AccountTags
Delete branchNEON_DELETE_PROJECT_BRANCHDeletes 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. You cannot delete a project's root or default branch, or a branch that has a child branch. A project must have at least one branch. By default, deleted branches can be recovered within a 7-day grace period. Use the `hard_delete` parameter to permanently delete the branch immediately. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).需要连接
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. You cannot delete a project's root or default branch, or a branch that has a child branch. A project must have at least one branch. By default, deleted branches can be recovered within a 7-day grace period. Use the `hard_delete` parameter to permanently delete the branch immediately. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
Delete a bucket on the branchNEON_DELETE_PROJECT_BRANCH_BUCKETDeletes the named bucket from the specified branch. **Note**: This endpoint is currently in Beta.需要连接
Deletes the named bucket from the specified branch. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Delete an object in a bucketNEON_DELETE_PROJECT_BRANCH_BUCKET_OBJECTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete every object under a key prefix (folder) in a bucketNEON_DELETE_PROJECT_BRANCH_BUCKET_OBJECTS_BY_PREFIXSoft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. Intended to back a "delete folder" action in an object browser: a `prefix` of `app/avatars/` removes every object beneath that folder. Served by the user's session (no customer S3 credentials required). `prefix` must be non-empty, end with `/`, be at most 1024 bytes, and contain no control characters - a partial-segment prefix cannot accidentally delete sibling keys. Returns the number of objects soft-deleted (`deleted`), which may be 0 when no live object matched the prefix on this branch. Only objects physically present on this branch are tombstoned; objects inherited from an ancestor branch via copy-on-write (not materialized on this branch) are out of scope. **Note**: This endpoint is currently in Beta.需要连接
Soft-deletes every object on the specified branch whose key starts with `prefix`, in a single call. Intended to back a "delete folder" action in an object browser: a `prefix` of `app/avatars/` removes every object beneath that folder. Served by the user's session (no customer S3 credentials required). `prefix` must be non-empty, end with `/`, be at most 1024 bytes, and contain no control characters - a partial-segment prefix cannot accidentally delete sibling keys. Returns the number of objects soft-deleted (`deleted`), which may be 0 when no live object matched the prefix on this branch. Only objects physically present on this branch are tombstoned; objects inherited from an ancestor branch via copy-on-write (not materialized on this branch) are out of scope. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Delete Neon Data APINEON_DELETE_PROJECT_BRANCH_DATA_APIDeletes the Neon Data API for the specified branch. Existing connections using the Data API endpoint will fail after deletion.需要连接
Deletes the Neon Data API for the specified branch. Existing connections using the Data API endpoint will fail after deletion.
认证
需要 Connected AccountTags
Delete databaseNEON_DELETE_PROJECT_BRANCH_DATABASEDeletes the specified database from the branch. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).需要连接
Deletes the specified database from the branch. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).
认证
需要 Connected AccountTags
Delete a function on the branchNEON_DELETE_PROJECT_BRANCH_FUNCTIONDeletes the function identified by its slug. **Note**: This endpoint is currently in Beta.需要连接
Deletes the function identified by its slug. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Delete roleNEON_DELETE_PROJECT_BRANCH_ROLEDeletes the specified Postgres role from the branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).需要连接
Deletes the specified Postgres role from the branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).
认证
需要 Connected AccountTags
Delete compute endpointNEON_DELETE_PROJECT_ENDPOINTDeletes the specified compute endpoint. A compute endpoint is a Neon compute instance. Deleting a compute endpoint drops existing network connections to the compute endpoint. The deletion is completed when the last operation in the chain finishes successfully. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
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. The deletion is completed when the last operation in the chain finishes successfully. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
Delete JWKS URLNEON_DELETE_PROJECT_JWKSRemoves the specified JWKS URL from the project. JWTs signed by keys from the removed URL can no longer authenticate to the project's endpoints.需要连接
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.
认证
需要 Connected AccountTags
Delete VPC endpoint restrictionNEON_DELETE_PROJECT_VPCENDPOINTRemoves the specified VPC endpoint restriction from a Neon project.需要连接
Removes the specified VPC endpoint restriction from a Neon project.
认证
需要 Connected AccountTags
Delete snapshotNEON_DELETE_SNAPSHOTDeletes the specified snapshot.需要连接
Deletes the specified snapshot.
认证
需要 Connected AccountTags
Disable Neon Auth for the branchNEON_DISABLE_NEON_AUTHDisables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. If `delete_data` is `true`, also deletes the `neon_auth` schema and all associated tables from the branch database. The integration can be re-enabled by calling `POST /projects/{project_id}/branches/{branch_id}/auth`.需要连接
Disables the Neon Auth integration for the specified branch, removing the connection to the authentication provider. If `delete_data` is `true`, also deletes the `neon_auth` schema and all associated tables from the branch database. The integration can be re-enabled by calling `POST /projects/{project_id}/branches/{branch_id}/auth`.
认证
需要 Connected AccountTags
Finalize branch restore from snapshotNEON_FINALIZE_RESTORE_BRANCHFinalize the restore operation for a branch created from a snapshot. This operation updates the branch so it functions as the original branch it replaced. This includes: - Reassigning any computes from the original branch to the restored branch (this will restart the computes) - Renaming the restored branch to the original branch's name - Renaming the original branch so it no longer uses the original name This operation only applies to branches created using the `restoreSnapshot` endpoint with `finalize_restore: false`.需要连接
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. This includes: - Reassigning any computes from the original branch to the restored branch (this will restart the computes) - Renaming the restored branch to the original branch's name - Renaming the original branch so it no longer uses the original name This operation only applies to branches created using the `restoreSnapshot` endpoint with `finalize_restore: false`.
认证
需要 Connected AccountTags
List supported regionsNEON_GET_ACTIVE_REGIONSLists 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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve anonymized branch statusNEON_GET_ANONYMIZED_BRANCH_STATUSRetrieves the current status of an anonymized branch, including its state and progress information. This endpoint allows you to monitor the anonymization process from initialization through completion. Only anonymized branches will have status information available. **Note**: This endpoint is currently in Beta.需要连接
Retrieves the current status of an anonymized branch, including its state and progress information. This endpoint allows you to monitor the anonymization process from initialization through completion. Only anonymized branches will have status information available. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Retrieve request authentication detailsNEON_GET_AUTH_DETAILSReturns authentication details for the credentials used in the request, including the credential type (API key, Bearer token, or OAuth session) and the associated identity.需要连接
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.
认证
需要 Connected AccountTags
List available shared preload librariesNEON_GET_AVAILABLE_PRELOAD_LIBRARIESReturns the shared preload libraries available for the specified project's Postgres version. Shared preload libraries are Postgres extensions that require the `shared_preload_libraries` setting and a compute restart to activate. Use this list to determine which libraries can be enabled in the project's `settings.preload_libraries` configuration.需要连接
Returns the shared preload libraries available for the specified project's Postgres version. Shared preload libraries are Postgres extensions that require the `shared_preload_libraries` setting and a compute restart to activate. Use this list to determine which libraries can be enabled in the project's `settings.preload_libraries` configuration.
认证
需要 Connected AccountTags
Retrieve connection URINEON_GET_CONNECTION_URIRetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve branch consumption metricsNEON_GET_CONSUMPTION_HISTORY_PER_BRANCH_V2Returns consumption metrics for each branch across one or more projects listed in `project_ids` (1 to 100 projects). Available for accounts on paid usage-based Launch, Scale, Agent, and Enterprise plans. History starts when the account first ingests branch-level consumption data. The `metrics` query parameter is required. Only these six values are supported on this endpoint: `compute_unit_seconds`, `root_branch_bytes_month`, `child_branch_bytes_month`, `instant_restore_bytes_month`, `public_network_transfer_bytes`, `private_network_transfer_bytes`. This endpoint does not support `extra_branches_month` or `snapshot_storage_bytes_month`. Use `GET /consumption_history/v2/projects` for those. Consumption metrics within each branch are returned in ascending time order (oldest first). This request does not wake project computes.需要连接
Returns consumption metrics for each branch across one or more projects listed in `project_ids` (1 to 100 projects). Available for accounts on paid usage-based Launch, Scale, Agent, and Enterprise plans. History starts when the account first ingests branch-level consumption data. The `metrics` query parameter is required. Only these six values are supported on this endpoint: `compute_unit_seconds`, `root_branch_bytes_month`, `child_branch_bytes_month`, `instant_restore_bytes_month`, `public_network_transfer_bytes`, `private_network_transfer_bytes`. This endpoint does not support `extra_branches_month` or `snapshot_storage_bytes_month`. Use `GET /consumption_history/v2/projects` for those. Consumption metrics within each branch are returned in ascending time order (oldest first). This request does not wake project computes.
认证
需要 Connected AccountTags
Retrieve project consumption metrics (legacy plans)NEON_GET_CONSUMPTION_HISTORY_PER_PROJECTRetrieves 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). Issuing a call to this API does not wake a project's compute endpoint.需要连接
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). Issuing a call to this API does not wake a project's compute endpoint.
认证
需要 Connected AccountTags
Retrieve project consumption metricsNEON_GET_CONSUMPTION_HISTORY_PER_PROJECT_V2Returns consumption metrics for up to `limit` projects per page. If `project_ids` is omitted, projects in the organization are included across pages (use `cursor`). If `project_ids` is provided, the response is limited to those projects (up to 100). Available for accounts on Launch, Scale, Agent, Business, and Enterprise plans. History starts when the account upgrades to an eligible plan. The `metrics` query parameter is required. Supported values: `compute_unit_seconds`, `root_branch_bytes_month`, `child_branch_bytes_month`, `instant_restore_bytes_month`, `public_network_transfer_bytes`, `private_network_transfer_bytes`, `extra_branches_month`, `snapshot_storage_bytes_month`. Consumption metrics within each project are returned in ascending time order (oldest first). This request does not wake project computes.需要连接
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`). If `project_ids` is provided, the response is limited to those projects (up to 100). Available for accounts on Launch, Scale, Agent, Business, and Enterprise plans. History starts when the account upgrades to an eligible plan. The `metrics` query parameter is required. Supported values: `compute_unit_seconds`, `root_branch_bytes_month`, `child_branch_bytes_month`, `instant_restore_bytes_month`, `public_network_transfer_bytes`, `private_network_transfer_bytes`, `extra_branches_month`, `snapshot_storage_bytes_month`. Consumption metrics within each project are returned in ascending time order (oldest first). This request does not wake project computes.
认证
需要 Connected AccountTags
Retrieve current user detailsNEON_GET_CURRENT_USER_INFORetrieves information about the currently authenticated Neon user, including account identifiers, plan details, and linked auth accounts.需要连接
Retrieves information about the currently authenticated Neon user, including account identifiers, plan details, and linked auth accounts.
认证
需要 Connected AccountTags
List organizations for the current userNEON_GET_CURRENT_USER_ORGANIZATIONSRetrieves the organizations that the currently authenticated user belongs to. When called with an organization- or project-scoped API key (which is not tied to a user), this returns the single organization that owns the key.需要连接
Retrieves the organizations that the currently authenticated user belongs to. When called with an organization- or project-scoped API key (which is not tied to a user), this returns the single organization that owns the key.
认证
需要 Connected AccountTags
Retrieve masking rulesNEON_GET_MASKING_RULESRetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve Neon Auth details for the branchNEON_GET_NEON_AUTHRetrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status.需要连接
Retrieves the Neon Auth integration details for the specified branch, including the auth provider type and integration status.
认证
需要 Connected AccountTags
Retrieve localhost allow settingNEON_GET_NEON_AUTH_ALLOW_LOCALHOSTRetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve email and password configurationNEON_GET_NEON_AUTH_EMAIL_AND_PASSWORD_CONFIGRetrieves the email and password authentication configuration for the specified branch's Neon Auth integration, including whether it is enabled and the email verification method.需要连接
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.
认证
需要 Connected AccountTags
Retrieve email provider configurationNEON_GET_NEON_AUTH_EMAIL_PROVIDERRetrieves the email provider configuration for the specified branch's Neon Auth integration, including the provider type and server settings.需要连接
Retrieves the email provider configuration for the specified branch's Neon Auth integration, including the provider type and server settings.
认证
需要 Connected AccountTags
Retrieve email server configurationNEON_GET_NEON_AUTH_EMAIL_SERVERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Retrieve phone number plugin configurationNEON_GET_NEON_AUTH_PHONE_NUMBER_PLUGINReturns the phone number plugin configuration for Neon Auth. The phone number plugin enables phone-based OTP authentication.需要连接
Returns the phone number plugin configuration for Neon Auth. The phone number plugin enables phone-based OTP authentication.
认证
需要 Connected AccountTags
Retrieve Neon Auth plugin configurationsNEON_GET_NEON_AUTH_PLUGIN_CONFIGSReturns all plugin configurations for Neon Auth in a single response. This endpoint aggregates organization, email provider, email and password, OAuth providers, and localhost settings.需要连接
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.
认证
需要 Connected AccountTags
Retrieve Neon Auth webhook configurationNEON_GET_NEON_AUTH_WEBHOOK_CONFIGReturns the webhook configuration for the specified branch's Neon Auth integration, including the endpoint URL and the events that trigger it.需要连接
Returns the webhook configuration for the specified branch's Neon Auth integration, including the endpoint URL and the events that trigger it.
认证
需要 Connected AccountTags
Retrieve organization detailsNEON_GET_ORGANIZATIONRetrieves details for the specified organization, including its name, plan, and configuration.需要连接
Retrieves details for the specified organization, including its name, plan, and configuration.
认证
需要 Connected AccountTags
List organization invitationsNEON_GET_ORGANIZATION_INVITATIONSRetrieves pending and accepted invitations for the specified organization.需要连接
Retrieves pending and accepted invitations for the specified organization.
认证
需要 Connected AccountTags
Retrieve organization member detailsNEON_GET_ORGANIZATION_MEMBERRetrieves information about the specified organization member.需要连接
Retrieves information about the specified organization member.
认证
需要 Connected AccountTags
List organization membersNEON_GET_ORGANIZATION_MEMBERSRetrieves a paginated list of members for the specified organization.需要连接
Retrieves a paginated list of members for the specified organization.
认证
需要 Connected AccountTags
Retrieve organization spending limitNEON_GET_ORGANIZATION_SPENDING_LIMITReturns the configured monthly spending limit for the specified organization. `spending_limit_cents: null` indicates that no limit is currently set. Available to organization members with read access on Launch and Scale plans only.需要连接
Returns the configured monthly spending limit for the specified organization. `spending_limit_cents: null` indicates that no limit is currently set. Available to organization members with read access on Launch and Scale plans only.
认证
需要 Connected AccountTags
Retrieve VPC endpoint detailsNEON_GET_ORGANIZATION_VPCENDPOINT_DETAILSRetrieves the current state and configuration details of a specified VPC endpoint.需要连接
Retrieves the current state and configuration details of a specified VPC endpoint.
认证
需要 Connected AccountTags
Retrieve project detailsNEON_GET_PROJECTRetrieves information about the specified project. Returned details include the project settings, compute configuration, history retention, owner information, and current usage metrics.需要连接
Retrieves information about the specified project. Returned details include the project settings, compute configuration, history retention, owner information, and current usage metrics.
认证
需要 Connected AccountTags
Get advisor issuesNEON_GET_PROJECT_ADVISOR_SECURITY_ISSUESAnalyzes 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.需要连接
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.
认证
需要 Connected AccountTags
Retrieve branch detailsNEON_GET_PROJECT_BRANCHRetrieves 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`. A project can contain one or more branches. A parent branch is identified by a `parent_id` value, which is the `id` of the parent branch. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).需要连接
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`. A project can contain one or more branches. A parent branch is identified by a `parent_id` value, which is the `id` of the parent branch. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
Get branch AI Gateway endpointNEON_GET_PROJECT_BRANCH_AI_GATEWAYReturns 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. A 404 response includes a `reason` field indicating why the gateway is unavailable. **Note**: This endpoint is currently in Beta.需要连接
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. A 404 response includes a `reason` field indicating why the gateway is unavailable. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Download an object's bytesNEON_GET_PROJECT_BRANCH_BUCKET_OBJECTStreams the raw bytes of the named object from the bucket on the specified branch, including objects inherited from ancestor branches. Served by the user's session (no customer S3 credentials required). The body is returned as `application/octet-stream` so a browser treats it as a download; the `Content-Length` and `ETag` response headers echo the stored object metadata. BINARY-STREAM EXCEPTION TO THE BUILD-GENERATED-TYPES RULE (#7029): the successful 200 body is the raw object stream, proxied verbatim from the platform object storage admin endpoint. It is modeled as an `application/octet-stream` binary body (not a JSON response schema) and is streamed without buffering the whole object in memory. Error responses still use the generated `GeneralError` shape. **Note**: This endpoint is currently in Beta.需要连接
Streams the raw bytes of the named object from the bucket on the specified branch, including objects inherited from ancestor branches. Served by the user's session (no customer S3 credentials required). The body is returned as `application/octet-stream` so a browser treats it as a download; the `Content-Length` and `ETag` response headers echo the stored object metadata. BINARY-STREAM EXCEPTION TO THE BUILD-GENERATED-TYPES RULE (#7029): the successful 200 body is the raw object stream, proxied verbatim from the platform object storage admin endpoint. It is modeled as an `application/octet-stream` binary body (not a JSON response schema) and is streamed without buffering the whole object in memory. Error responses still use the generated `GeneralError` shape. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Retrieve Neon Data API configurationNEON_GET_PROJECT_BRANCH_DATA_APIRetrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings.需要连接
Retrieves the Neon Data API configuration for the specified branch, including endpoint URL, enabled state, and database settings.
认证
需要 Connected AccountTags
Retrieve database detailsNEON_GET_PROJECT_BRANCH_DATABASERetrieves information about the specified database. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).需要连接
Retrieves information about the specified database. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).
认证
需要 Connected AccountTags
Get function detailsNEON_GET_PROJECT_BRANCH_FUNCTIONReturns the function identified by its slug. **Note**: This endpoint is currently in Beta.需要连接
Returns the function identified by its slug. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Retrieve role detailsNEON_GET_PROJECT_BRANCH_ROLERetrieves details about the specified role. In Neon, the terms "role" and "user" are synonymous. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).需要连接
Retrieves details about the specified role. In Neon, the terms "role" and "user" are synonymous. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).
认证
需要 Connected AccountTags
Retrieve role passwordNEON_GET_PROJECT_BRANCH_ROLE_PASSWORDRetrieves the password for the specified Postgres role, if possible. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).需要连接
Retrieves the password for the specified Postgres role, if possible. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).
认证
需要 Connected AccountTags
Retrieve database schemaNEON_GET_PROJECT_BRANCH_SCHEMARetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
Compare database schemaNEON_GET_PROJECT_BRANCH_SCHEMA_COMPARISONCompares the schema from the specified database with another branch's schema.需要连接
Compares the schema from the specified database with another branch's schema.
认证
需要 Connected AccountTags
Get branch object storage stateNEON_GET_PROJECT_BRANCH_STORAGEReturns whether branchable object storage is usable for the specified branch. A 200 response means the branch is registered in the object storage service and the S3 data plane will accept requests for it. A 404 response includes a `reason` field indicating why object storage is unavailable. **Note**: This endpoint is currently in Beta.需要连接
Returns whether branchable object storage is usable for the specified branch. A 200 response means the branch is registered in the object storage service and the S3 data plane will accept requests for it. A 404 response includes a `reason` field indicating why object storage is unavailable. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Retrieve compute endpoint detailsNEON_GET_PROJECT_ENDPOINTRetrieves information about the specified compute endpoint. A compute endpoint is a Neon compute instance. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
Retrieves information about the specified compute endpoint. A compute endpoint is a Neon compute instance. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
List JWKS URLsNEON_GET_PROJECT_JWKSReturns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project.需要连接
Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project.
认证
需要 Connected AccountTags
Retrieve operation detailsNEON_GET_PROJECT_OPERATIONRetrieves details for the specified operation. An operation is an action performed on a Neon project resource.需要连接
Retrieves details for the specified operation. An operation is an action performed on a Neon project resource.
认证
需要 Connected AccountTags
Retrieve backup scheduleNEON_GET_SNAPSHOT_SCHEDULEReturns the backup schedule for the specified branch, including the configured snapshot frequencies.需要连接
Returns the backup schedule for the specified branch, including the configured snapshot frequencies.
认证
需要 Connected AccountTags
Grant project accessNEON_GRANT_PERMISSION_TO_PROJECTGrants project access to the account associated with the specified email address.需要连接
Grants project access to the account associated with the specified email address.
认证
需要 Connected AccountTags
List API keysNEON_LIST_API_KEYSRetrieves 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. For more information, see [Manage API keys](https://neon.com/docs/manage/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. For more information, see [Manage API keys](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
List OAuth providers for the branchNEON_LIST_BRANCH_NEON_AUTH_OAUTH_PROVIDERSLists the OAuth providers configured for the specified branch's Neon Auth integration.需要连接
Lists the OAuth providers configured for the specified branch's Neon Auth integration.
认证
需要 Connected AccountTags
List domains in redirect_uri whitelistNEON_LIST_BRANCH_NEON_AUTH_TRUSTED_DOMAINSLists the trusted domains in the redirect URI whitelist for the specified branch. Only domains in this list are permitted as redirect targets after authentication.需要连接
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.
认证
需要 Connected AccountTags
List credentials on the branchNEON_LIST_CREDENTIALSReturns metadata for customer-issued credentials on the branch. Secrets are never included. **Note**: This endpoint is currently in Beta.需要连接
Returns metadata for customer-issued credentials on the branch. Secrets are never included. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
List active integrations with auth providersNEON_LIST_NEON_AUTH_INTEGRATIONSDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
List OAuth providersNEON_LIST_NEON_AUTH_OAUTH_PROVIDERSDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
List trusted redirect URI domainsNEON_LIST_NEON_AUTH_REDIRECT_URIWHITELIST_DOMAINSDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/domains` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
List organization API keysNEON_LIST_ORG_API_KEYSRetrieves 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. API keys can also be managed in the Neon Console. For more information, see [Manage API keys](https://neon.com/docs/manage/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. API keys can also be managed in the Neon Console. For more information, see [Manage API keys](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
List VPC endpointsNEON_LIST_ORGANIZATION_VPCENDPOINTSRetrieves the list of VPC endpoints for the specified Neon organization.需要连接
Retrieves the list of VPC endpoints for the specified Neon organization.
认证
需要 Connected AccountTags
List VPC endpoints across all regionsNEON_LIST_ORGANIZATION_VPCENDPOINTS_ALL_REGIONSRetrieves the list of VPC endpoints for the specified Neon organization across all regions.需要连接
Retrieves the list of VPC endpoints for the specified Neon organization across all regions.
认证
需要 Connected AccountTags
List objects in a bucketNEON_LIST_PROJECT_BRANCH_BUCKET_OBJECTSLists 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). When `delimiter` is supplied (typically `/`), keys are collapsed into common prefixes (`folders`) so callers can render a folder-style browser; keys that do not contain the delimiter after `prefix` are returned as `objects`. **Note**: This endpoint is currently in Beta.需要连接
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). When `delimiter` is supplied (typically `/`), keys are collapsed into common prefixes (`folders`) so callers can render a folder-style browser; keys that do not contain the delimiter after `prefix` are returned as `objects`. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
List buckets on the branchNEON_LIST_PROJECT_BRANCH_BUCKETSLists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches. **Note**: This endpoint is currently in Beta.需要连接
Lists branchable object storage buckets visible on the specified branch, including those inherited from ancestor branches. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
List databasesNEON_LIST_PROJECT_BRANCH_DATABASESRetrieves a list of databases for the specified branch. A branch can have multiple databases. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).需要连接
Retrieves a list of databases for the specified branch. A branch can have multiple databases. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).
认证
需要 Connected AccountTags
List branch endpointsNEON_LIST_PROJECT_BRANCH_ENDPOINTSRetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
List functions on the branchNEON_LIST_PROJECT_BRANCH_FUNCTIONSLists functions on the specified branch. **Note**: This endpoint is currently in Beta.需要连接
Lists functions on the specified branch. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
List branch log field valuesNEON_LIST_PROJECT_BRANCH_LOG_FIELD_VALUESLists the distinct values observed for a low-cardinality log field in the requested time range. Call the log fields endpoint first to learn which `field_name` values this branch supports; a field that branch has never emitted is rejected with `unknown_field`. Give the window either as `since` or as an explicit `start_time`; supplying both is rejected. If neither is given, the previous six hours are used. The maximum supported time range is seven days. **Note**: This endpoint is currently in Private Beta.需要连接
Lists the distinct values observed for a low-cardinality log field in the requested time range. Call the log fields endpoint first to learn which `field_name` values this branch supports; a field that branch has never emitted is rejected with `unknown_field`. Give the window either as `since` or as an explicit `start_time`; supplying both is rejected. If neither is given, the previous six hours are used. The maximum supported time range is seven days. **Note**: This endpoint is currently in Private Beta.
认证
需要 Connected AccountTags
List branch log fieldsNEON_LIST_PROJECT_BRANCH_LOG_FIELDSLists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint. The set is computed per branch and grows as new fields are observed, so treat it as data rather than a fixed list: discover a field here, then pass it as `field_name` to the field-values endpoint. **Note**: This endpoint is currently in Private Beta.需要连接
Lists the low-cardinality log fields observed on this branch whose distinct values can be discovered with the log field-values endpoint. The set is computed per branch and grows as new fields are observed, so treat it as data rather than a fixed list: discover a field here, then pass it as `field_name` to the field-values endpoint. **Note**: This endpoint is currently in Private Beta.
认证
需要 Connected AccountTags
List rolesNEON_LIST_PROJECT_BRANCH_ROLESRetrieves a list of Postgres roles from the specified branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).需要连接
Retrieves a list of Postgres roles from the specified branch. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).
认证
需要 Connected AccountTags
List branchesNEON_LIST_PROJECT_BRANCHESRetrieves 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. A project may contain child branches that were branched from `main` or from another branch. A parent branch is identified by the `parent_id` value, which is the `id` of the parent branch. For related information, see [Manage branches](https://neon.com/docs/manage/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. A project may contain child branches that were branched from `main` or from another branch. A parent branch is identified by the `parent_id` value, which is the `id` of the parent branch. For related information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
List compute endpointsNEON_LIST_PROJECT_ENDPOINTSRetrieves a list of compute endpoints for the specified project. A compute endpoint is a Neon compute instance. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
Retrieves a list of compute endpoints for the specified project. A compute endpoint is a Neon compute instance. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
List org members and their project rolesNEON_LIST_PROJECT_MEMBERSLists 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. Callers with VIEWER or EDITOR see members with effective project access. Callers with ADMIN also see unassigned org members.需要连接
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. Callers with VIEWER or EDITOR see members with effective project access. Callers with ADMIN also see unassigned org members.
认证
需要 Connected AccountTags
List operationsNEON_LIST_PROJECT_OPERATIONSRetrieves 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. Then, add the `cursor` value that was returned in the response to the next request. Operations older than 6 months may be deleted from our systems. If you need more history than that, you should store your own history.需要连接
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. Then, add the `cursor` value that was returned in the response to the next request. Operations older than 6 months may be deleted from our systems. If you need more history than that, you should store your own history.
认证
需要 Connected AccountTags
List project accessNEON_LIST_PROJECT_PERMISSIONSRetrieves 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.需要连接
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.
认证
需要 Connected AccountTags
List VPC endpoint restrictionsNEON_LIST_PROJECT_VPCENDPOINTSLists VPC endpoint restrictions for the specified Neon project.需要连接
Lists VPC endpoint restrictions for the specified Neon project.
认证
需要 Connected AccountTags
List projectsNEON_LIST_PROJECTSRetrieves 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. If using an org API key, `org_id` is automatically inferred from the key. For more information, see [Manage organizations using the Neon API](https://neon.com/docs/manage/orgs-api) and [Manage projects](https://neon.com/docs/manage/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. If using an org API key, `org_id` is automatically inferred from the key. For more information, see [Manage organizations using the Neon API](https://neon.com/docs/manage/orgs-api) and [Manage projects](https://neon.com/docs/manage/projects/).
认证
需要 Connected AccountTags
List shared projectsNEON_LIST_SHARED_PROJECTSRetrieves a list of projects shared with your Neon account. For more information, see [Manage projects](https://neon.com/docs/manage/projects/).需要连接
Retrieves a list of projects shared with your Neon account. For more information, see [Manage projects](https://neon.com/docs/manage/projects/).
认证
需要 Connected AccountTags
List project snapshotsNEON_LIST_SNAPSHOTSLists the snapshots for the specified project. Each snapshot represents a point-in-time backup of the project data.需要连接
Lists the snapshots for the specified project. Each snapshot represents a point-in-time backup of the project data.
认证
需要 Connected AccountTags
Presign an upload or download for an object in a bucketNEON_PRESIGN_PROJECT_BRANCH_BUCKET_OBJECTReturns 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. The `operation` field selects the direction: - `upload` returns a presigned `PUT` URL (the caller `PUT`s the file bytes straight to `url` with the returned `headers`). Authorized with project write access. - `download` returns a presigned `GET` URL (the caller `GET`s the bytes straight from `url`). Authorized with project read access. The platform mints a short-lived credential and builds the SigV4-signed URL against the branch's S3 data-plane host, returning it together with the HTTP method, any headers the caller must echo, and the URL's expiry. Served by the user's session (no customer S3 credentials required). **Note**: This endpoint is currently in Beta.需要连接
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. The `operation` field selects the direction: - `upload` returns a presigned `PUT` URL (the caller `PUT`s the file bytes straight to `url` with the returned `headers`). Authorized with project write access. - `download` returns a presigned `GET` URL (the caller `GET`s the bytes straight from `url`). Authorized with project read access. The platform mints a short-lived credential and builds the SigV4-signed URL against the branch's S3 data-plane host, returning it together with the HTTP method, any headers the caller must echo, and the URL's expiry. Served by the user's session (no customer S3 credentials required). **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Query branch logsNEON_QUERY_PROJECT_BRANCH_LOGSReturns logs emitted by services running on the specified branch, ordered by timestamp according to `sort_order`. All supplied filters are combined with `AND`: a record is returned only when it matches every filter. `minimum_severity` and `severity_text` are independent filters, so setting both requires a record to clear the severity floor *and* match the exact severity text. Supply `logql` instead of the structured filters to run a raw LogQL expression. Combining it with any structured filter is rejected rather than silently ignored; `limit`, `sort_order`, and the time window still apply, because those bound the query rather than form part of the expression. Give the window either as `since` — a duration ending at `end_time`, or at the current time when `end_time` is omitted — or as an explicit `start_time`. Supplying both is rejected. A single response holds at most 1,000 records. When `is_truncated` is `true`, pass the returned `next_cursor` back as `cursor` to fetch the next page, repeating the time range and every filter unchanged. If no time range is supplied, the query covers the previous hour. The maximum supported time range is seven days. `end_time` is exclusive. **Note**: This endpoint is currently in Private Beta.需要连接
Returns logs emitted by services running on the specified branch, ordered by timestamp according to `sort_order`. All supplied filters are combined with `AND`: a record is returned only when it matches every filter. `minimum_severity` and `severity_text` are independent filters, so setting both requires a record to clear the severity floor *and* match the exact severity text. Supply `logql` instead of the structured filters to run a raw LogQL expression. Combining it with any structured filter is rejected rather than silently ignored; `limit`, `sort_order`, and the time window still apply, because those bound the query rather than form part of the expression. Give the window either as `since` — a duration ending at `end_time`, or at the current time when `end_time` is omitted — or as an explicit `start_time`. Supplying both is rejected. A single response holds at most 1,000 records. When `is_truncated` is `true`, pass the returned `next_cursor` back as `cursor` to fetch the next page, repeating the time range and every filter unchanged. If no time range is supplied, the query covers the previous hour. The maximum supported time range is seven days. `end_time` is exclusive. **Note**: This endpoint is currently in Private Beta.
认证
需要 Connected AccountTags
Recover a deleted projectNEON_RECOVER_PROJECTRecovers a deleted project within the 7-day deletion recovery period. Restores branches, endpoints, settings, and connection strings. Some integrations require manual reconfiguration after recovery. To list recoverable projects, use `GET /projects?recoverable=true`.需要连接
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. To list recoverable projects, use `GET /projects?recoverable=true`.
认证
需要 Connected AccountTags
Remove organization memberNEON_REMOVE_ORGANIZATION_MEMBERRemoves the specified member from the organization. Only organization admins can perform this action. The last admin in an organization cannot be removed.需要连接
Removes the specified member from the organization. Only organization admins can perform this action. The last admin in an organization cannot be removed.
认证
需要 Connected AccountTags
Remove an org member's role on a projectNEON_REMOVE_PROJECT_MEMBER_ROLEIdempotently removes the explicit project grant. The member's organization-role default project permission still applies. Self-DELETE requires `confirm_self_lockout=true` when effective manage access would be lost.需要连接
Idempotently removes the explicit project grant. The member's organization-role default project permission still applies. Self-DELETE requires `confirm_self_lockout=true` when effective manage access would be lost.
认证
需要 Connected AccountTags
Reset role passwordNEON_RESET_PROJECT_BRANCH_ROLE_PASSWORDResets 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. The old password remains valid until last operation finishes. Connections to the compute endpoint are dropped. If idle, the compute endpoint becomes active for a short period of time. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).需要连接
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. The old password remains valid until last operation finishes. Connections to the compute endpoint are dropped. If idle, the compute endpoint becomes active for a short period of time. For related information, see [Manage roles](https://neon.com/docs/manage/roles/).
认证
需要 Connected AccountTags
Restart compute endpointNEON_RESTART_PROJECT_ENDPOINTRestarts the specified compute endpoint by immediately suspending it and then starting it again. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
Restarts the specified compute endpoint by immediately suspending it and then starting it again. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
Restore branch to a historical stateNEON_RESTORE_PROJECT_BRANCHRestores 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.需要连接
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.
认证
需要 Connected AccountTags
Restore snapshotNEON_RESTORE_SNAPSHOTRestores the specified snapshot to a new branch, and optionally finalizes the restore operation to replace the original branch.需要连接
Restores the specified snapshot to a new branch, and optionally finalizes the restore operation to replace the original branch.
认证
需要 Connected AccountTags
Revoke API keyNEON_REVOKE_API_KEYRevokes 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](https://neon.com/docs/manage/api-keys/).需要连接
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](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
Revoke a credentialNEON_REVOKE_CREDENTIALSoft-deletes the credential. Idempotent. **Note**: This endpoint is currently in Beta.需要连接
Soft-deletes the credential. Idempotent. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Revoke organization API keyNEON_REVOKE_ORG_API_KEYRevokes 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](https://neon.com/docs/manage/api-keys/).需要连接
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](https://neon.com/docs/manage/api-keys/).
认证
需要 Connected AccountTags
Revoke project accessNEON_REVOKE_PERMISSION_FROM_PROJECTRevokes project access from the user associated with the specified permission `id`. You can retrieve a user's permission `id` by listing 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.
认证
需要 Connected AccountTags
Send test emailNEON_SEND_NEON_AUTH_TEST_EMAILSends a test email using the configured email server settings to verify SMTP connectivity and credentials. The request body must include the SMTP server settings (`host`, `port`, `username`, `password`, `sender_email`, `sender_name`) and the `recipient_email` address.需要连接
Sends a test email using the configured email server settings to verify SMTP connectivity and credentials. The request body must include the SMTP server settings (`host`, `port`, `username`, `password`, `sender_email`, `sender_name`) and the `recipient_email` address.
认证
需要 Connected AccountTags
Set branch as defaultNEON_SET_DEFAULT_PROJECT_BRANCHSets the specified branch as the project's default branch. The default designation is automatically removed from the previous default branch. For more information, see [Manage branches](https://neon.com/docs/manage/branches/).需要连接
Sets the specified branch as the project's default branch. The default designation is automatically removed from the previous default branch. For more information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
Set organization spending limitNEON_SET_ORGANIZATION_SPENDING_LIMITSets the monthly spending limit for the specified organization. To remove a previously configured limit, send a DELETE request to this endpoint. When a limit is configured, email notifications are sent at 80% and 100% of the limit. Computes are not suspended when the limit is reached. Available to organization admins on Launch and Scale plans only.需要连接
Sets the monthly spending limit for the specified organization. To remove a previously configured limit, send a DELETE request to this endpoint. When a limit is configured, email notifications are sent at 80% and 100% of the limit. Computes are not suspended when the limit is reached. Available to organization admins on Launch and Scale plans only.
认证
需要 Connected AccountTags
Set an org member's role on a projectNEON_SET_PROJECT_MEMBER_ROLEIdempotently sets or updates the explicit project grant of the specified org member. Self-demotion requires `confirm_self_demotion=true`.需要连接
Idempotently sets or updates the explicit project grant of the specified org member. Self-demotion requires `confirm_self_demotion=true`.
认证
需要 Connected AccountTags
Update backup scheduleNEON_SET_SNAPSHOT_SCHEDULEUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Start anonymizationNEON_START_ANONYMIZATIONStarts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. **Note**: This endpoint is currently in Beta.需要连接
Starts the anonymization process for an anonymized branch that is in the initialized, error, or anonymized state. This will apply all defined masking rules to anonymize sensitive data in the branch databases. The branch must be an anonymized branch to start anonymization. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Start compute endpointNEON_START_PROJECT_ENDPOINTStarts 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. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
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. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
Suspend compute endpointNEON_SUSPEND_PROJECT_ENDPOINTSuspends the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).需要连接
Suspends the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. For information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/).
认证
需要 Connected AccountTags
Transfer Neon-managed auth project to your own accountNEON_TRANSFER_NEON_AUTH_PROVIDER_PROJECTTransfers ownership of your Neon-managed auth project to your own auth provider account.需要连接
Transfers ownership of your Neon-managed auth project to your own auth provider account.
认证
需要 Connected AccountTags
Transfer projects between organizationsNEON_TRANSFER_PROJECTS_FROM_ORG_TO_ORGTransfers selected projects, identified by their IDs, from your organization to another specified organization.需要连接
Transfers selected projects, identified by their IDs, from your organization to another specified organization.
认证
需要 Connected AccountTags
Transfer projects from personal account to organizationNEON_TRANSFER_PROJECTS_FROM_USER_TO_ORGDeprecated. Personal accounts have been migrated to organizations, so this operation no longer applies. Removal scheduled for July 1, 2026.需要连接
Deprecated. Personal accounts have been migrated to organizations, so this operation no longer applies. Removal scheduled for July 1, 2026.
认证
需要 Connected AccountTags
Update OAuth providerNEON_UPDATE_BRANCH_NEON_AUTH_OAUTH_PROVIDERUpdates an OAuth provider for the specified project.需要连接
Updates an OAuth provider for the specified project.
认证
需要 Connected AccountTags
Update masking rulesNEON_UPDATE_MASKING_RULESUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update localhost allow settingNEON_UPDATE_NEON_AUTH_ALLOW_LOCALHOSTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update auth configurationNEON_UPDATE_NEON_AUTH_CONFIGUpdates the auth configuration for the branch. Currently supports updating the application name used in auth emails.需要连接
Updates the auth configuration for the branch. Currently supports updating the application name used in auth emails.
认证
需要 Connected AccountTags
Update email and password configurationNEON_UPDATE_NEON_AUTH_EMAIL_AND_PASSWORD_CONFIGUpdates the email and password authentication configuration for the specified branch's Neon Auth integration. Only the fields provided in the request body are updated.需要连接
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.
认证
需要 Connected AccountTags
Update email provider configurationNEON_UPDATE_NEON_AUTH_EMAIL_PROVIDERUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update email server configurationNEON_UPDATE_NEON_AUTH_EMAIL_SERVERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/email_provider` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Update magic link plugin configurationNEON_UPDATE_NEON_AUTH_MAGIC_LINK_PLUGINUpdates the magic link plugin configuration for Neon Auth. The magic link plugin enables passwordless authentication via email magic links.需要连接
Updates the magic link plugin configuration for Neon Auth. The magic link plugin enables passwordless authentication via email magic links.
认证
需要 Connected AccountTags
Update OAuth providerNEON_UPDATE_NEON_AUTH_OAUTH_PROVIDERDeprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.需要连接
Deprecated. Use `/projects/{project_id}/branches/{branch_id}/auth/oauth_providers/{oauth_provider_id}` instead. Removal scheduled for March 1, 2026.
认证
需要 Connected AccountTags
Update organization plugin configurationNEON_UPDATE_NEON_AUTH_ORGANIZATION_PLUGINUpdates the organization plugin configuration for Neon Auth. The organization plugin enables multi-tenant organization support.需要连接
Updates the organization plugin configuration for Neon Auth. The organization plugin enables multi-tenant organization support.
认证
需要 Connected AccountTags
Update phone number plugin configurationNEON_UPDATE_NEON_AUTH_PHONE_NUMBER_PLUGINUpdates the phone number plugin configuration for Neon Auth. Only the fields provided in the request body are updated; omitted fields retain their current values. The phone number plugin enables phone-based OTP authentication. OTP codes are delivered via the `send.otp` webhook event with `delivery_preference: "sms"`. A webhook must be configured with the `send.otp` event enabled for SMS delivery to work.需要连接
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. The phone number plugin enables phone-based OTP authentication. OTP codes are delivered via the `send.otp` webhook event with `delivery_preference: "sms"`. A webhook must be configured with the `send.otp` event enabled for SMS delivery to work.
认证
需要 Connected AccountTags
Update auth user roleNEON_UPDATE_NEON_AUTH_USER_ROLEUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update Neon Auth webhook configurationNEON_UPDATE_NEON_AUTH_WEBHOOK_CONFIGUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update role for organization memberNEON_UPDATE_ORGANIZATION_MEMBERUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update projectNEON_UPDATE_PROJECTUpdates the specified project. Configurable properties include the project name, default compute settings, history retention period, and IP allowlist.需要连接
Updates the specified project. Configurable properties include the project name, default compute settings, history retention period, and IP allowlist.
认证
需要 Connected AccountTags
Update branchNEON_UPDATE_PROJECT_BRANCHUpdates the specified branch. For more information, see [Manage branches](https://neon.com/docs/manage/branches/).需要连接
Updates the specified branch. For more information, see [Manage branches](https://neon.com/docs/manage/branches/).
认证
需要 Connected AccountTags
Update Neon Data APINEON_UPDATE_PROJECT_BRANCH_DATA_APIUpdates the Neon Data API configuration for the specified branch. You can optionally provide settings to update the Data API configuration. The schema cache is always refreshed as part of this operation.需要连接
Updates the Neon Data API configuration for the specified branch. You can optionally provide settings to update the Data API configuration. The schema cache is always refreshed as part of this operation.
认证
需要 Connected AccountTags
Update databaseNEON_UPDATE_PROJECT_BRANCH_DATABASEUpdates the specified database in the branch. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).需要连接
Updates the specified database in the branch. For related information, see [Manage databases](https://neon.com/docs/manage/databases/).
认证
需要 Connected AccountTags
Update a functionNEON_UPDATE_PROJECT_BRANCH_FUNCTIONUpdates 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. Leading and trailing whitespace is trimmed; a whitespace-only name is rejected. Acts only on a function owned by the branch: a slug that is only inherited from an ancestor branch returns 404 — rename it on the branch that owns it. Like every other change on a branch, a rename is isolated per branch: a branch forked before the rename keeps the name it had at fork time. **Note**: This endpoint is currently in Beta.需要连接
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. Leading and trailing whitespace is trimmed; a whitespace-only name is rejected. Acts only on a function owned by the branch: a slug that is only inherited from an ancestor branch returns 404 — rename it on the branch that owns it. Like every other change on a branch, a rename is isolated per branch: a branch forked before the rename keeps the name it had at fork time. **Note**: This endpoint is currently in Beta.
认证
需要 Connected AccountTags
Update compute endpointNEON_UPDATE_PROJECT_ENDPOINTUpdates the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. A `branch_id` has a `br-` prefix. For more information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/). If the returned list of operations is not empty, the compute endpoint is not ready to use. The client must wait for the last operation to finish before using the compute endpoint. If the compute endpoint was idle before the update, it becomes active for a short period of time, and the control plane suspends it again after the update.需要连接
Updates the specified compute endpoint. An `endpoint_id` has an `ep-` prefix. A `branch_id` has a `br-` prefix. For more information about compute endpoints, see [Manage computes](https://neon.com/docs/manage/endpoints/). If the returned list of operations is not empty, the compute endpoint is not ready to use. The client must wait for the last operation to finish before using the compute endpoint. If the compute endpoint was idle before the update, it becomes active for a short period of time, and the control plane suspends it again after the update.
认证
需要 Connected AccountTags
Update snapshotNEON_UPDATE_SNAPSHOTUpdates the specified snapshot.需要连接
Updates the specified snapshot.
认证
需要 Connected AccountTags