Get the top pages accessed by a specific AI agent over a time window.
Changed onReturns page paths ranked by request count, scoped to a single canonical agent name (e.g. ChatGPT-User). Use GET /proxy-logs/ai-agents/known to list all valid agent names. Unknown agent names return an empty items array.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Query parameters
Canonical agent name to filter by (e.g. ChatGPT-User, ClaudeBot). Must be a name returned by GET /proxy-logs/ai-agents/known.
Filter by project ID.
Filter by environment ID.
Start time (ISO 8601). Defaults to end_time - 7d.
End time (ISO 8601). Defaults to now.
Maximum rows to return. Capped at 100 server-side.
Response
Pages breakdown for the requested agent
Example response
{
"items": [
{
"last_seen": "2026-05-29T12:00:00Z"
}
]
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
1 more change in this revision
- breaking