curl --request GET \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>'import requests
response = requests.get( "https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"},)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/gpu/dbaas/{managed_db_id}/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "GET", headers: { "Authorization": "Bearer <API_TOKEN>" },});console.log(await response.json());Returns one database. Needs the Read permission on DBaaS.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Database ID
Query Parameters
Section titled “Query Parameters”Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Responses
Section titled “Responses”The database
object
object
Creating while the database is being set up, started or restarted, Running, Scaling while the disk grows, Degraded when the database is serving but its health could not be fully confirmed (Stop and Restart are also accepted from it), Stopped, Failed when the launch did not finish or a storage resize did not complete, and Terminating while it is deleted.
VCPUs, set by the plan.
Memory, set by the plan.
Disk size in GB.
Public read-write address and port. null until the database first reaches Running, and while it has no IP allowlist.
true when the database cannot be deleted.
The attached parameter group.
object
The plan: its specification under specs and its pricing under plan. null when the plan is gone.
object
IPv4 ranges allowed to reach the public endpoint.
object
Description of the range; empty when none was given.
The VPC attachment. null when no VPC is attached.
object
The database’s address in the VPC.
The database’s VPC address; null without a VPC.
true when the vector extension was chosen at creation.
Extensions set at creation.
object
Example
{ "code": 200, "message": "Success", "data": { "id": 123, "name": "orders-db", "engine": "postgresql", "engine_version": "16", "status": "Creating", "cpu": "4", "memory": "16Gi", "disk_size": 100, "endpoint_url": "<host>:5432", "public_ip": "203.0.113.25", "private_ip": "10.0.4.17", "deletion_protection": false, "parameter_group_id": null, "created_by": { "id": 501, "name": "Example User", "email": "user@example.com", "username": "user@example.com" }, "created_at": "2026-10-21T11:17:29Z", "updated_at": "2026-10-21T11:31:05Z", "ip_allowlist": [ { "cidr": "203.0.113.0/24", "label": "office VPN" } ], "location": "Chennai", "vpc_id": null, "vpc": { "id": 41, "vpc_name": "app-vpc", "subnet_name": "app-subnet", "resource_type": "Database", "resource_name": "orders-db", "object_id": 123, "ip_address": "10.10.0.12", "status": "Attached", "attached_at": "2026-10-21T11:20:02Z", "created_at": "2026-10-21T11:17:29Z" }, "vpc_private_ip": null, "pgvector_enabled": true, "extensions": [ "pg_stat_statements", "vector" ] }, "errors": {}}The project ID is missing or is not a number.
object
object
Example
{ "code": 400, "message": "Bad Request", "data": {}, "errors": "Project ID is missing or invalid"}The caller lacks the permission the call needs on the project, or the region is not allowed.
object
object
Example
{ "code": 403, "message": "Forbidden", "data": {}, "errors": "You don't have permission to access this service. Please verify your policy or project."}No database with that ID in the project and region.
object
object
Example
{ "code": 404, "message": "Bad Request", "data": {}, "errors": "Invalid request! Database Not Found"}