---
title: "Admin Traffic"
method: GET
path: "/v1/admin/traffic"
tags: ["admin"]
---

# Admin Traffic

`GET /v1/admin/traffic`

## Request

- Base URL: `https://vdb.ai.kr` (the document declares no server; this is the origin it was published from)
- URL: `https://vdb.ai.kr/v1/admin/traffic`
- Auth: none declared

Traffic stats over the last `hours`, or for one calendar day.

`date` — YYYY-MM-DD: that whole day in the report timezone (Asia/Seoul
    unless VDB_DIGEST_TZ says otherwise) instead of the last `hours`.
    The daily digest email reports on exactly this window, so
    `?date=<the email's date>&view=all&admin_filter=hide` returns the
    numbers the email showed.
`view` — high-level split by endpoint purpose (the main lens):
    api  — "feature calls": the product's analysis/lookup actions
           (query, search, check-packages, sbom scan) — someone
           actively USED a feature  ← default
    web  — "page reads": every other /v1 call (vuln detail, changelog,
           listings, admin) — the data fetches behind a page view
    all  — no filter
`source` — narrower filter when you want one specific class.
`admin_filter`:
    all   — no filter (default)
    hide  — exclude /v1/admin/* routes (= "real user traffic" view)
    only  — show only /v1/admin/* routes

The queries are vdb.traffic.collect — the digest calls the same function.

## Query parameters

- `hours` integer
- `source` string, nullable
- `view` string
- `admin_filter` string
- `date` string, nullable
- `as_user_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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