---
title: "Metrics"
method: GET
path: "/engine/metrics"
tags: ["status"]
---

# Metrics

`GET /engine/metrics`

## Request

- Base URL: `https://api.casaintelligence.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.casaintelligence.com.au/engine/metrics`
- Auth: none declared

Lightweight pool + connection metrics for ops dashboards.

Returns SQLAlchemy pool stats (per-worker view) plus pg_stat_activity
summary (cluster-wide view). Used by the casa-daily ops dashboard
and external monitors to detect pool saturation or zombie buildup
before users feel it.

Auth: relies on Railway's private network — endpoint is registered
behind the existing /engine prefix. If exposed publicly later, add
X-API-Key gating like the v1 endpoints.

Costs ~5ms — safe to poll every 10-30s.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine.md) · [All operations](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/revisions/71d711039de0?raw)
