---
title: "Bot Usage Summary"
method: GET
path: "/api/admin/bot-analytics/summary"
tags: ["v2", "admin", "bot-analytics"]
---

# Bot Usage Summary

`GET /api/admin/bot-analytics/summary`

## Query parameters

- `platform` 'DISCORD' | 'TELEGRAM' | 'SLACK' | 'TEAMS' | 'WHATSAPP' | 'GITHUB' | 'LINEAR' — Mirror of the Prisma PlatformType enum.
- `days` integer

## Response `200`

Successful Response

- BotAnalyticsSummary
  - `platform` string, nullable, required
  - `window_days` integer, required
  - `live_servers` integer, required — Current count of servers the bot is in right now. Point-in-time gauge — intentionally ignores window_days. Use the server-count timeseries endpoint for the windowed growth curve.
  - `messages_received` integer, required
  - `replies_sent` integer, required
  - `commands_used` integer, required
  - `stream_errors` integer, required
  - `avg_reply_ms` number, nullable, required
  - `error_rate` number, required

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.net/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/versions/382041c7ecb2/schema)
