---
title: "Generate Marketing Insights"
method: POST
path: "/admin/stats/marketing-insights"
tags: ["admin"]
---

# Generate Marketing Insights

`POST /admin/stats/marketing-insights`

Generate AI-powered marketing insights from GA4 data and save to history.
Uses Claude Opus 4 via MegaNova API to analyze traffic data and provide
3 strategic suggestions with 3 action items each.

## Query parameters

- `days` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
