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)
- URL: /api/proxy-logs/stats/ai-agent-pages
- Auth: HTTP 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
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning