BotAnalytics

Usage analytics for a single bot over a caller-chosen window.

Fields

    botId
    Int!
    Required
    Bot these figures describe.
    last7Days
    [DailyMetric!]!
    Required
    Per-day breakdown covering the last 7 calendar days, oldest first. Always 7 entries; days with no activity report zeroes.
    topCommands
    [CommandMetric!]!
    Required
    The 10 most-invoked commands in the window, most-invoked first. Empty if the command events could not be read.
    totalInteractions
    Int!
    Required

    Interactions within the requested window. Reported as 0 if the count could not be read.

    totalSessions
    Int!
    Required

    Distinct conversation sessions within the requested window. Reported as 0 if the count could not be read.

    webhookStatus
    BotWebhookStatus!
    Required
    How recent deliveries to the bot's webhook URL have been going.
Built with