Branch

Retrieve database details

Retrieves information about the specified database. For related information, see Manage databases.

get/projects/{project_id}/branches/{branch_id}/databases/{database_name}

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/databases/{database_name}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Response

Returned the database details

Example response

{
  "database": {
    "id": 834686,
    "branch_id": "br-wispy-meadow-118737",
    "name": "neondb",
    "owner_name": "casey",
    "created_at": "2022-11-30T18:25:15Z",
    "updated_at": "2022-11-30T18:25:15Z"
  }
}

Changes

No recorded changes to this operation across all 15 revisions of this API.