---
title: "Get performance metrics"
method: GET
path: "/metrics"
tags: ["Metrics"]
---

# Get performance metrics

`GET /metrics`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/metrics`
- Auth: none declared
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/docs/metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns real-time performance metrics including:
- Request counts (total, success, failed, blocked)
- Latency percentiles (P50, P95, P99)
- Per-stage timing (auth, policy, network)
- Request type breakdown
- Connector metrics

## Response `200`

Performance metrics

- MetricsResponse
  - `agent_metrics` object
    - `uptime_seconds` number
    - `total_requests` integer
    - `success_requests` integer
    - `failed_requests` integer
    - `blocked_requests` integer
    - `success_rate` number: Success rate percentage
    - `rps` number: Requests per second
    - `error_rate_per_sec` number
    - `p50_ms` number: 50th percentile latency
    - `p95_ms` number: 95th percentile latency
    - `p99_ms` number: 99th percentile latency
    - `avg_latency_ms` number
    - `auth_p99_ms` number: Authentication stage P99 latency
    - `static_policy_eval_p99_ms` number: Static policy evaluation P99 latency
    - `network_p99_ms` number: Network (Agent to Orchestrator) P99 latency
  - `health` object
    - `status` 'healthy' | 'degraded' | 'unhealthy'
    - `healthy` boolean
    - `consecutive_errors` integer
    - `up` integer: Always 1 if service is responding
  - `request_types` object
  - `connectors` object
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-agent-api/revisions/34d30fcb7fa1?raw)
