Skip to main content
GET
/
api
/
databases
/
{databaseName}
/
tables
Returns a list of tables in a database.
curl --request GET \
  --url http://127.0.0.1:47334/api/databases/{databaseName}/tables
[
  {
    "name": "<string>",
    "type": "<string>"
  }
]
The REST API endpoints can be used with MindsDB running locally at http://127.0.0.1:47334/api.

Path Parameters

databaseName
string
required

The name of the database

Response

A JSON array of tables

name
string
type
string

Type of table (data | view)

I