cURL
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", "expandable": true, "created": "2023-11-07T05:31:56Z", "deleted": "2023-11-07T05:31:56Z", "apiHost": "<string>", "dbHost": "<string>" } ]
Lists all of the databases in a workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A list of GetDatabaseResponse objects.
The response is of type object[].
object[]
Was this page helpful?