KosmoKrator

data

Neon CLI for AI Agents

Use the Neon CLI from KosmoKrator to call Neon tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Neon CLI Setup

Neon can be configured headlessly with `kosmokrator integrations:configure neon`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure neon --enable --read allow --write ask --json
kosmokrator integrations:doctor neon --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call neon.neon_get_project_advisor_security_issues '{}' --json
Provider shortcut
kosmo integrations:neon neon_get_project_advisor_security_issues '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs neon --json
kosmo integrations:docs neon.neon_get_project_advisor_security_issues --json
kosmo integrations:schema neon.neon_get_project_advisor_security_issues --json
kosmo integrations:search "Neon" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

neon.neon_get_project_advisor_security_issues

Analyzes the database for security and performance issues. Returns a list of issues categorized by severity ERROR, WARN, INFO. Requires read access to the project and Data API enabled.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_advisor_security_issues '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_advisor_security_issues '{}' --json

neon.neon_list_api_keys

Retrieves the API keys for your Neon account. The response does not include API key tokens. A token is only provided when creating an API key. API keys can also be managed in the Neon Console. For more information, see Manage API keyshttps://neon.tech/docs/manage/api-keys/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_api_keys '{}' --json
Shortcut
kosmo integrations:neon neon_list_api_keys '{}' --json

neon.neon_create_api_key

Creates an API key. The keyname is a user-specified name for the key. This method returns an id and key. The key is a randomly generated, 64-bit token required to access the Neon API. API keys can also be managed in the Neon Console. See Manage API keyshttps://neon.tech/docs/manage/api-keys/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_api_key '{}' --json
Shortcut
kosmo integrations:neon neon_create_api_key '{}' --json

neon.neon_revoke_api_key

Revokes the specified API key. An API key that is no longer needed can be revoked. This action cannot be reversed. You can obtain keyid values by listing the API keys for your Neon account. API keys can also be managed in the Neon Console. See Manage API keyshttps://neon.tech/docs/manage/api-keys/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_revoke_api_key '{}' --json
Shortcut
kosmo integrations:neon neon_revoke_api_key '{}' --json

neon.neon_get_project_operation

Retrieves details for the specified operation. An operation is an action performed on a Neon project resource. You can obtain a projectid by listing the projects for your Neon account. You can obtain a operationid by listing operations for the project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_operation '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_operation '{}' --json

neon.neon_list_projects

Retrieves a list of projects for an organization. You may need to specify an orgid parameter depending on your API key type. For more information, see Manage projectshttps://neon.tech/docs/manage/projects/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_projects '{}' --json
Shortcut
kosmo integrations:neon neon_list_projects '{}' --json

neon.neon_create_project

Creates a Neon project within an organization. You may need to specify an orgid parameter depending on your API key type. Plan limits define how many projects you can create. For more information, see Manage projectshttps://neon.tech/docs/manage/projects/. You can specify a region and Postgres version in the request body. Neon currently supports PostgreSQL 14, 15, 16, and 17. For supported regions and regionid values, see Regionshttps://neon.tech/docs/introduction/regions/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project '{}' --json
Shortcut
kosmo integrations:neon neon_create_project '{}' --json

neon.neon_list_shared_projects

Retrieves a list of projects shared with your Neon account. For more information, see Manage projectshttps://neon.tech/docs/manage/projects/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_shared_projects '{}' --json
Shortcut
kosmo integrations:neon neon_list_shared_projects '{}' --json

neon.neon_get_project

Retrieves information about the specified project. You can obtain a projectid by listing the projects for an organization.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project '{}' --json
Shortcut
kosmo integrations:neon neon_get_project '{}' --json

neon.neon_update_project

Updates the specified project. You can obtain a projectid by listing the projects for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_project '{}' --json
Shortcut
kosmo integrations:neon neon_update_project '{}' --json

neon.neon_delete_project

Deletes the specified project. You can obtain a projectid by listing the projects for your Neon account. Deleting a project is a permanent action. Deleting a project also deletes endpoints, branches, databases, and users that belong to the project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project '{}' --json

neon.neon_recover_project

Recovers a deleted project during the deletion grace period. You can obtain a projectid by listing the projects for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_recover_project '{}' --json
Shortcut
kosmo integrations:neon neon_recover_project '{}' --json

neon.neon_list_project_operations

Retrieves a list of operations for the specified Neon project. You can obtain a projectid by listing the projects for your Neon account. 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.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_operations '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_operations '{}' --json

neon.neon_list_project_permissions

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.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_permissions '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_permissions '{}' --json

neon.neon_grant_permission_to_project

Grants project access to the account associated with the specified email address

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_grant_permission_to_project '{}' --json
Shortcut
kosmo integrations:neon neon_grant_permission_to_project '{}' --json

neon.neon_revoke_permission_from_project

Revokes project access from the user associated with the specified permission id. You can retrieve a user's permission id by listing project access.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_revoke_permission_from_project '{}' --json
Shortcut
kosmo integrations:neon neon_revoke_permission_from_project '{}' --json

neon.neon_get_available_preload_libraries

Return available shared preload libraries

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_available_preload_libraries '{}' --json
Shortcut
kosmo integrations:neon neon_get_available_preload_libraries '{}' --json

neon.neon_create_project_transfer_request

Creates a transfer request for the specified project. A transfer request allows the project to be transferred to another account or organization. The request has an expiration time after which it can no longer be used. To accept/claim the transfer request, the recipient user/organization must call the /projects/{projectid}/transferrequests/{requestid} API endpoint, or visit https://console.neon.tech/app/claim?p={projectid}&tr={requestid}&ru={redirecturl} in the Neon Console. The ru parameter is optional and can be used to redirect the user after accepting the transfer request.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_transfer_request '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_transfer_request '{}' --json

