{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gainsight CS Bulk Accounts Metrics API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "accessKey",
      "value": "{{accessKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gainsight List goal metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/goals/:goalId/metrics",
            "params": [
              {
                "name": "goalId",
                "value": "",
                "type": "path",
                "description": "Customer goal unique identifier"
              }
            ]
          },
          "docs": "Retrieve metrics associated with a customer goal."
        },
        {
          "info": {
            "name": "Gainsight Add a goal metric",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/goals/:goalId/metrics",
            "params": [
              {
                "name": "goalId",
                "value": "",
                "type": "path",
                "description": "Customer goal unique identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a metric to a customer goal."
        }
      ]
    }
  ],
  "bundled": true
}