Skip to main content
GET
List Agent Analytics Pages

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.

limit
integer
default:20
Required range: 1 <= x <= 500

Only pages whose path contains this text.

Maximum string length: 200
sort
enum<string>
default:ai_total

Traffic type to sort by, most visits first, or last_seen for the latest visit first.

Available options:
coding,
user,
search,
training,
other,
people,
ai_total,
last_seen
type
enum<string>

Only pages this traffic type visited.

Available options:
coding,
user,
search,
training,
other,
people
agent
string

Only pages this coding agent read, by the name the sources list gives it, such as codex or cursor.

Maximum string length: 100

Response

Successful Response

site_id
string
required
start_date
string<date>
required
end_date
string<date>
required
agent
string | null

The coding agent the pages were filtered to, when agent was set. Its visits are in coding and ai_total; the other counts are 0.

pages
PublicAgentTrafficPage · object[]