---
title: "Changes to Lightweight swarm-wide counts"
method: GET
path: "/api/metrics"
---

# Changes to Lightweight swarm-wide counts

`GET /api/metrics`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 104 revisions.

- **2026-09-02** `d36f3748925a` — 24 info
- **2026-08-31** `6fe53ac248b5` — 1 info
- **2026-08-07** `06cac6a7c5bc` — 1 info

## Changes

- **2026-09-02** `d36f3748925a` — 24 info
  - added the optional property `retention/agentLog/lastError` to the response with the `200` status
  - added the optional property `retention/agentLog/lastErrorAt` to the response with the `200` status
  - added the optional property `retention/agentLog/lastSuccessAt` to the response with the `200` status
  - added the optional property `retention/events/lastError` to the response with the `200` status
  - added the optional property `retention/events/lastErrorAt` to the response with the `200` status
  - added the optional property `retention/events/lastSuccessAt` to the response with the `200` status
  - added the optional property `retention/sessionLogs/lastError` to the response with the `200` status
  - added the optional property `retention/sessionLogs/lastErrorAt` to the response with the `200` status
  - added the optional property `retention/sessionLogs/lastSuccessAt` to the response with the `200` status
  - added the required property `retention/agentLog/backlogRemaining` to the response with the `200` status
  - added the required property `retention/agentLog/batchSize` to the response with the `200` status
  - added the required property `retention/agentLog/drained` to the response with the `200` status
  - added the required property `retention/agentLog/outcome` to the response with the `200` status
  - added the required property `retention/agentLog/slowestStatementMs` to the response with the `200` status
  - added the required property `retention/events/backlogRemaining` to the response with the `200` status
  - added the required property `retention/events/batchSize` to the response with the `200` status
  - added the required property `retention/events/drained` to the response with the `200` status
  - added the required property `retention/events/outcome` to the response with the `200` status
  - added the required property `retention/events/slowestStatementMs` to the response with the `200` status
  - added the required property `retention/sessionLogs/backlogRemaining` to the response with the `200` status
  - added the required property `retention/sessionLogs/batchSize` to the response with the `200` status
  - added the required property `retention/sessionLogs/drained` to the response with the `200` status
  - added the required property `retention/sessionLogs/outcome` to the response with the `200` status
  - added the required property `retention/sessionLogs/slowestStatementMs` to the response with the `200` status
- **2026-08-31** `6fe53ac248b5` — 1 info
  - added the required property `retention` to the response with the `200` status
- **2026-08-07** `06cac6a7c5bc` — 1 info
  - added the media type `application/json` for the response with the status `200`

---

[Operation](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/docs/api/metrics/get.md) · [API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [Page](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/metrics/get)
