How to get Dgraph version information from client?

Since the API changes (you just showed changes to the latest, will the responses ever include the version of dGraph so that clients will )know what version the server they’re connecting to is running?

Hi @coyote,

Thanks for the question. Currently, the /health endpoint is the best way to check what version of dgraph you are running; it’s available in the “version” field.


Not sure about all the clients, but dgraph4j and pydgraph do expose a client method, to get the version of dgraph they are interacting with. It is called checkVersion() in dgraph4j and check_version() in pydgraph.

See this issue and the related PR for more details.

And CheckVersion() in .net/C# client