neon.neon_accept_project_transfer_request

Accepts a transfer request for the specified project, transferring it to the specified organization or user. If orgid is not passed, the project will be transferred to the current user or organization account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_accept_project_transfer_request '{}' --json
Shortcut
kosmo integrations:neon neon_accept_project_transfer_request '{}' --json

neon.neon_get_project_j_w_k_s

Returns the JWKS URLs available for verifying JWTs used as the authentication mechanism for the specified project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_j_w_k_s '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_j_w_k_s '{}' --json

neon.neon_add_project_j_w_k_s

Add a new JWKS URL to a project, such that it can be used for verifying JWTs used as the authentication mechanism for the specified project. The URL must be a valid HTTPS URL that returns a JSON Web Key Set. The providername field allows you to specify which authentication provider you're using e.g., Clerk, Auth0, AWS Cognito, etc.. The branchid can be used to specify on which branches the JWKS URL will be accepted. If not specified, then it will work on any branch. The rolenames can be used to specify for which roles the JWKS URL will be accepted. If not specified, then default roles will be used authenticator, authenticated and anonymous. The jwtaudience can be used to specify which "aud" values should be accepted by Neon in the JWTs that are used for authentication.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_add_project_j_w_k_s '{}' --json
Shortcut
kosmo integrations:neon neon_add_project_j_w_k_s '{}' --json

neon.neon_delete_project_j_w_k_s

Deletes a JWKS URL from the specified project

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_j_w_k_s '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_j_w_k_s '{}' --json

neon.neon_create_project_branch_data_a_p_i

Creates a new instance of Neon Data API in the specified branch. You can obtain the projectid and branchid by listing the projects and branches for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_branch_data_a_p_i '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_branch_data_a_p_i '{}' --json

neon.neon_update_project_branch_data_a_p_i

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. You can obtain the projectid and branchid by listing the projects and branches for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_project_branch_data_a_p_i '{}' --json
Shortcut
kosmo integrations:neon neon_update_project_branch_data_a_p_i '{}' --json

neon.neon_delete_project_branch_data_a_p_i

Deletes the Neon Data API for the specified branch. You can obtain the projectid and branchid by listing the projects and branches for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_branch_data_a_p_i '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_branch_data_a_p_i '{}' --json

neon.neon_get_project_branch_data_a_p_i

Retrieves the Neon Data API for the specified branch.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_data_a_p_i '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_data_a_p_i '{}' --json

neon.neon_create_neon_auth_integration

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth instead. Creates a project on a third-party authentication provider's platform for use with Neon Auth. Use this endpoint if the frontend integration flow can't be used.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_neon_auth_integration '{}' --json
Shortcut
kosmo integrations:neon neon_create_neon_auth_integration '{}' --json

neon.neon_get_neon_auth

/ Fetches the details of the Neon Auth for the specified branch. You can obtain the projectid and branchid by listing the projects and branches for your Neon account.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth '{}' --json

neon.neon_create_neon_auth

Enables Neon Auth integrationfor the branch. You can obtain the projectid and branchid by listing the projects and branches for your Neon account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_neon_auth '{}' --json
Shortcut
kosmo integrations:neon neon_create_neon_auth '{}' --json

neon.neon_disable_neon_auth

Disables Neon Auth for the branch

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_disable_neon_auth '{}' --json
Shortcut
kosmo integrations:neon neon_disable_neon_auth '{}' --json

neon.neon_list_neon_auth_redirect_u_r_i_whitelist_domains

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/domains instead. Lists the domains in the redirecturi whitelist for the specified project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_neon_auth_redirect_u_r_i_whitelist_domains '{}' --json
Shortcut
kosmo integrations:neon neon_list_neon_auth_redirect_u_r_i_whitelist_domains '{}' --json

neon.neon_add_neon_auth_domain_to_redirect_u_r_i_whitelist

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/domains instead. Adds a domain to the redirecturi whitelist for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_add_neon_auth_domain_to_redirect_u_r_i_whitelist '{}' --json
Shortcut
kosmo integrations:neon neon_add_neon_auth_domain_to_redirect_u_r_i_whitelist '{}' --json

neon.neon_delete_neon_auth_domain_from_redirect_u_r_i_whitelist

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/domains instead. Deletes a domain from the redirecturi whitelist for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_neon_auth_domain_from_redirect_u_r_i_whitelist '{}' --json
Shortcut
kosmo integrations:neon neon_delete_neon_auth_domain_from_redirect_u_r_i_whitelist '{}' --json

neon.neon_list_branch_neon_auth_trusted_domains

Lists the domains in the redirecturi whitelist for the specified project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_branch_neon_auth_trusted_domains '{}' --json
Shortcut
kosmo integrations:neon neon_list_branch_neon_auth_trusted_domains '{}' --json

neon.neon_add_branch_neon_auth_trusted_domain

Adds a domain to the redirecturi whitelist for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_add_branch_neon_auth_trusted_domain '{}' --json
Shortcut
kosmo integrations:neon neon_add_branch_neon_auth_trusted_domain '{}' --json

neon.neon_delete_branch_neon_auth_trusted_domain

Deletes a domain from the redirecturi whitelist for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_branch_neon_auth_trusted_domain '{}' --json
Shortcut
kosmo integrations:neon neon_delete_branch_neon_auth_trusted_domain '{}' --json

neon.neon_create_neon_auth_provider_s_d_k_keys

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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_neon_auth_provider_s_d_k_keys '{}' --json
Shortcut
kosmo integrations:neon neon_create_neon_auth_provider_s_d_k_keys '{}' --json

neon.neon_create_neon_auth_new_user

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/users instead. Creates a new user in Neon Auth. The user will be created in your neonauth.userssync table and automatically propagated to your auth project, whether Neon-managed or provider-owned.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_neon_auth_new_user '{}' --json
Shortcut
kosmo integrations:neon neon_create_neon_auth_new_user '{}' --json

