GET
/
v1
/
organizations
/
{organizationName}
/
databases
/
{databaseName}
curl -L 'https://api.turso.tech/v1/organizations/{organizationName}/databases/{databaseName}' \
-H 'Authorization: Bearer TOKEN'
{
  "database": {
    "Name": "my-db",
    "DbId": "0eb771dd-6906-11ee-8553-eaa7715aeaf2",
    "Hostname": "[databaseName]-[organizationName].turso.io",
    "block_reads": true,
    "block_writes": true,
    "allow_attach": true,
    "regions": [
      "lhr",
      "bos",
      "nrt"
    ],
    "primaryRegion": "lhr",
    "type": "logical",
    "version": "0.22.22",
    "group": "default",
    "is_schema": true,
    "schema": "<string>",
    "sleeping": true
  }
}
curl -L 'https://api.turso.tech/v1/organizations/{organizationName}/databases/{databaseName}' \
-H 'Authorization: Bearer TOKEN'

Path Parameters

organizationName
string
required

The name of the organization or user.

databaseName
string
required

The name of the database.

Response

200 - application/json
database
object