---
title: "Aggregate operational metrics for the Agent SDK"
method: GET
path: "/v1/admin/agent-metrics"
tags: ["Admin"]
---

# Aggregate operational metrics for the Agent SDK

`GET /v1/admin/agent-metrics`

## Request

- Base URL: `https://spss.insightgenius.io` (the document declares no server; this is the origin it was published from)
- URL: `https://spss.insightgenius.io/v1/admin/agent-metrics`
- Auth: none declared

Returns aggregate counts and averages over the agent audit tables. Use this to monitor cost, error rate, and conversations that look like they're looping (high tool count per turn).

## Query parameters

- `hours` integer: Window in hours (1-720)

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api.md) · [All operations](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insightgenius/apis/spss-insightgenius-api/revisions/0d165df595f0?raw)
