---
updatedAt: 2026-05-29T09:25:47.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Preview Seasonality

Shows the derived seasonality event count.

See [Auto Seasonality](ref:auto-seasonality) for more details on this feature.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Forecast API",
    "description": "The Kevel Forecast API",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.kevel.co/v1"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/forecaster/auto-seasonality/preview": {
      "get": {
        "summary": "Preview Seasonality",
        "description": "Shows the derived seasonality event count.\n\nSee [Auto Seasonality](ref:auto-seasonality) for more details on this feature.\n",
        "tags": [
          "Auto Seasonality"
        ],
        "responses": {
          "200": {
            "description": "Normal response, containing a JSON object with the preview data.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "success",
                        "no-seasonality-model-available",
                        "not-enough-data-points"
                      ],
                      "description": "The status of the response.",
                      "example": "success"
                    },
                    "results": {
                      "description": "The object with global results if available.\n",
                      "type": "object",
                      "properties": {
                        "withSeasonality": {
                          "type": "array",
                          "description": "Array of tuples with the total number of requests considering seasonality.\n",
                          "items": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "string",
                                "format": "date",
                                "description": "Entry date"
                              },
                              {
                                "type": "integer",
                                "description": "Entry count",
                                "example": 165709
                              }
                            ],
                            "minItems": 2,
                            "maxItems": 2,
                            "additionalItems": false
                          }
                        },
                        "withoutSeasonality": {
                          "type": "array",
                          "description": "Array of tuples with the total number of requests not considering seasonality.\n",
                          "items": {
                            "$ref": "#/paths/~1forecaster~1auto-seasonality~1preview/get/responses/200/content/application~1json/schema/properties/results/properties/withSeasonality/items"
                          }
                        }
                      }
                    },
                    "bySite": {
                      "type": "object",
                      "description": "The individual results broken down by Site.\nThe sum of these values may not equal the global results.\n",
                      "additionalProperties": {
                        "x-additionalPropertiesName": "<SITE-ID>",
                        "$ref": "#/paths/~1forecaster~1auto-seasonality~1preview/get/responses/200/content/application~1json/schema/properties/results"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Adzerk-ApiKey"
      }
    }
  }
}
```