---
title: "Version and configuration info"
description: "Retrieve Aerospike Graph Service version and configuration details using specific Gremlin metadata commands."
---

# Version and configuration info

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

## Overview

Aerospike Graph Service (AGS) provides a mechanism for retrieving version and configuration information about existing graph databases.

## Version information

To view the AGS and Aerospike Database version information for an existing graph database, use the `aerospike.graph.admin.metadata.version` Gremlin command.

```plaintext
g.call("aerospike.graph.admin.metadata.version").next()
```

The `aerospike.graph.admin.metadata.version` step returns a Map with the following elements:

| Element | Description |
| --- | --- |
| `Aerospike version` | Aerospike version string in the format of “NODE\_1:VERSION\_1,…,NODE\_n:VERSION\_n” for n total Aerospike nodes. |
| `Aerospike Graph Service version` | AGS version. |

## Configuration information

To view the configuration setup for an existing graph database, use the `aerospike.graph.admin.metadata.config` Gremlin command.

```plaintext
g.call("aerospike.graph.admin.metadata.config").next()
```

### Optional parameters

| Parameter | Type | Values | Description |
| --- | --- | --- | --- |
| `mode` | string | `full`, `delta` | `full` returns all configuration options, including defaults. `delta` returns only options set by the user. If `mode` is omitted, the response includes all configuration options. |

#### Examples

```groovy
// Default (all configuration options)

g.call("aerospike.graph.admin.metadata.config").next()

// All options, including defaults

g.call("aerospike.graph.admin.metadata.config")

 .with("mode","full")

 .next()

// Only options explicitly set by the user

g.call("aerospike.graph.admin.metadata.config")

 .with("mode","delta")

 .next()
```

::: note
The `full` response can be large in production. Use `delta` when you only need user-set options.
:::

### Response format

The `aerospike.graph.admin.metadata.config` step returns a Map with the following elements:

| Element | Description |
| --- | --- |
| `Gremlin Server Configuration` | YAML file used to initialize the Gremlin server. |
| `Graph Properties` | Properties file used to initialize AGS. |