Discover branch databases
Inspect a branch before connecting or running administrative work.
Neon · Command
Lists the databases belonging to a specified Neon branch. The operation is read-only and returns the branch's database collection.
The command retrieves the databases belonging to a Neon branch. Provide the branch identifier as an argument; the command is read-only and does not modify database state.
neonctl databases list <branch_id>| Name | Type | Description |
|---|---|---|
branch_id | string | Identifier of the Neon branch whose databases should be listed. |
A list of databases for the specified branch.
neon databases list <branch_id>Lists the databases on the specified branch.
Inspect a branch before connecting or running administrative work.
Verify which databases exist after provisioning or migration automation.
Feed database metadata into scripts that select a target database.
neonctl databases list do?It lists the databases associated with a specified Neon branch. The branch ID is required because databases belong to branches.
Follow-up: How would you identify the branch to query? Use the Neon CLI's branch-listing command or obtain the branch ID from the project configuration.
The command is read-only: it retrieves database metadata and does not create, alter, or delete a database.
Follow-up: Which operation would remove a database? Use the database-delete command with the appropriate branch context and database target.
The command requires a branch identifier, represented as <branch_id> in the CLI syntax. A branch can contain multiple databases, so the result describes that branch's database collection.
Follow-up: What API operation corresponds to this behavior? The branch-database list operation, using the project ID and branch ID as path parameters.
neon databases createneon databases deleteneon branches listList databases