Skip to main content
GET
/
databases
Get all databases for authenticated user
curl --request GET \
  --url https://shardcloud.app/api/databases \
  --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": [
      "not_found"
    ]
  }
]

Authorizations

Authorization
string
header
required

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

Response

List of databases with their info

database
object
project_info
object
replica_status
enum<string>[]
I