neon.neon_create_branch_neon_auth_new_user

Creates a new user in Neon Auth.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_branch_neon_auth_new_user '{}' --json
Shortcut
kosmo integrations:neon neon_create_branch_neon_auth_new_user '{}' --json

neon.neon_delete_branch_neon_auth_user

Deletes the auth user for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_branch_neon_auth_user '{}' --json
Shortcut
kosmo integrations:neon neon_delete_branch_neon_auth_user '{}' --json

neon.neon_update_neon_auth_user_role

Updates the role of an auth user for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_user_role '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_user_role '{}' --json

neon.neon_delete_neon_auth_user

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/users/{authuserid} instead. Deletes the auth user for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_neon_auth_user '{}' --json
Shortcut
kosmo integrations:neon neon_delete_neon_auth_user '{}' --json

neon.neon_transfer_neon_auth_provider_project

Transfer ownership of your Neon-managed auth project to your own auth provider account.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_transfer_neon_auth_provider_project '{}' --json
Shortcut
kosmo integrations:neon neon_transfer_neon_auth_provider_project '{}' --json

neon.neon_list_neon_auth_integrations

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth instead.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_neon_auth_integrations '{}' --json
Shortcut
kosmo integrations:neon neon_list_neon_auth_integrations '{}' --json

neon.neon_list_neon_auth_oauth_providers

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/oauthproviders instead. Lists the OAuth providers for the specified project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_neon_auth_oauth_providers '{}' --json
Shortcut
kosmo integrations:neon neon_list_neon_auth_oauth_providers '{}' --json

neon.neon_add_neon_auth_oauth_provider

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/oauthproviders instead. Adds a OAuth provider to the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_add_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_add_neon_auth_oauth_provider '{}' --json

neon.neon_list_branch_neon_auth_oauth_providers

Lists the OAuth providers for the specified project and branch.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_branch_neon_auth_oauth_providers '{}' --json
Shortcut
kosmo integrations:neon neon_list_branch_neon_auth_oauth_providers '{}' --json

neon.neon_add_branch_neon_auth_oauth_provider

Adds a OAuth provider to the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_add_branch_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_add_branch_neon_auth_oauth_provider '{}' --json

neon.neon_update_neon_auth_oauth_provider

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/oauthproviders/{oauthproviderid} instead. Updates a OAuth provider for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_oauth_provider '{}' --json

neon.neon_delete_neon_auth_oauth_provider

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/oauthproviders/{oauthproviderid} instead. Deletes a OAuth provider from the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_delete_neon_auth_oauth_provider '{}' --json

neon.neon_update_branch_neon_auth_oauth_provider

Updates a OAuth provider for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_branch_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_update_branch_neon_auth_oauth_provider '{}' --json

neon.neon_delete_branch_neon_auth_oauth_provider

Deletes a OAuth provider from the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_branch_neon_auth_oauth_provider '{}' --json
Shortcut
kosmo integrations:neon neon_delete_branch_neon_auth_oauth_provider '{}' --json

neon.neon_get_neon_auth_email_server

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/emailprovider instead. Gets the email server configuration for the specified project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_email_server '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_email_server '{}' --json

neon.neon_update_neon_auth_email_server

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth/emailprovider instead. Updates the email server configuration for the specified project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_email_server '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_email_server '{}' --json

neon.neon_send_neon_auth_test_email

Sends a test email to the specified email address.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_send_neon_auth_test_email '{}' --json
Shortcut
kosmo integrations:neon neon_send_neon_auth_test_email '{}' --json

neon.neon_get_neon_auth_email_and_password_config

Gets the email and password authentication configuration for Neon Auth

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_email_and_password_config '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_email_and_password_config '{}' --json

neon.neon_update_neon_auth_email_and_password_config

Updates the email and password authentication configuration for Neon Auth

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_email_and_password_config '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_email_and_password_config '{}' --json

neon.neon_get_neon_auth_email_provider

Gets the email provider configuration for the specified branch.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_email_provider '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_email_provider '{}' --json

neon.neon_update_neon_auth_email_provider

Updates the email provider configuration for the specified branch.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_email_provider '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_email_provider '{}' --json

neon.neon_delete_neon_auth_integration

DEPRECATED, use /projects/{projectid}/branches/{branchid}/auth instead.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_neon_auth_integration '{}' --json
Shortcut
kosmo integrations:neon neon_delete_neon_auth_integration '{}' --json

neon.neon_get_connection_u_r_i

Retrieves a connection URI for the specified database. You can obtain a projectid by listing the projects for your Neon account. You can obtain the databasename by listing the databases for a branch. You can obtain a rolename by listing the roles for a branch.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_connection_u_r_i '{}' --json
Shortcut
kosmo integrations:neon neon_get_connection_u_r_i '{}' --json

neon.neon_get_neon_auth_allow_localhost

Get the allow localhost configuration for the specified branch.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_allow_localhost '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_allow_localhost '{}' --json

neon.neon_update_neon_auth_allow_localhost

Updates the allow localhost configuration for the specified branch.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_allow_localhost '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_allow_localhost '{}' --json

neon.neon_get_neon_auth_plugin_configs

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.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_plugin_configs '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_plugin_configs '{}' --json

neon.neon_update_neon_auth_organization_plugin

Updates the organization plugin configuration for Neon Auth. The organization plugin enables multi-tenant organization support.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_organization_plugin '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_organization_plugin '{}' --json

neon.neon_update_neon_auth_config

Updates the auth configuration for the branch. Currently supports updating the application name used in auth emails.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_config '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_config '{}' --json

neon.neon_update_neon_auth_magic_link_plugin

