Catalog
Agent Docs

Read /api/traffic through its compatible /api/traffic/summary route.

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.

get/api/traffic/summary

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/traffic/summary
  • Auth: none declared

Query parameters

compat'containment'

Deprecated legacy response block opt-in for one release only.

Response

Public traffic pulse

schemaVersion'hugging-bay.public-traffic.v1' required
generatedAtstring 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.

baseUrlstring
webUrlstring
apiUrlstring
availableboolean required
degradedboolean
source'first-party-rollup' | 'stale-first-party-rollup' | 'fallback'
reasonstring
persistencestring
instrumentationobject
totalsobject required
windowsobject[] required
linksobject
agentUseobject

Changes

No recorded changes to this operation across all 1 revision of this API.