space.highport.manage.getSiteTraffic
Traffic to one domain the caller owns, over a range: requests and bytes per hour, the busiest paths, and the status mix. Byte figures include a flat per-response header estimate, because the edge's access log records the response body only.
Details · query
| Kind | query |
|---|---|
| Authority | manage.highport.space |
| Indexed |
Showing version bafyreiebijv5ixkrgdnb6nkdmrdyyuouhrlf4ipd7h5tfapirg3u4pf3fm. Show the latest
Query
query · GETParameters
query stringThe registered hostname. Must be registered to the calling identity.
maxLength: 253
from
string · datetimeInclusive lower bound. Defaults to 30 days ago.
to
string · datetimeExclusive upper bound. Defaults to now.
topPaths
integerHow many of the busiest paths to return.
minimum: 0maximum: 100default: 20
topRecords
integerHow many published record versions to return. A record CID is not a small set: a domain republished often has one per publish, so this is a top-N and not the whole history.
minimum: 0maximum: 100default: 20
Output
application/jsonHourly buckets, oldest first.
One hour of a domain's traffic.
Total billed bytes over the range.
How much of bytesBilled an authenticated visitor paid for rather than the owner. Zero unless the domain is on the sender-pays policy.
The flat per-response constant added to every logged body size. Every byte figure here is an estimate by this much per response.
records
arrayWhich published version of the site record served the traffic, heaviest first. Bounded by topRecords, so a domain republished more often than that has versions this does not list. Absent from a deployment that does not report the split.
One published version, and the traffic the snapshots built from it served.
refusals
objectWhat the bandwidth allowance refused over the range, and what serving it would have cost. Absent from a deployment that does not report it.
The status mix, with the crawler share alongside it.
One status code's share of the requests and of the bytes.
The busiest paths over the range.
One path and what it cost.
Errors
InvalidDomain
Not a syntactically valid, non-reserved, public-suffix-safe domain. Distinct from DomainNotFound: the string is not a hostname at all.
DomainNotFound
No such domain, or it is not registered to the calling identity. The two are one answer so the method is not an existence oracle.
AnalyticsDisabled
This deployment has no analytics store configured, so no traffic was ever recorded.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Identities that signed in to one of the caller's domains, and what each spent there. Anonymous traffic is not listed, and no query links a visitor across domains.
-
Domains ranked by successful, non-crawler requests over a trailing window. Safe to publish: a domain is left out if it is not serving, has a malware finding, or is denylisted in any way (directly, by pattern, or through its identity, space, record or serving CID). Counts can lag by up to ten minutes.