Updates the magic link plugin configuration for Neon Auth. The magic link plugin enables passwordless authentication via email magic links.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_magic_link_plugin '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_magic_link_plugin '{}' --json

neon.neon_get_neon_auth_phone_number_plugin

Returns the phone number plugin configuration for Neon Auth. The phone number plugin enables phone-based OTP authentication.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_phone_number_plugin '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_phone_number_plugin '{}' --json

neon.neon_update_neon_auth_phone_number_plugin

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 deliverypreference: "sms". A webhook must be configured with the send.otp event enabled for SMS delivery to work.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_phone_number_plugin '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_phone_number_plugin '{}' --json

neon.neon_get_neon_auth_webhook_config

Returns the webhook configuration for Neon Auth.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_neon_auth_webhook_config '{}' --json
Shortcut
kosmo integrations:neon neon_get_neon_auth_webhook_config '{}' --json

neon.neon_update_neon_auth_webhook_config

Updates the webhook configuration for Neon Auth on a specific branch.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_neon_auth_webhook_config '{}' --json
Shortcut
kosmo integrations:neon neon_update_neon_auth_webhook_config '{}' --json

neon.neon_create_project_branch

Creates a branch in the specified project. You can obtain a projectid by listing the projects for your Neon account. This method does not require a request body, but you can specify one to create a compute endpoint for the branch or to 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, you must add an endpoint object. A readwrite endpoint allows you to perform read and write operations on the branch. Each branch supports one read-write endpoint and multiple read-only endpoints. For related information, see Manage brancheshttps://neon.tech/docs/manage/branches/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_branch '{}' --json

neon.neon_list_branches

Retrieves a list of branches for the specified project. You can obtain a projectid by listing the projects for your Neon account. Each Neon project has a root branch named main. A branchid 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 parentid value, which is the id of the parent branch. For related information, see Manage brancheshttps://neon.tech/docs/manage/branches/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_branches '{}' --json
Shortcut
kosmo integrations:neon neon_list_branches '{}' --json

neon.neon_create_project_branch_anonymized

Creates a new branch with anonymized data using PostgreSQL Anonymizer for static masking. This allows developers to work with masked production data. Optionally, provide maskingrules to set initial masking rules for the branch and startanonymization 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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_branch_anonymized '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_branch_anonymized '{}' --json

neon.neon_count_project_branches

Retrieves the total number of branches in the specified project. You can obtain a projectid by listing the projects for your Neon account.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_count_project_branches '{}' --json
Shortcut
kosmo integrations:neon neon_count_project_branches '{}' --json

neon.neon_get_branch

Retrieves information about the specified branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain a branchid by listing the project's branches. A branchid 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 parentid value, which is the id of the parent branch. For related information, see Manage brancheshttps://neon.tech/docs/manage/branches/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_branch '{}' --json
Shortcut
kosmo integrations:neon neon_get_branch '{}' --json

neon.neon_delete_project_branch

Deletes the specified branch from a project, and places all compute endpoints into an idle state, breaking existing client connections. You can obtain a projectid by listing the projects for your Neon account. You can obtain a branchid by listing the project's branches. For related information, see Manage brancheshttps://neon.tech/docs/manage/branches/. When a successful response status is received, the compute endpoints are still active, and the branch is not yet deleted from storage. The deletion occurs after all operations finish. You cannot delete a project's root or default branch, and you cannot delete 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 harddelete parameter to permanently delete the branch immediately without a recovery window. Soft delete and branch recovery are in preview and not available to all users.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_branch '{}' --json

neon.neon_update_project_branch

Updates the specified branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For more information, see Manage brancheshttps://neon.tech/docs/manage/branches/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_update_project_branch '{}' --json

neon.neon_restore_project_branch

Restores a branch to an earlier state in its own or another branch's history

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_restore_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_restore_project_branch '{}' --json

neon.neon_get_project_branch_schema

Retrieves the schema from the specified database. The lsn and timestamp values cannot be specified at the same time. If both are omitted, the database schema is retrieved from database's head.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_schema '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_schema '{}' --json

neon.neon_get_project_branch_schema_comparison

Compares the schema from the specified database with another branch's schema.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_schema_comparison '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_schema_comparison '{}' --json

neon.neon_get_masking_rules

Retrieves the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. Note: This endpoint is currently in Beta.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_masking_rules '{}' --json
Shortcut
kosmo integrations:neon neon_get_masking_rules '{}' --json

neon.neon_update_masking_rules

Updates the masking rules for the specified anonymized branch. Masking rules define how sensitive data should be anonymized using PostgreSQL Anonymizer. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_masking_rules '{}' --json
Shortcut
kosmo integrations:neon neon_update_masking_rules '{}' --json

neon.neon_get_anonymized_branch_status

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. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. Only anonymized branches will have status information available. Note: This endpoint is currently in Beta.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_anonymized_branch_status '{}' --json
Shortcut
kosmo integrations:neon neon_get_anonymized_branch_status '{}' --json

neon.neon_start_anonymization

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. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. The branch must be an anonymized branch to start anonymization. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_start_anonymization '{}' --json
Shortcut
kosmo integrations:neon neon_start_anonymization '{}' --json

neon.neon_set_default_project_branch

Sets the specified branch as the project's default branch. The default designation is automatically removed from the previous default branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For more information, see Manage brancheshttps://neon.tech/docs/manage/branches/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_set_default_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_set_default_project_branch '{}' --json

neon.neon_recover_project_branch

Recovers a deleted branch during the deletion grace period 7 days. The branch must have been soft deleted and not yet permanently deleted. Recovery restores the branch and its endpoints to an idle state. Connection strings remain valid after recovery. TTL branches become non-TTL branches after recovery. This endpoint is in preview and not available to all users.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_recover_project_branch '{}' --json
Shortcut
kosmo integrations:neon neon_recover_project_branch '{}' --json

