Skip to main content
GET
Retrieve Agent Analytics Summary

Authorizations

X-Lightsage-Api-Key
string
header
required

Path Parameters

site_id
string
required

Query Parameters

start_date
string<date>

Inclusive range start; defaults to 6 days before the end date. The range may span at most 90 days.

end_date
string<date>

Inclusive range end in UTC; defaults to today.

Response

Successful Response

site_id
string
required
start_date
string<date>
required
end_date
string<date>
required
current
PublicAgentTrafficTotals · object
required

Visits from start_date through end_date.

previous
PublicAgentTrafficTotals · object
required

Visits over the same number of days just before start_date, for comparison.