---
search:
  tags:
    - database-services
    - GET
seo:
  description: >-
    Fetch a log snapshot from one of the… Reference for the GET
    /api/v1/database-services/{id}/servers/{serverId}/logs endpoint in the
    TimescaleDB Enterprise API.
  noindex: true
sidebar:
  label: Fetch logs from a server
  badge: GET
title: Fetch logs from a server
type: openapi-operation
---
Fetch a log snapshot from one of the service's servers over SSH.

`GET /api/v1/database-services/{id}/servers/{serverId}/logs`

**Responses**

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

Response example, 200:

```json
"string"
```
