Zum Inhalt springen
aYOUne
← Monitoring API

CheckDailyStats

Singular: CheckDailyStat — Base-URL: https://monitoring-api.ayoune.app — Zugriff: read-only — Maschinenlesbare Beschreibung (JSON · YAML)

Jetzt ausprobieren beta

Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.

Beispiel-Response (aufgezeichnet) Beispiel

Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.

{
  "payload": {
    "_id": "6ab31b333e4ac8da65627868",
    "_check": "6ab23bafcbbf37c90058027c",
    "day": "2026-09-22T00:00:00.000Z",
    "avgResponseTimeMs": 2761,
    "createdAt": "2026-09-23T00:20:00.042Z",
    "failed": 1,
    "total": 1,
    "updatedAt": "2026-09-23T00:20:00.042Z",
    "shares": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://monitoring-api.ayoune.app/checkdailystats/6ab31b333e4ac8da65627868",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "Checks",
        "title": "MODEL_CHECK",
        "href": "https://api.ayoune.app/monitoring/checks/6ab23bafcbbf37c90058027c",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "monitoring.checks"
      }
    ],
    "relations": [
      {
        "rel": "Checks",
        "title": "MODEL_CHECK",
        "href": "https://api.ayoune.app/monitoring/checks",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "monitoring.checks"
      }
    ],
    "debugId": "6ad44d5350e24abeb1fdad2b",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_CHECKDAILYSTAT",
        "href": "https://api.ayoune.app/monitoring/checkdailystats/6ab31b333e4ac8da65627868/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_CHECKDAILYSTAT",
        "href": "https://api.ayoune.app/monitoring/checkdailystats/6ab31b333e4ac8da65627868",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.39.1",
      "core": "2026.379.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9542",
      "reset": "1792300634",
      "resetDate": "Sun Oct 18 2026"
    },
    "responseTime": 87.36298,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /checkdailystats Liste mit Filtern/Paginierung monitoring.checkdailystats.view
GET /checkdailystats/:id Einzelner Datensatz via ID monitoring.checkdailystats.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.monitoring.checkDailyStats.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.monitoring.checkDailyStats.findById('OBJECT_ID').exec();

Weiterführend