Skip to main content

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

import weaviate

client = weaviate.connect_to_local()

try:
meta_info = client.get_meta()
print(meta_info)

finally:
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.