---
title: "List SQL databases"
method: GET
path: "/storage/sqldbs"
tags: ["sql databases"]
---

# List SQL databases

`GET /storage/sqldbs`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/storage/sqldbs`
- Auth: HTTP bearer

Lists the SQL databases for the authenticated user's organization. Results use page-based pagination (`page[number]`/`page[size]`) and can be filtered and sorted.

## Query parameters

- `page[number]` integer
- `page[size]` integer
- `filter[name]` string
- `filter[status]` 'pending' | 'provision_ok' | 'provision_failed' | 'deleting' | 'delete_failed'
- `sort` 'name' | '-name' | 'status' | '-status' | 'created_at' | '-created_at'

## Response `200`

SQL databases retrieved successfully

- SqlDatabaseListResponseWrapper
  - `data` SqlDatabase[]
    - `record_type` string
    - `id` string, uuid
    - `name` string
    - `status` 'pending' | 'provision_ok' | 'provision_failed' | 'deleting' | 'delete_failed': Provisioning status. A database is usable once `status` is `provision_ok`. Once deletion completes, the database no longer appears in the API.
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `meta` EdgeComputePaginationMeta
    - `page_number` integer
    - `page_size` integer
    - `total_pages` integer
    - `total_results` integer

## Other responses

- `401`: Unauthorized
- `422`: Validation error — an unsupported `sort` or `filter` value
- `500`: Internal server error

## Changes

- **2026-10-21** `67df31283a8a`: 2 breaking, 2 info
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `401`
  - the `errors/items/code` response's property type changed from `integer` to `string`, and format from `int32` to no format for status `422`
  - added the optional property `errors/items/description` to the response with the `401` status
  - added the optional property `errors/items/description` to the response with the `422` status
- **2026-10-15** `a72569d69430`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/team-telnyx/apis/telnyx-api/changes/storage/sqldbs/get.md)

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
