---
search:
  tags:
    - database-services
    - GET
seo:
  description: >-
    Reads the PostgreSQL version and the available… Reference for the GET
    /api/v1/database-services/{id}/info/versions endpoint in the TimescaleDB
    Enterprise API.
sidebar:
  label: Get observed versions
  badge: GET
title: Get observed versions
type: openapi-operation
---
Reads the PostgreSQL version and the available TimescaleDB libraries on every member, and the TimescaleDB extversion of every database on the live leader. Reports skew as warnings. A value that cannot be read is unknown, not skew.

`GET /api/v1/database-services/{id}/info/versions`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "databases": [
    {
      "error": "string",
      "name": "string",
      "timescaledb": "string"
    }
  ],
  "databases_error": "string",
  "members": [
    {
      "error": "string",
      "name": "string",
      "role": "string",
      "server_id": "string",
      "server_version": 0,
      "timescaledb_libraries": [
        "string"
      ]
    }
  ],
  "status": "ok",
  "unknown": [
    "string"
  ],
  "warnings": [
    {
      "databases": [
        "string"
      ],
      "kind": "postgresql_skew",
      "member": "string",
      "message": "string",
      "versions": [
        "string"
      ]
    }
  ]
}
```
