Skip to main content

REST - /v1/meta

caution
This section of the documentation is deprecated and will be removed in the future.
Please refer to the OpenAPI documentation for the most up-to-date information.

For client examples, see this section.

Usage

The meta endpoint accepts a GET request:

GET /v1/meta

And it returns the following fields:

  • hostname: The location of the Weaviate instance.
  • version: The version of Weaviate.
  • modules: Module specific info.

Example

The following command:

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.