Skip to main content
GET
/
cloud
/
v1
/
dbaas
/
postgres
/
clusters
/
{project_id}
/
{region_id}
List DBAAS PostgreSQL Clusters.
curl --request GET \
  --url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "cluster_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "status": "DELETING",
      "version": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project identifier

region_id
integer
required

Region identifier

Query Parameters

limit
integer

Limit the number of returned tasks. Falls back to default of 10 if not specified.

offset
integer

Offset value is used to exclude the first set of records from the result

Response

200 - application/json

DBAAS PostgreSQL Clusters list

count
integer
required

Number of objects

Required range: x >= 0
Example:

1

results
PGClusterShortSerializer · object[]
required

Objects