---
title: "Trigger Run Daily Report"
method: POST
path: "/api/analytics/run-daily-report"
tags: ["analytics"]
---

# Trigger Run Daily Report

`POST /api/analytics/run-daily-report`

## Request

- Base URL: `https://otakusolutions.com` (the document declares no server; this is the origin it was published from)
- URL: `https://otakusolutions.com/api/analytics/run-daily-report`
- Auth: none declared

자정 스케줄러와 동일한 프로세스를 수동 실행 (디버그용)

프로세스:
1. page_views → daily_stats 집계
2. 텔레그램 보고서 발송
3. Google Drive 백업
4. 오래된 page_views 정리

## Query parameters

- `date` string: 보고서 대상 날짜 (yyyy-MM-dd), 미지정 시 오늘(KST)

## Headers

- `x-admin-key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage.md) - [All operations](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage/llms.txt) - [OpenAPI document](https://skmtc.dev/otakusolutions/apis/otakusolutions-homepage/revisions/e5bf958d0a23?raw)
