Views
Create a View
Creates a view from a SELECT statement.
POST
/
api
/
projects
/
{projectName}
/
views
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.
Path Parameters
projectName
string
requiredThe name of the project
Body
application/json
view
object
Response
200 - application/json
name
string
query
string
SELECT query used to create the view