> ## Documentation Index
> Fetch the complete documentation index at: https://docs.the40thieves.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# get_metrics

> Snapshot Prometheus-style metrics as structured JSON: per-(vault,tool,status) invocation counters and rate-limit-hit counters aggregated from the local event_log + live limiter, plus uptime/registe...

Snapshot Prometheus-style metrics as structured JSON: per-(vault,tool,status) invocation counters and rate-limit-hit counters aggregated from the local event\_log + live limiter, plus uptime/registered-vault/registered-tool gauges. Optionally filter to one vault. Domain: admin.

| | |
| - | - |
| **Domain** | admin |
| **Scopes** | `admin:metrics` |
| **Access** | write |
| **Tags** | `read-only`, `admin`, `domain:admin` |
| **Profile** | core, full |

## Annotations

| Annotation | Value |
| - | - |
| Read-only | yes |
| Destructive | no |
| Idempotent | no |
| Accepts an idempotency key | no |

`Idempotent` is the advisory MCP `idempotentHint`. `Destructive` is also `yes` for a tool that
asks for confirmation only on some calls.

## Confirmation (human in the loop)

No human confirmation is required to call this tool.

## Input

| Parameter | Type | Required | Default | Description |
| - | - | - | - | - |
| `vault` | `string` | | — | length 1–64; pattern `^[a-z0-9_-]+$` |

## Output

| Field | Type | Always present | Description |
| - | - | - | - |
| `metrics` | `object[]` | yes | — |
| `metrics[].name` | `string` | yes | — |
| `metrics[].type` | `enum` | yes | One of: `"counter"`, `"gauge"` |
| `metrics[].value` | `number` | yes | — |
| `metrics[].labels` | `Record<string, string>` | yes | — |

## Related tools

Other tools in the `admin` domain: [`cancel_task`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/cancel_task/), [`get_index_status`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_index_status/), [`get_server_config`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_server_config/), [`get_task_status`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/get_task_status/), [`inspect_acl`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/inspect_acl/), [`inspect_visibility`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/inspect_visibility/), [`server_health`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/server_health/), [`session_rerun`](https://docs.the40thieves.dev/reliquary-tc/tools/reference/session_rerun/).

Back to the [tool catalog](https://docs.the40thieves.dev/reliquary-tc/tools/tool-catalog.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.