# AnalyticsHistoryDto

Source: https://frameleaf.app/docs/api/schema/AnalyticsHistoryDto/

```json
{
  "properties": {
    "dayRetentionDays": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "lastObservedAt": {
      "format": "date-time",
      "nullable": true,
      "type": "string"
    },
    "staleAfterHours": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "state": {
      "$ref": "#/components/schemas/AnalyticsState",
      "description": "unknown: never collected; stale: last collection is too old"
    },
    "weekRetentionDays": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "dayRetentionDays",
    "lastObservedAt",
    "staleAfterHours",
    "state",
    "weekRetentionDays"
  ],
  "type": "object"
}
```
