---
title: "Read /api/traffic through its compatible /api/public/traffic route."
method: GET
path: "/api/public/traffic"
tags: ["Catalog", "Agent Docs"]
---

# Read /api/traffic through its compatible /api/public/traffic route.

`GET /api/public/traffic`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/public/traffic`
- Auth: none declared

Same handler and response as GET /api/traffic. Public pulse for humans, answer engines, and agents. No raw IPs, visitor keys, user agents, or referrers are returned.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

## Query parameters

- `compat` 'containment'

## Response `200`

Public traffic pulse

- PublicTraffic
  - `schemaVersion` 'hugging-bay.public-traffic.v1', required
  - `generatedAt` string, nullable, required: Oldest available exact-window evidence timestamp; null when no exact window is available. Per-window asOf and persistedAt distinguish evidence time from persistence time.
  - `baseUrl` string
  - `webUrl` string
  - `apiUrl` string
  - `available` boolean, required
  - `degraded` boolean
  - `source` 'first-party-rollup' | 'stale-first-party-rollup' | 'fallback'
  - `reason` string
  - `persistence` string
  - `instrumentation` object
  - `totals` object, required
  - `windows` object[], required
  - `links` object
  - `privacy` object, required
    - `rawIpsExposed` unknown, required
    - `rawVisitorKeysExposed` unknown, required
    - `rawUserAgentsExposed` unknown, required
    - `rawReferrersExposed` unknown, required
    - `referrersSuppressed` unknown
  - `agentUse` object

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/63c474bf0fe4?raw)
