GET
/
workspaces
/
{workspaceSlug}
/
databases
curl --request GET \
  --url https://global.thenile.dev/workspaces/{workspaceSlug}/databases \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "workspace": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "stripe_customer_id": "<string>",
      "created": "2023-11-07T05:31:56Z"
    },
    "status": "PENDING",
    "region": "AWS_US_WEST_2",
    "created": "2023-11-07T05:31:56Z",
    "apiHost": "<string>",
    "dbHost": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceSlug
string
required

Response

200
application/json
A list of GetDatabaseResponse objects.
id
string
required
name
string
required
workspace
object
required
status
enum<string>
required
Available options:
PENDING,
REQUESTED,
BUILT,
READY
region
enum<string>
required
Available options:
AWS_US_WEST_2,
AWS_EU_CENTRAL_1,
AZURE_EASTUS
apiHost
string
required
created
string
dbHost
string