cURL
curl --request GET \ --url https://global.thenile.dev/workspaces/{workspaceSlug}/databases/{databaseName} \ --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>" }
Gets details of a database.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Database details
The response is of type object.
object
Was this page helpful?