neon.neon_finalize_restore_branch

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 finalizerestore: false. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_finalize_restore_branch '{}' --json
Shortcut
kosmo integrations:neon neon_finalize_restore_branch '{}' --json

neon.neon_list_project_branch_endpoints

Retrieves a list of compute endpoints for the specified branch. Neon permits only one read-write compute endpoint per branch. A branch can have multiple read-only compute endpoints. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_branch_endpoints '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_branch_endpoints '{}' --json

neon.neon_list_databases

Retrieves a list of databases for the specified branch. A branch can have multiple databases. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For related information, see Manage databaseshttps://neon.tech/docs/manage/databases/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_databases '{}' --json
Shortcut
kosmo integrations:neon neon_list_databases '{}' --json

neon.neon_create_project_branch_database

Creates a database in the specified branch. A branch can have multiple databases. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For related information, see Manage databaseshttps://neon.tech/docs/manage/databases/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_branch_database '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_branch_database '{}' --json

neon.neon_get_project_branch_database

Retrieves information about the specified database. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid and databasename by listing the branch's databases. For related information, see Manage databaseshttps://neon.tech/docs/manage/databases/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_database '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_database '{}' --json

neon.neon_update_project_branch_database

Updates the specified database in the branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid and databasename by listing the branch's databases. For related information, see Manage databaseshttps://neon.tech/docs/manage/databases/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_project_branch_database '{}' --json
Shortcut
kosmo integrations:neon neon_update_project_branch_database '{}' --json

neon.neon_delete_project_branch_database

Deletes the specified database from the branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid and databasename by listing the branch's databases. For related information, see Manage databaseshttps://neon.tech/docs/manage/databases/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_branch_database '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_branch_database '{}' --json

neon.neon_list_project_branch_roles

Retrieves a list of Postgres roles from the specified branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For related information, see Manage roleshttps://neon.tech/docs/manage/roles/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_branch_roles '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_branch_roles '{}' --json

neon.neon_create_project_branch_role

Creates a Postgres role in the specified branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. For related information, see Manage roleshttps://neon.tech/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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_branch_role '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_branch_role '{}' --json

neon.neon_get_project_branch_role

Retrieves details about the specified role. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. You can obtain the rolename by listing the roles for a branch. In Neon, the terms "role" and "user" are synonymous. For related information, see Manage roleshttps://neon.tech/docs/manage/roles/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_role '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_role '{}' --json

neon.neon_delete_project_branch_role

Deletes the specified Postgres role from the branch. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. You can obtain the rolename by listing the roles for a branch. For related information, see Manage roleshttps://neon.tech/docs/manage/roles/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_branch_role '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_branch_role '{}' --json

neon.neon_get_project_branch_role_password

Retrieves the password for the specified Postgres role, if possible. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. You can obtain the rolename by listing the roles for a branch. For related information, see Manage roleshttps://neon.tech/docs/manage/roles/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_branch_role_password '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_branch_role_password '{}' --json

neon.neon_reset_project_branch_role_password

Resets the password for the specified Postgres role. Returns a new password and operations. The new password is ready to use when the last operation finishes. 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. You can obtain a projectid by listing the projects for your Neon account. You can obtain the branchid by listing the project's branches. You can obtain the rolename by listing the roles for a branch. For related information, see Manage roleshttps://neon.tech/docs/manage/roles/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_reset_project_branch_role_password '{}' --json
Shortcut
kosmo integrations:neon neon_reset_project_branch_role_password '{}' --json

neon.neon_list_project_v_p_c_endpoints

Lists VPC endpoint restrictions for the specified Neon project.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_v_p_c_endpoints '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_v_p_c_endpoints '{}' --json

neon.neon_assign_project_v_p_c_endpoint

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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_assign_project_v_p_c_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_assign_project_v_p_c_endpoint '{}' --json

neon.neon_delete_project_v_p_c_endpoint

Removes the specified VPC endpoint restriction from a Neon project.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_v_p_c_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_v_p_c_endpoint '{}' --json

neon.neon_create_project_endpoint

Creates a compute endpoint for the specified branch. An 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. You can obtain a projectid by listing the projects for your Neon account. You can obtain branchid by listing the project's branches. A branchid has a br- prefix. For supported regions and regionid values, see Regionshttps://neon.tech/docs/introduction/regions/. For more information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_create_project_endpoint '{}' --json

neon.neon_list_project_endpoints

Retrieves a list of compute endpoints for the specified project. A compute endpoint is a Neon compute instance. You can obtain a projectid by listing the projects for your Neon account. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_project_endpoints '{}' --json
Shortcut
kosmo integrations:neon neon_list_project_endpoints '{}' --json

neon.neon_get_project_endpoint

Retrieves information about the specified compute endpoint. A compute endpoint is a Neon compute instance. You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid by listing your project's compute endpoints. An endpointid has an ep- prefix. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_get_project_endpoint '{}' --json

neon.neon_delete_project_endpoint

Delete 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 last operation in the chain finishes successfully. You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid by listing your project's compute endpoints. An endpointid has an ep- prefix. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_delete_project_endpoint '{}' --json

neon.neon_update_project_endpoint

Updates the specified compute endpoint. You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid and branchid by listing your project's compute endpoints. An endpointid has an ep- prefix. A branchid has a br- prefix. For more information about compute endpoints, see Manage computeshttps://neon.tech/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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_update_project_endpoint '{}' --json

neon.neon_start_project_endpoint

Starts a compute endpoint. The compute endpoint is ready to use after the last operation in chain finishes successfully. You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid by listing your project's compute endpoints. An endpointid has an ep- prefix. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_start_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_start_project_endpoint '{}' --json

neon.neon_suspend_project_endpoint

