Get LINE OA Report (multi-day digest)
line_get_oa_reportGet a LINE Official Account performance summary for any date range. Combines delivery, followers, demographics, and quota metrics into one digest report.
Instructions
Generate a digest of LINE OA performance over a date range. Bundles 8+ Insight API calls into a single Thai-friendly markdown report.
Args:
range: One of 'today' | 'yesterday' | 'this-week' | 'last-week' | 'this-month' | 'last-month', or { from: "YYYY-MM-DD", to: "YYYY-MM-DD" }. Default 'last-week'.
oa: optional OA id.
response_format: 'markdown' (default) | 'json'.
Returns (structured): { oa_id, range: { from, to, preset? }, delivery: { total, daily: [{ date, broadcast, multicast, push, reply, total }] }, followers: { latest_count?, follow?, unfollow?, net_gain? }, demographic_available: boolean, quota: { used, total, percentage_used }, notes: string[] // T-2 data lag note, privacy-floor note, etc. }
Notes:
LINE insight data has a T-2 lag (yesterday is the latest reliable date).
Insight is masked below the ~20-user privacy floor; report surfaces this.
Demographic only populated when the OA has enough consented friends.
Examples:
"สรุปสัปดาห์ที่แล้ว" → range: 'last-week'
"ดูข้อมูลเดือนนี้" → range: 'this-month'
"วิเคราะห์ 1-15 พ.ค." → range: { from: '2026-05-01', to: '2026-05-15' }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Date range. Preset strings or { from: 'YYYY-MM-DD', to: 'YYYY-MM-DD' }. | last-week |
| oa | No | ||
| response_format | No | markdown |