---
title: "Live"
method: GET
path: "/api/insights/live"
tags: ["insights"]
---

# Live

`GET /api/insights/live`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/insights/live`
- Auth: HTTP bearer

The four auto-refreshing Overview cards.

Polled every ``refresh_seconds`` by the page. Reads stored rows only —
no provider is called here; the daily tick is what refreshes the rows —
so a poll costs a handful of indexed queries. Every card states whether
its number was measured; the page shows that state, never a fake zero.

## Headers

- `X-Tenant-Id` integer, nullable

## Response `200`

Successful Response

- InsightsLiveOut
  - `polled_at` string, date-time, required
  - `refresh_seconds` integer
  - `reporting` InsightsReportingOut, required: Why the summary is empty or zero — never a substitute for numbers.
    - `state` string, required
    - `managed_account_count` integer, required
    - `detail` string, required
    - `connectors_url` string, required
    - `since` string, nullable
    - `until` string, nullable
    - `observed_at` string, nullable
    - `currency` string, nullable
  - `ad_spend` LiveAdSpendOut, required
    - `state` string, required
    - `detail` string
    - `as_of` string, date-time, nullable
    - `through` string, nullable
    - `cycle_label` string
    - `cycle_spend` number, nullable
    - `previous_cycle_spend` number, nullable
    - `delta` string, nullable
    - `trend` SpendPointOut[]
      - `date` string, required
      - `spend` number, required
    - `platforms` LivePlatformSpendOut[]
      - `platform` string, required
      - `spend` number, required
  - `traffic` LiveTrafficOut, required
    - `state` string, required
    - `detail` string
    - `as_of` string, date-time, nullable
    - `through` string, nullable
    - `source` string, nullable
    - `unit` string
    - `window_days` integer
    - `paid` integer, nullable
    - `organic` integer, nullable
    - `other` integer, nullable
    - `paid_share` number, nullable
  - `approvals` LiveApprovalsOut, required
    - `state` string, required
    - `detail` string
    - `as_of` string, date-time, nullable
    - `through` string, nullable
    - `count` integer
    - `items` LiveApprovalItemOut[]
      - `id` integer, required
      - `title` string, required
      - `playbook_key` string, required
      - `account_label` string, nullable
      - `created_at` string, date-time, required
    - `href` string
  - `conversions` LiveConversionsOut, required
    - `state` string, required
    - `detail` string
    - `as_of` string, date-time, nullable
    - `through` string, nullable
    - `conversions` number, nullable
    - `revenue` number, nullable
    - `roas` number, nullable
    - `tracks_revenue` boolean
    - `conversions_delta` string, nullable
    - `revenue_delta` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
