Skip to content

AgentTraffic

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/api/src/events/agent-analytics.service.ts

Agent-native analytics — "who/what AI is reading your docs".

A read-side aggregation over the agent_read interaction_events the public agent surfaces (llms.txt / llms-full.txt / .md twins / MCP) already record via EventsService. No new capture. Mirrors ManualsInsightsService.deflection: one org-scoped fetch, JS aggregation, a zero-filled daily trend. The refusedQuestions panel folds in the chat_refused signal — the loop-closer: what agents/users asked that the docs couldn't answer.

Properties

PropertyType
windowDaysnumber
totalnumber
byAgentArray<{ agent: string; count: number }>
bySurfaceArray<{ surface: string; count: number }>
topPagesArray<{ path: string; count: number }>
trendArray<{ date: string; count: number }>
refusedQuestionsArray<{ question: string; count: number }>

Was this page helpful?

Download as PDF