docs/minds/rest_api/get_mind.mdx
This API endpoint retrieves details about a specific Mind using the GET method.
None.
Timestamp of when the Mind was created.
</ResponseField> <ResponseField name="datasources" type="array" required>List of data sources connected to the Mind.
</ResponseField> <ResponseField name="model_name" type="string">The name of the model associated with the Mind.
</ResponseField> <ResponseField name="name" type="string" required>The unique name of the Mind.
</ResponseField> <ResponseField name="parameters" type="object">Optional parameters used when configuring the Mind.
</ResponseField> <ResponseField name="provider" type="string">The provider used for the Mind (e.g., openai).
</ResponseField> <ResponseField name="updated_at" type="string">Timestamp of the last update to the Mind.
</ResponseField>A valid API key must be passed in the Authorization header:
Authorization: Bearer MINDS_API_KEY
Generate your API key here.
The name of the Mind you want to retrieve details for.
</ParamField> <RequestExample>curl --request GET \
--url 'https://mdb.ai/api/projects/mindsdb/minds/mind_name' \
--header 'Authorization: Bearer MINDS_API_KEY'
from minds.client import Client
client = Client("MINDS_API_KEY", "https://mdb.ai/")
mind = client.minds.get('mind_name')
{
"created_at": "Thu, 12 Sep 2024 12:37:16 GMT",
"datasources": [],
"model_name": "gpt-4o",
"name": "mind_name",
"parameters": null,
"provider": "openai",
"updated_at": "Thu, 12 Sep 2024 12:37:16 GMT"
}