invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

TrafficSummaries: Matomo Matomo AI Agents Get

read only REST

  • Catalog: Matomo
  • Schema: AIAgents
  • Label: Matomo AI Agents Get

Can only retrieve data.

Summary

Visit summary metrics for one site over one period, split into an AI-agent half and a human half: the model-level counterpart of the request-level view in BotTracking.

API Source

  • Endpoint: /index.php?module=API&method=AIAgents.get&idSite={id_site}&period={period}&date={date}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 2,010

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
date varchar2 The date the period is anchored on, or a range such as '2026-08-01,2026-08-31'.
id_site number The Matomo site ID to report on.
period varchar2 The reporting period: day, week, month, year or range.

Table Columns

The columns of the table TrafficSummaries are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
avg_time_on_site_ai_agent double itgen_mat_avg_time_on_site_ai_agent filters on the platform, writable Average visit duration among AI-agent visits, in seconds.
avg_time_on_site_human double itgen_mat_avg_time_on_site_human filters on the platform, writable Average visit duration among human visits, in seconds.
bounce_count_ai_agent int32 itgen_mat_bounce_count_ai_agent filters on the platform, writable Number of AI-agent visits with exactly one action.
bounce_count_human int32 itgen_mat_bounce_count_human filters on the platform, writable Number of human visits with exactly one action.
bounce_rate_ai_agent varchar2 itgen_mat_bounce_rate_ai_agent filters on the platform, writable Bounce rate among AI-agent visits, formatted by Matomo itself as a percentage.
bounce_rate_human varchar2 itgen_mat_bounce_rate_human filters on the platform, writable Bounce rate among human visits, formatted by Matomo itself as a percentage.
max_actions_ai_agent int32 itgen_mat_max_actions_ai_agent filters on the platform, writable Maximum number of actions in a single AI-agent visit.
max_actions_human int32 itgen_mat_max_actions_human filters on the platform, writable Maximum number of actions in a single human visit.
nb_actions_ai_agent int32 itgen_mat_nb_actions_ai_agent filters on the platform, writable Number of actions across visits attributed to an AI agent.
nb_actions_human int32 itgen_mat_nb_actions_human filters on the platform, writable Number of actions across visits attributed to a human.
nb_actions_per_visit_ai_agent double itgen_mat_nb_actions_per_visit_ai_agent filters on the platform, writable Average number of actions per visit, among AI-agent visits.
nb_actions_per_visit_human double itgen_mat_nb_actions_per_visit_human filters on the platform, writable Average number of actions per visit, among human visits.
nb_visits_ai_agent int32 itgen_mat_nb_visits_ai_agent filters on the platform, writable Number of visits attributed to an AI agent.
nb_visits_converted_ai_agent int32 itgen_mat_nb_visits_converted_ai_agent filters on the platform, writable Number of AI-agent visits during which at least one goal was converted.
nb_visits_converted_human int32 itgen_mat_nb_visits_converted_human filters on the platform, writable Number of human visits during which at least one goal was converted.
nb_visits_human int32 itgen_mat_nb_visits_human filters on the platform, writable Number of visits attributed to a human.
sum_visit_length_ai_agent int32 itgen_mat_sum_visit_length_ai_agent filters on the platform, writable Sum of the length of AI-agent visits, in seconds.
sum_visit_length_human int32 itgen_mat_sum_visit_length_human filters on the platform, writable Sum of the length of human visits, in seconds.