Suspend the specified compute endpoint You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid by listing your project's compute endpoints. An endpointid has an ep- prefix. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_suspend_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_suspend_project_endpoint '{}' --json

neon.neon_restart_project_endpoint

Restart the specified compute endpoint: suspend immediately followed by start operations. You can obtain a projectid by listing the projects for your Neon account. You can obtain an endpointid by listing your project's compute endpoints. An endpointid has an ep- prefix. For information about compute endpoints, see Manage computeshttps://neon.tech/docs/manage/endpoints/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_restart_project_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_restart_project_endpoint '{}' --json

neon.neon_get_consumption_history_per_account

Retrieves consumption metrics for Scale and Enterprise plan accounts, and for legacy Scale, Business, and Enterprise plan accounts. Consumption history begins at the time the account was upgraded to a supported plan. Deprecated: This endpoint will be removed on June 1, 2026.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_consumption_history_per_account '{}' --json
Shortcut
kosmo integrations:neon neon_get_consumption_history_per_account '{}' --json

neon.neon_get_consumption_history_per_project

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.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_consumption_history_per_project '{}' --json
Shortcut
kosmo integrations:neon neon_get_consumption_history_per_project '{}' --json

neon.neon_get_consumption_history_per_project_v2

Retrieves consumption metrics for Launch, Scale, Agent, 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.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_consumption_history_per_project_v2 '{}' --json
Shortcut
kosmo integrations:neon neon_get_consumption_history_per_project_v2 '{}' --json

neon.neon_get_organization

Retrieves information about the specified organization.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization '{}' --json

neon.neon_list_org_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 keyshttps://neon.tech/docs/manage/api-keys/.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_org_api_keys '{}' --json
Shortcut
kosmo integrations:neon neon_list_org_api_keys '{}' --json

neon.neon_create_org_api_key

Creates an API key for the specified organization. The keyname is a user-specified name for the key. This method returns an id and key. The key is a randomly generated, 64-bit token required to access the Neon API. API keys can also be managed in the Neon Console. See Manage API keyshttps://neon.tech/docs/manage/api-keys/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_org_api_key '{}' --json
Shortcut
kosmo integrations:neon neon_create_org_api_key '{}' --json

neon.neon_revoke_org_api_key

Revokes the specified organization API key. An API key that is no longer needed can be revoked. This action cannot be reversed. You can obtain keyid values by listing the API keys for an organization. API keys can also be managed in the Neon Console. See Manage API keyshttps://neon.tech/docs/manage/api-keys/.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_revoke_org_api_key '{}' --json
Shortcut
kosmo integrations:neon neon_revoke_org_api_key '{}' --json

neon.neon_get_organization_spending_limit

Returns the configured spending limit for a V3 paid organization. spendinglimitcents: null indicates that no limit is currently set. Available to organization members with read access on Launch and Scale plans only.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization_spending_limit '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization_spending_limit '{}' --json

neon.neon_set_organization_spending_limit

Sets the spending limit for a V3 paid 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 by this feature. Available to organization admins on Launch and Scale plans only.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_set_organization_spending_limit '{}' --json
Shortcut
kosmo integrations:neon neon_set_organization_spending_limit '{}' --json

neon.neon_delete_organization_spending_limit

Removes a previously configured spending limit for a V3 paid organization. Idempotent deleting an already-unset limit still succeeds. Available to organization admins on Launch and Scale plans only.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_organization_spending_limit '{}' --json
Shortcut
kosmo integrations:neon neon_delete_organization_spending_limit '{}' --json

neon.neon_get_organization_members

Retrieves a paginated list of members for the specified organization.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization_members '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization_members '{}' --json

neon.neon_get_organization_member

Retrieves information about the specified organization member.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization_member '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization_member '{}' --json

neon.neon_update_organization_member

Only an admin can perform this action.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_organization_member '{}' --json
Shortcut
kosmo integrations:neon neon_update_organization_member '{}' --json

neon.neon_remove_organization_member

Remove member from the organization. Only an admin of the organization can perform this action. If another admin is being removed, it will not be allows in case it is the only admin left in the organization.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_remove_organization_member '{}' --json
Shortcut
kosmo integrations:neon neon_remove_organization_member '{}' --json

neon.neon_get_organization_invitations

Retrieves information about extended invitations for the specified organization

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization_invitations '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization_invitations '{}' --json

neon.neon_create_organization_invitations

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.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_organization_invitations '{}' --json
Shortcut
kosmo integrations:neon neon_create_organization_invitations '{}' --json

neon.neon_transfer_projects_from_org_to_org

Transfers selected projects, identified by their IDs, from your organization to another specified organization.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_transfer_projects_from_org_to_org '{}' --json
Shortcut
kosmo integrations:neon neon_transfer_projects_from_org_to_org '{}' --json

neon.neon_list_organization_v_p_c_endpoints_all_regions

Retrieves the list of VPC endpoints for the specified Neon organization across all regions.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_organization_v_p_c_endpoints_all_regions '{}' --json
Shortcut
kosmo integrations:neon neon_list_organization_v_p_c_endpoints_all_regions '{}' --json

neon.neon_list_organization_v_p_c_endpoints

Retrieves the list of VPC endpoints for the specified Neon organization.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_organization_v_p_c_endpoints '{}' --json
Shortcut
kosmo integrations:neon neon_list_organization_v_p_c_endpoints '{}' --json

neon.neon_get_organization_v_p_c_endpoint_details

Retrieves the current state and configuration details of a specified VPC endpoint.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_organization_v_p_c_endpoint_details '{}' --json
Shortcut
kosmo integrations:neon neon_get_organization_v_p_c_endpoint_details '{}' --json

neon.neon_assign_organization_v_p_c_endpoint

Assigns a VPC endpoint to a Neon organization or updates its existing assignment.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_assign_organization_v_p_c_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_assign_organization_v_p_c_endpoint '{}' --json

