Skip to main content
GET
Read a company site's traffic

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

Query Parameters

period
enum<string>

The period to count. Defaults to 24h.

Available options:
24h,
7d,
30d

Response

The site's traffic.

A site's traffic.

traffic
object
required

A site's traffic over a period, counted by the sites gateway.

status
integer
required

The HTTP status.

meta
object
required

Response metadata included on every response body.