---
title: "Get metrics for an attack"
method: GET
path: "/metrics/attacks/{attackId}"
tags: ["metrics"]
---

# Get metrics for an attack

`GET /metrics/attacks/{attackId}`

This endpoint will allow you to get metrics for a specific attack based on its guid.
Requires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Path parameters

- `attackId` string, required

## Query parameters

- `teamId` string, required

## Response `default`

default response

- AttackMetricsDisplayResponse
  - `state` 'DISABLED' | 'PENDING' | 'NO_DATA' | 'PARTIAL' | 'COMPLETE'
  - `disabledReason` string
  - `range` TimeRange
    - `start` integer
    - `end` integer
  - `attackRange` TimeRange
    - `start` integer
    - `end` integer
  - `metricData` object
  - `infraCommandType` 'CPU' | 'IO' | 'Memory' | 'Disk' | 'Thread_Bomb' | 'Blackhole' | 'DNS' | 'Latency' | 'Packet_Loss' | 'Collect_Certs' | 'Shutdown' | 'Time_Travel' | 'Process_Killer' | 'Process_Exhaustion' | 'GPU' | 'Unknown'
  - `chartTitle` string
  - `lines` YAxisLine[]
    - `value` number, double
    - `label` string

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: EXPERIMENTS_READ

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/36ee938323f0/schema)
