Get the per-AI-agent breakdown for a project over a time window.
Changed onRequest
- 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-agents
- Auth: HTTP bearer
Query parameters
Filter by project ID (recommended for per-project analytics).
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.
Optional exact path filter. Only used by the AI pages breakdown — when set, returns the single matching page so callers can ask "how many AI agents hit this page?".
Response
AI agent breakdown
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