Metrics endpoints
Delivery metrics for scripts, releases and runs. Paths are relative to the address of your Simcha DB Studio server.
Through the MCP server these endpoints are the Metrics tool group, off until an admin turns it on.
| Method | Path | What it does |
|---|---|---|
| GET | /api/db-devops/metrics | Get delivery metrics |
GET /api/db-devops/metrics
Returns delivery metrics for the last 7, 30, 90 or 365 days: runs by status, success rate, durations and failure causes; releases created and signed off; approval requests, rejections, time to decision and top approvers; scripts and contributors; and users, connections and audit activity. Each series is counted per day, or per month for 365 days.
Reads only · Role: Any signed-in user · MCP tool: metrics_get
| Input | Type | Description |
|---|---|---|
days (query) | one of 7, 30, 90, 365, optional | The window in days: 7, 30, 90 or 365. Defaults to 30 |
tz (query) | string, optional | An IANA time zone name, such as America/New_York, used to count days. Defaults to the database time zone |