Retrieve branch details

Retrieves information about the specified branch. You can obtain a project_id by listing the projects for your Neon account. You can obtain a branch_id by listing the project's branches. A branch_id value has a br- prefix.

Each Neon project is initially created with a root and default branch named main. A project can contain one or more branches. A parent branch is identified by a parent_id value, which is the id of the parent branch. For related information, see Manage branches.

Path Params
string
required

The Neon project ID

string
required

The branch ID

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json