neon.neon_delete_organization_v_p_c_endpoint

Deletes the VPC endpoint from the specified Neon organization. If you delete a VPC endpoint from a Neon organization, that VPC endpoint cannot be added back to the Neon organization.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_organization_v_p_c_endpoint '{}' --json
Shortcut
kosmo integrations:neon neon_delete_organization_v_p_c_endpoint '{}' --json

neon.neon_get_active_regions

Lists supported Neon regions. Note: Not all regions are available to all organizations. Pass the orgid parameter to get an accurate list of regions available to your organization.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_active_regions '{}' --json
Shortcut
kosmo integrations:neon neon_get_active_regions '{}' --json

neon.neon_get_current_user

Retrieves information about the current Neon user account.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_current_user '{}' --json
Shortcut
kosmo integrations:neon neon_get_current_user '{}' --json

neon.neon_get_current_user_organizations

Retrieves information about the current Neon user's organizations

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_current_user_organizations '{}' --json
Shortcut
kosmo integrations:neon neon_get_current_user_organizations '{}' --json

neon.neon_transfer_projects_from_user_to_org

Transfers selected projects, identified by their IDs, from your personal account to a specified organization.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_transfer_projects_from_user_to_org '{}' --json
Shortcut
kosmo integrations:neon neon_transfer_projects_from_user_to_org '{}' --json

neon.neon_get_auth_details

Returns auth information about the passed credentials. It can refer to an API key, Bearer token or OAuth session.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_auth_details '{}' --json
Shortcut
kosmo integrations:neon neon_get_auth_details '{}' --json

neon.neon_create_snapshot

Create a snapshot from the specified branch using the provided parameters. This endpoint may initiate an asynchronous operation. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_create_snapshot '{}' --json
Shortcut
kosmo integrations:neon neon_create_snapshot '{}' --json

neon.neon_list_snapshots

List the snapshots for the specified project. Note: This endpoint is currently in Beta.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_list_snapshots '{}' --json
Shortcut
kosmo integrations:neon neon_list_snapshots '{}' --json

neon.neon_delete_snapshot

Delete the specified snapshot. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_delete_snapshot '{}' --json
Shortcut
kosmo integrations:neon neon_delete_snapshot '{}' --json

neon.neon_update_snapshot

Update the specified snapshot. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_update_snapshot '{}' --json
Shortcut
kosmo integrations:neon neon_update_snapshot '{}' --json

neon.neon_restore_snapshot

Restore the specified snapshot to a new branch and optionally finalize the restore operation. Note: This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_restore_snapshot '{}' --json
Shortcut
kosmo integrations:neon neon_restore_snapshot '{}' --json

neon.neon_get_snapshot_schedule

View the backup schedule for the specified branch. Note: This endpoint is currently in Beta.

Read read
Parameters
none
Generic call
kosmo integrations:call neon.neon_get_snapshot_schedule '{}' --json
Shortcut
kosmo integrations:neon neon_get_snapshot_schedule '{}' --json

neon.neon_set_snapshot_schedule

Update the backup schedule for the specified branch. Note : This endpoint is currently in Beta.

Write write
Parameters
none
Generic call
kosmo integrations:call neon.neon_set_snapshot_schedule '{}' --json
Shortcut
kosmo integrations:neon neon_set_snapshot_schedule '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

