curl --request GET \ --url http://127.0.0.1:47334/v1/api/api/databases/{databaseName}/tables
Copy
Ask AI
[ { "name": "<string>", "type": "<string>" }]
Tables
List Tables
Gets metadata for all tables in a database.
GET
/
api
/
databases
/
{databaseName}
/
tables
Returns a list of tables in a database.
Copy
Ask AI
curl --request GET \ --url http://127.0.0.1:47334/v1/api/api/databases/{databaseName}/tables
Copy
Ask AI
[ { "name": "<string>", "type": "<string>" }]
The REST API playground can currently only be used with MindsDB running locally at http://127.0.0.1:47334. Support for MindsDB Cloud is in progress. In the meantime,
check out our SQL example for how to use the REST API with MindsDB Cloud.