{
  "date": "2026-09-18T14:22:52.302Z",
  "build": "http://localhost:3300",
  "org": "learnmu4qn1ha",
  "identities": [
    "Lina Tutorial",
    "Kofi"
  ],
  "checks": {
    "/health": {
      "status": 200,
      "body": {
        "isHealthy": true,
        "degraded": false,
        "services": {
          "memory": {
            "status": "up",
            "usage": {
              "heapUsed": 465,
              "heapTotal": 494,
              "rss": 510,
              "usedPercentage": 45
            },
            "message": "Memory usage is normal"
          },
          "database": {
            "status": "up",
            "responseTime": 1,
            "message": "MongoDB reachable"
          },
          "keydb": {
            "status": "up",
            "responseTime": 1,
            "message": "KeyDB replied PONG (ready)"
          },
          "s3": {
            "status": "up",
            "responseTime": 198,
            "message": "S3 reachable"
          }
        },
        "version": "0.132.0",
        "uptime": 15988.848057042,
        "timestamp": "2026-09-18T14:22:52.501Z",
        "responseTime": 198
      }
    },
    "/profile/whoami": {
      "status": 200,
      "body": "Anonymous User"
    },
    "/client-data/profile": {
      "status": 200,
      "body": {
        "_id": "6aad41ccbef5e1976f5c9102",
        "pk": "learnmu4qn1ha|customer",
        "sk": "6aad41ccbef5e1976f5c9102",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "email": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial",
          "audit": {
            "lastLogin": "2026-09-18T14:22:52.266Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-18T13:51:08.254Z",
        "modifydate": "2026-09-18T14:22:52.266Z"
      }
    },
    "/client-data/dashboard": {
      "status": 200,
      "body": {
        "profile": {
          "_id": "6aad41ccbef5e1976f5c9102",
          "pk": "learnmu4qn1ha|customer",
          "sk": "6aad41ccbef5e1976f5c9102",
          "name": "lina.events@example.invalid",
          "version": 0,
          "datatype": "customer",
          "data": {
            "groups": [
              "Customer"
            ],
            "username": "lina.events@example.invalid",
            "email": "lina.events@example.invalid",
            "firstName": "Lina",
            "lastName": "Tutorial",
            "audit": {
              "lastLogin": "2026-09-18T14:22:52.266Z",
              "meta": {
                "ip": "::1",
                "host": "localhost:3300",
                "country": null,
                "city": null,
                "state": null,
                "agent": "node"
              }
            }
          },
          "created_by": "system",
          "state": "draft",
          "createdate": "2026-09-18T13:51:08.254Z",
          "modifydate": "2026-09-18T14:22:52.266Z"
        },
        "summary": {
          "activeOrders": 0,
          "upcomingReservations": 0,
          "openTickets": 0,
          "unreadNotifications": 4,
          "totalPaymentMethods": 0,
          "activePaymentMethods": 0,
          "pendingEnrollments": 0
        },
        "recentOrders": [],
        "paymentMethods": [],
        "analytics": {
          "visitors": {
            "total": 0,
            "change": 0
          },
          "pageViews": {
            "total": 0,
            "change": 0
          },
          "revenue": {
            "total": 0,
            "change": 0
          },
          "orders": {
            "total": 0,
            "change": 0
          }
        },
        "addresses": {
          "total": 0,
          "datatype": "address",
          "pageSize": 50,
          "page": 1,
          "sort": "modifydate",
          "sortType": -1,
          "lastPage": 1,
          "hasNext": false,
          "fromCache": false,
          "data": []
        },
        "benefits": {
          "customerId": "6aad41ccbef5e1976f5c9102",
          "customerGroups": [
            "Customer"
          ],
          "directBenefits": [],
          "benefits": [],
          "enrollments": {
            "pending": [],
            "active": [],
            "rejected": []
          },
          "availableBenefits": []
        },
        "affiliate": {
          "enrollments": [],
          "availablePrograms": []
        }
      }
    },
    "/client-data/orders": {
      "status": 200,
      "body": {
        "total": 0,
        "datatype": "sf_order",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      }
    },
    "/client-data/reservations": {
      "status": 200,
      "body": {
        "total": 0,
        "datatype": "reservation",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      }
    },
    "missingOrg": {
      "status": 400,
      "body": {
        "code": "missing_orgid",
        "statusCode": 400,
        "error": "Organization ID is required. Pass orgid as a header, query param, or body field.",
        "path": "/",
        "method": "GET",
        "timeStamp": "2026-09-18T14:22:52.545Z"
      }
    },
    "noAuth": {
      "status": 401,
      "body": {
        "code": "missing_authorization_header",
        "statusCode": 401,
        "error": "Authorization header is required. Send requests with `Authorization: Bearer <token>`.",
        "path": "/client-data/reservations",
        "method": "GET",
        "timeStamp": "2026-09-18T14:22:52.547Z"
      }
    },
    "staffDashboard": {
      "status": 404,
      "body": {
        "statusCode": 404,
        "error": "customer {\"username\":\"learnmu4qn1ha@example.com\",\"email\":\"learnmu4qn1ha@example.com\"} not found ",
        "path": "/client-data/dashboard",
        "method": "GET",
        "timeStamp": "2026-09-18T14:22:52.554Z"
      }
    },
    "profileUpdate": {
      "status": 200,
      "body": ""
    },
    "profileAfter": {
      "status": 200,
      "body": {
        "_id": "6aad41ccbef5e1976f5c9102",
        "pk": "learnmu4qn1ha|customer",
        "sk": "6aad41ccbef5e1976f5c9102",
        "name": "lina.events@example.invalid",
        "version": 0,
        "datatype": "customer",
        "data": {
          "groups": [
            "Customer"
          ],
          "username": "lina.events@example.invalid",
          "email": "lina.events@example.invalid",
          "firstName": "Lina",
          "lastName": "Tutorial",
          "audit": {
            "lastLogin": "2026-09-18T14:22:52.266Z",
            "meta": {
              "ip": "::1",
              "host": "localhost:3300",
              "country": null,
              "city": null,
              "state": null,
              "agent": "node"
            }
          }
        },
        "created_by": "system",
        "state": "draft",
        "createdate": "2026-09-18T13:51:08.254Z",
        "modifydate": "2026-09-18T14:22:52.266Z"
      }
    },
    "refresh": {
      "status": 201,
      "body": {}
    },
    "definitions": {
      "status": 201,
      "body": {
        "total": 0,
        "datatype": "reservation_definition",
        "pageSize": 50,
        "page": 1,
        "sort": "modifydate",
        "sortType": -1,
        "lastPage": 1,
        "hasNext": false,
        "fromCache": false,
        "data": []
      }
    }
  }
}