Skip to main content
GET
/
databases
/
{database_id}
Get specific database details
curl --request GET \
  --url https://shardcloud.app/api/databases/{database_id} \
  --header 'Authorization: Bearer <token>'
{
  "database": {
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "ram": 123,
    "name": "<string>",
    "is_app": true,
    "blocked_until": "2023-11-07T05:31:56Z",
    "setup": true,
    "created_at": "2023-11-07T05:31:56Z",
    "last_setup_at": "2023-11-07T05:31:56Z",
    "vcpu": 123,
    "service_type": "postgres",
    "visualizer": true,
    "size": 123
  },
  "project_info": {
    "ram": [
      123
    ],
    "vcpu": [
      123
    ],
    "storage": 123,
    "network_receive": [
      123
    ],
    "network_send": [
      123
    ]
  },
  "replica_status": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

database_id
string<uuid>
required

Response

Database details

database
object
project_info
object
replica_status
string[]
I