Turso
List Turso organization databases
Turso lists databases through the Platform API or the turso CLI. Both methods can filter by group, making it straightforward to verify which databases exist before a deployment or migration.
Documentation reviewed · 2 methods with sources
Ways to do it
API
GET /v1/organizations/{organizationSlug}/databases
Return the databases visible to an organization-scoped Turso API token, optionally filtered by group.
Read source: Turso Platform API List Databases- Requirements
- A Turso Platform API token in the Authorization Bearer header, the organization slug, and the read scope for GET-style routes.
- Limitations
- The token is organization- or group-scoped. A group-scoped token cannot enumerate databases outside its group, and the API response reflects the token's visibility.
Example shell
curl --fail --header "Authorization: Bearer $TURSO_API_TOKEN" "https://api.turso.tech/v1/organizations/$TURSO_ORG/databases?group=default"CLI
turso db list
List databases for the current Turso user or organization, optionally limiting the output to one group.
Read source: Turso CLI db list- Requirements
- The Turso CLI, an authenticated turso auth login session, and an organization selected with turso org switch when needed.
- Limitations
- The CLI lists databases in the currently selected account or organization. Use --group for a single group rather than assuming the default group.
Example shell
turso db list --group default