---
title: "FTP Monitor Check-Historie abrufen"
description: "Gibt die letzten FTP-Check-Ergebnisse für einen Monitor zurück."
---

`GET /api/ftp-monitors/:ftpMonitorPublicId/check-history`

## Authentifizierung

`Authorization: Bearer <token>`

## Parameter

- `ftpMonitorPublicId` (Pfad, erforderlich): Öffentliche UUID des FTP Monitors.
- `limit` (Query, optional): Anzahl Ergebnisse (Default: 50, Max: 200)

## Beispiel (cURL)

```bash
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"

curl -X GET \
  "$BASE_URL/api/ftp-monitors/55555555-5555-4555-8555-555555555555/check-history?limit=25" \
  -H "Authorization: Bearer $TOKEN"
```

## Beispiel Response

```json
{
  "data": [
    {
      "id": "2fd6d5ab-1e2a-4b4f-9c42-0f3a33a4a1d2",
      "status": "success",
      "errorMessage": null,
      "warningMessage": null,
      "timingFtp": 123,
      "diagnostics": {
        "message": "FTP connection successful"
      },
      "checkedAt": "2026-02-25T10:05:00.000Z",
      "locationId": 7,
      "locationName": "Nuremberg (DE)",
      "locationCode": "de-nbg"
    }
  ]
}
```

## Häufige Fehler

- `400 FTP monitor public ID (UUID) required` wenn `ftpMonitorPublicId` fehlt oder ungültig ist
- `401 Unauthorized` wenn du nicht authentifiziert bist
- `403 Forbidden` wenn du keinen Zugriff hast
- `404 FTP monitor not found` wenn der Monitor nicht existiert

