Gremlin Metrics API

Metrics for charting purposes

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /metrics/attacks/{attackId} Get metrics for an attack #
GET /metrics/scenarios/{scenarioId}/runs/{scenarioRunNumber} Get metrics for a scenario run #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gremlin:gremlin-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gremlin-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gremlin Metrics API
  description: The API for interacting with the Gremlin Failure-as-a-Service platform
  termsOfService: https://www.gremlin.com/terms_of_service_2017_03_24
  contact:
    name: Gremlin Support
    email: support@gremlin.com
  license:
    name: Gremlin License
    url: https://www.gremlin.com/license_2017_03_24
  version: '1.0'
servers:
- url: /v1
tags:
- name: Metrics
  description: Metrics for charting purposes
paths:
  /metrics/attacks/{attackId}:
    get:
      tags:
      - Metrics
      summary: Get metrics for an attack
      description: 'This endpoint will allow you to get metrics for a specific attack based on its guid.

        Requires the privilege `EXPERIMENTS_READ`'
      operationId: getMetricsForAttack
      parameters:
      - name: attackId
        in: path
        required: true
        schema:
          type: string
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttackMetricsDisplayResponse'
        '403':
          description: 'User requires privilege for target team: EXPERIMENTS_READ'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - EXPERIMENTS_READ
  /metrics/scenarios/{scenarioId}/runs/{scenarioRunNumber}:
    get:
      tags:
      - Metrics
      summary: Get metrics for a scenario run
      description: 'This endpoint will allow you to get metrics for a specific scenario run based on its scenario guid and run number.

        Requires the privilege `EXPERIMENTS_READ`'
      operationId: getMetricsForScenarioRun
      parameters:
      - name: scenarioId
        in: path
        required: true
        schema:
          type: string
      - name: scenarioRunNumber
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaskMetrics'
        '403':
          description: 'User requires privilege for target team: EXPERIMENTS_READ'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - EXPERIMENTS_READ
components:
  schemas:
    YAxisLine:
      type: object
      properties:
        value:
          type: number
          format: double
        label:
          type: string
    AttackMetricsDisplayResponse:
      type: object
      properties:
        state:
          type: string
          enum:
          - DISABLED
          - PENDING
          - NO_DATA
          - PARTIAL
          - COMPLETE
        disabledReason:
          type: string
        range:
          $ref: '#/components/schemas/TimeRange'
        attackRange:
          $ref: '#/components/schemas/TimeRange'
        metricData:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/MetricPoint'
        infraCommandType:
          type: string
          enum:
          - cpu
          - io
          - memory
          - disk
          - thread_bomb
          - blackhole
          - dns
          - latency
          - packet_loss
          - collect_certs
          - shutdown
          - time_travel
          - process_killer
          - process_exhaustion
          - gpu
        chartTitle:
          type: string
        lines:
          type: array
          items:
            $ref: '#/components/schemas/YAxisLine'
    MetricPoint:
      type: object
      properties:
        timestamp:
          type: integer
          format: int64
        value:
          type: number
          format: double
    TaskMetrics:
      type: object
      properties:
        taskId:
          type: string
        metrics:
          $ref: '#/components/schemas/AttackMetricsDisplayResponse'
    TimeRange:
      type: object
      properties:
        start:
          type: integer
          format: int64
        end:
          type: integer
          format: int64
x-provenance:
  method: harvested
  publisher: Gremlin
  source: https://api.gremlin.com/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)