neon.neon_get_project_advisor_security_issues 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_advisor_security_issues --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_api_keys 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_api_keys --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_api_key 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_api_key --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_revoke_api_key 0 parameters
Schema command
kosmo integrations:schema neon.neon_revoke_api_key --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_operation 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_operation --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_projects 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_projects --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_shared_projects 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_shared_projects --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_recover_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_recover_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_operations 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_operations --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_permissions 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_permissions --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_grant_permission_to_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_grant_permission_to_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_revoke_permission_from_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_revoke_permission_from_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_available_preload_libraries 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_available_preload_libraries --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_transfer_request 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_transfer_request --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_accept_project_transfer_request 0 parameters
Schema command
kosmo integrations:schema neon.neon_accept_project_transfer_request --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_j_w_k_s 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_j_w_k_s --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_add_project_j_w_k_s 0 parameters
Schema command
kosmo integrations:schema neon.neon_add_project_j_w_k_s --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_j_w_k_s 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_j_w_k_s --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_branch_data_a_p_i 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_branch_data_a_p_i --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_project_branch_data_a_p_i 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_project_branch_data_a_p_i --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_branch_data_a_p_i 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_branch_data_a_p_i --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_data_a_p_i 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_data_a_p_i --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_neon_auth_integration 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_neon_auth_integration --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_neon_auth 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_neon_auth --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_disable_neon_auth 0 parameters
Schema command
kosmo integrations:schema neon.neon_disable_neon_auth --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_neon_auth_redirect_u_r_i_whitelist_domains 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_neon_auth_redirect_u_r_i_whitelist_domains --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_add_neon_auth_domain_to_redirect_u_r_i_whitelist 0 parameters
Schema command
kosmo integrations:schema neon.neon_add_neon_auth_domain_to_redirect_u_r_i_whitelist --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_neon_auth_domain_from_redirect_u_r_i_whitelist 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_neon_auth_domain_from_redirect_u_r_i_whitelist --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_branch_neon_auth_trusted_domains 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_branch_neon_auth_trusted_domains --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_add_branch_neon_auth_trusted_domain 0 parameters
Schema command
kosmo integrations:schema neon.neon_add_branch_neon_auth_trusted_domain --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_branch_neon_auth_trusted_domain 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_branch_neon_auth_trusted_domain --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_neon_auth_provider_s_d_k_keys 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_neon_auth_provider_s_d_k_keys --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_neon_auth_new_user 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_neon_auth_new_user --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_branch_neon_auth_new_user 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_branch_neon_auth_new_user --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_branch_neon_auth_user 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_branch_neon_auth_user --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_user_role 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_user_role --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_neon_auth_user 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_neon_auth_user --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_transfer_neon_auth_provider_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_transfer_neon_auth_provider_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_neon_auth_integrations 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_neon_auth_integrations --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_neon_auth_oauth_providers 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_neon_auth_oauth_providers --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_add_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_add_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_branch_neon_auth_oauth_providers 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_branch_neon_auth_oauth_providers --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_add_branch_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_add_branch_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_branch_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_branch_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_branch_neon_auth_oauth_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_branch_neon_auth_oauth_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_email_server 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_email_server --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_email_server 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_email_server --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_send_neon_auth_test_email 0 parameters
Schema command
kosmo integrations:schema neon.neon_send_neon_auth_test_email --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_email_and_password_config 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_email_and_password_config --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_email_and_password_config 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_email_and_password_config --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_email_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_email_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_email_provider 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_email_provider --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_neon_auth_integration 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_neon_auth_integration --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_connection_u_r_i 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_connection_u_r_i --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_allow_localhost 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_allow_localhost --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_allow_localhost 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_allow_localhost --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_plugin_configs 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_plugin_configs --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_organization_plugin 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_organization_plugin --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_config 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_config --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_phone_number_plugin 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_phone_number_plugin --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_phone_number_plugin 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_phone_number_plugin --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_neon_auth_webhook_config 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_neon_auth_webhook_config --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_neon_auth_webhook_config 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_neon_auth_webhook_config --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_branches 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_branches --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_branch_anonymized 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_branch_anonymized --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_count_project_branches 0 parameters
Schema command
kosmo integrations:schema neon.neon_count_project_branches --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_restore_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_restore_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_schema 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_schema --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_schema_comparison 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_schema_comparison --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_masking_rules 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_masking_rules --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_masking_rules 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_masking_rules --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_anonymized_branch_status 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_anonymized_branch_status --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_start_anonymization 0 parameters
Schema command
kosmo integrations:schema neon.neon_start_anonymization --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_set_default_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_set_default_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_recover_project_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_recover_project_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_finalize_restore_branch 0 parameters
Schema command
kosmo integrations:schema neon.neon_finalize_restore_branch --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_branch_endpoints 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_branch_endpoints --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_databases 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_databases --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_branch_database 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_branch_database --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_database 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_database --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_project_branch_database 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_project_branch_database --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_branch_database 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_branch_database --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_branch_roles 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_branch_roles --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_branch_role 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_branch_role --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_role 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_role --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_branch_role 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_branch_role --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_branch_role_password 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_branch_role_password --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_reset_project_branch_role_password 0 parameters
Schema command
kosmo integrations:schema neon.neon_reset_project_branch_role_password --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_v_p_c_endpoints 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_v_p_c_endpoints --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_assign_project_v_p_c_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_assign_project_v_p_c_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_v_p_c_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_v_p_c_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_project_endpoints 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_project_endpoints --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_start_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_start_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_suspend_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_suspend_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_restart_project_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_restart_project_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_consumption_history_per_account 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_consumption_history_per_account --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_consumption_history_per_project 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_consumption_history_per_project --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_consumption_history_per_project_v2 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_consumption_history_per_project_v2 --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_org_api_keys 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_org_api_keys --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_org_api_key 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_org_api_key --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_revoke_org_api_key 0 parameters
Schema command
kosmo integrations:schema neon.neon_revoke_org_api_key --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization_spending_limit 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization_spending_limit --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_set_organization_spending_limit 0 parameters
Schema command
kosmo integrations:schema neon.neon_set_organization_spending_limit --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_organization_spending_limit 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_organization_spending_limit --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization_members 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization_members --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization_member 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization_member --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_organization_member 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_organization_member --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_remove_organization_member 0 parameters
Schema command
kosmo integrations:schema neon.neon_remove_organization_member --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization_invitations 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization_invitations --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_organization_invitations 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_organization_invitations --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_transfer_projects_from_org_to_org 0 parameters
Schema command
kosmo integrations:schema neon.neon_transfer_projects_from_org_to_org --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_organization_v_p_c_endpoints_all_regions 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_organization_v_p_c_endpoints_all_regions --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_organization_v_p_c_endpoints 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_organization_v_p_c_endpoints --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_organization_v_p_c_endpoint_details 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_organization_v_p_c_endpoint_details --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_assign_organization_v_p_c_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_assign_organization_v_p_c_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_organization_v_p_c_endpoint 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_organization_v_p_c_endpoint --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_active_regions 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_active_regions --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_current_user 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_current_user --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_current_user_organizations 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_current_user_organizations --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_transfer_projects_from_user_to_org 0 parameters
Schema command
kosmo integrations:schema neon.neon_transfer_projects_from_user_to_org --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_auth_details 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_auth_details --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_create_snapshot 0 parameters
Schema command
kosmo integrations:schema neon.neon_create_snapshot --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_list_snapshots 0 parameters
Schema command
kosmo integrations:schema neon.neon_list_snapshots --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_delete_snapshot 0 parameters
Schema command
kosmo integrations:schema neon.neon_delete_snapshot --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_update_snapshot 0 parameters
Schema command
kosmo integrations:schema neon.neon_update_snapshot --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_restore_snapshot 0 parameters
Schema command
kosmo integrations:schema neon.neon_restore_snapshot --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_get_snapshot_schedule 0 parameters
Schema command
kosmo integrations:schema neon.neon_get_snapshot_schedule --json
ParameterTypeRequiredDescription
No parameters.
neon.neon_set_snapshot_schedule 0 parameters
Schema command
kosmo integrations:schema neon.neon_set_snapshot_schedule --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.