curl --request PATCH \
     --url 'https://mdb.ai/api/projects/mindsdb/minds/mind_name' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer MINDS_API_KEY' \
     --data '{
         "name": "mind_name_new",
         "datasources": ["datasource_name"]
     }'
200 OK
This API endpoint updates the Mind name and/or the connected data sources using the PATCH method.

Body

name
string
Provide a new name for the Mind.
datasources
array
Provide an updated list of data sources to be connected to the Mind. Use this endpoint to create data sources.

Response

status
string
required
HTTP status code indicating success. 200 OK confirms the Mind was updated.

Authorization

A valid API key must be passed in the Authorization header:
Authorization: Bearer MINDS_API_KEY
Generate your API key here.

Path Parameters

mind_name
string
required
The name of the Mind you want to update.
curl --request PATCH \
     --url 'https://mdb.ai/api/projects/mindsdb/minds/mind_name' \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer MINDS_API_KEY' \
     --data '{
         "name": "mind_name_new",
         "datasources": ["datasource_name"]
     }'
200 OK