Databases
Managed databases, replicas, endpoints and attachments.
Base https://api.nodion.com. Short paths needX-Nodion-Project unless the path already has/v2/projects/{id}. Request bodies are in the interactive docs.
/v2/databasesList databases in the current project
/v2/databasesCreate a database in the current project
/v2/projects/{id}/databasesList databases
/v2/projects/{id}/databasesCreate a database
/v2/databases/{id}Get a database
Connection credentials are included only with the `db:credentials` scope (or a session / project key).
/v2/databases/{id}Upgrade the database package
/v2/databases/{id}Delete a database
/v2/databases/{id}/metricsGet database metrics
/v2/databases/{id}/engine_metricsGet database engine metrics
/v2/databases/{id}/backupsList database backups and settings
/v2/databases/{id}/backups/settingsUpdate database backup settings
/v2/databases/{id}/restoreRestore a database to a new fork at a point in time
/v2/databases/{id}/browse/namespacesList schemas or databases for read-only browse
/v2/databases/{id}/browse/tablesList tables and views in a namespace
/v2/databases/{id}/browse/rowsPreview rows from a table (read-only)
/v2/databases/{id}/browse/keysSCAN keys on a Valkey database
Opaque Redis SCAN cursor in `next_cursor`. Last page has `next_cursor: null`.
/v2/databases/{id}/browse/valuePreview a Valkey key value
/v2/databases/{id}/insightsQuery stats, live sessions and unused indexes (Postgres, MySQL)
/v2/databases/{id}/containersList database containers
/v2/databases/{id}/logs/historyQuery historical database logs
/v2/databases/{id}/attachmentsAttach a database to an application
/v2/database_attachments/{id}Update a database attachment's bindings
/v2/database_attachments/{id}Detach a database from an application
/v2/databases/{id}/replicasAdd a read replica
/v2/databases/{id}/haHigh availability status
/v2/databases/{id}/haEnable high availability (async standby)
/v2/databases/{id}/haUpdate HA settings (auto-failover, async/sync mode)
/v2/databases/{id}/haDisable high availability
/v2/databases/{id}/clusterClickHouse cluster status
/v2/databases/{id}/clusterEnable a 3-node ClickHouse cluster
/v2/databases/{id}/clusterDisable the ClickHouse cluster
/v2/databases/{id}/failoverPromote the HA standby (manual failover)
/v2/databases/{id}/endpointsEnable public endpoints
/v2/databases/{id}/endpointsDisable public endpoints
/v2/databases/{id}/allowed_cidrsSet the source-IP allowlist for public endpoints
/v2/databases/{id}/poolerEnable the connection pooler
/v2/databases/{id}/poolerDisable the connection pooler
/v2/databases/{id}/pooler/endpointEnable public access to the connection pooler
/v2/databases/{id}/pooler/endpointDisable public access to the connection pooler
/v2/databases/{id}/pooler/allowed_cidrsSet the source-IP allowlist for the public pooler
/v2/database_nodes/{id}Delete a database node (replica)
/v2/applications/{id}/attachmentsList an application's database attachments