Cluster metadata
You can retrieve metadata about the Weaviate instance, such as:
hostname: The location of the Weaviate instance.version: The version of Weaviate.modules: Module specific info.
Example
More infoCode snippets in the documentation reflect the latest client library and Weaviate Database version. Check the Release notes for specific versions.
If a snippet doesn't work or you have feedback, please open a GitHub issue.
If a snippet doesn't work or you have feedback, please open a GitHub issue.
import weaviate
client = weaviate.connect_to_local()
meta_info = client.get_meta()
print(meta_info)
client.close()
returns:
{
"hostname": "http://[::]:8080",
"modules": {
"text2vec-contextionary": {
"version": "en0.16.0-v0.4.21",
"wordCount": 818072
}
},
"version": "1.0.0"
}
Questions and feedback
If you have any questions or feedback, let us know in the user forum.
