---
title: "Site Overview"
method: GET
path: "/api/sites/{site}/overview"
---

# Site Overview

`GET /api/sites/{site}/overview`

## Request

- Base URL: `https://smartcrawler.io` (the document declares no server; this is the origin it was published from)
- URL: `https://smartcrawler.io/api/sites/{site}/overview`
- Auth: none declared

6 个指标卡 + 趋势序列。

线上 products 已是百万级表，报表首屏不能在请求路径上实时聚合
count/distinct/sum。站点级指标由 worker/维护脚本刷新到 site_metrics，
这里只读小表和趋势表，保证打开报表是稳定的毫秒级查询。

## Path parameters

- `site` string, required

## Query parameters

- `granularity` string
- `date_from` string, nullable
- `date_to` string, nullable

## Headers

- `X-Workspace-ID` string, nullable
- `authorization` string
- `X-API-Key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent.md) · [All operations](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/revisions/a0eb313934e4?raw)
