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

# Boostrap Seasonality URL

This endpoint allows you to bootstrap auto seasonality, by uploading a `*.csv` file directly to Kevel Forecast.
When you create a new ingest URL, we'll give you back a signed URL to upload the file to.

The file needs to be in CSV format, containing the total events per day with the following format, where:

* `events`: the total number of events for a given day.
* `site:<ID>`: the total number of events for a specific site where `<ID>` is the the Kevel's Site identifier.

```csv
date,events,site:4572,site:7643
2025-01-01,236632,206845,29787
2025-01-02,690062,288547,401515
```

Kevel Forecast requires 13 months of data for the boostrap.

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


Example block

# 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/ingest-url": {
      "post": {
        "tags": [
          "Auto Seasonality"
        ],
        "summary": "Boostrap Seasonality URL",
        "description": "This endpoint allows you to bootstrap auto seasonality, by uploading a `*.csv` file directly to Kevel Forecast.\nWhen you create a new ingest URL, we'll give you back a signed URL to upload the file to.\n\nThe file needs to be in CSV format, containing the total events per day with the following format, where:\n\n* `events`: the total number of events for a given day.\n* `site:<ID>`: the total number of events for a specific site where `<ID>` is the the Kevel's Site identifier.\n\n```csv\ndate,events,site:4572,site:7643\n2025-01-01,236632,206845,29787\n2025-01-02,690062,288547,401515\n```\n\nKevel Forecast requires 13 months of data for the boostrap.\n\nSee [Auto Seasonality](ref:auto-seasonality) for more details on this feature.\n",
        "requestBody": {
          "description": "The JSON object with name of the file to be uploaded",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "filename": {
                    "type": "string",
                    "description": "The name of the file to be pushed to the ingest URL.\n",
                    "example": "example.csv"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Normal response, containing a JSON object with the signed Amazon S3 URL",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The signed URL for the Amazon S3 Bucket to where the file can be uploaded\n"
                    },
                    "status": {
                      "type": "string",
                      "description": "A fully-formed URL you can `GET` to track the ingestion status of this upload. The URL points\nat `/forecaster/auto-seasonality/ingest-status` with the appropriate `file` query parameter\nalready filled in.\n"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Adzerk-ApiKey"
      }
    }
  }
}
````