Branch
Retrieve number of branches
Retrieves the total number of branches in the specified project. Supports an optional search parameter to count branches matching a name filter.
get/projects/{project_id}/branches/count
Request
- Base URL: https://console.neon.tech/api/v2
- URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/count
- Auth: one of:
- HTTP bearer
- API key in cookie zenith
- API key in cookie keycloak_token
Query parameters
searchstring
Count branches matching the name in search query
Response
Returned a count of branches for the specified project
Changes
No recorded changes to this operation across all 15 revisions of this API.