{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gremlin agents metrics API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get metrics for an attack",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/metrics/attacks/:attackId",
            "params": [
              {
                "name": "attackId",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ]
          },
          "docs": "This endpoint will allow you to get metrics for a specific attack based on its guid.\nRequires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        },
        {
          "info": {
            "name": "Get metrics for a scenario run",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.gremlin.com/v1/metrics/scenarios/:scenarioId/runs/:scenarioRunNumber",
            "params": [
              {
                "name": "scenarioId",
                "value": "",
                "type": "path"
              },
              {
                "name": "scenarioRunNumber",
                "value": "",
                "type": "path"
              },
              {
                "name": "teamId",
                "value": "",
                "type": "query",
                "description": "Required when using company session token."
              }
            ]
          },
          "docs": "This endpoint will allow you to get metrics for a specific scenario run based on its scenario guid and run number.\nRequires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)"
        }
      ]
    }
  ],
  "bundled": true
}