{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ternary Anomaly Detection Commitments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Commitments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Commitments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ternary.app/v1/commitments",
            "params": [
              {
                "name": "cloud_provider",
                "value": "",
                "type": "query",
                "description": "Filter by cloud provider"
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by commitment status"
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "Token for paginating through results"
              }
            ]
          },
          "docs": "Returns a list of cloud commitment purchases (Reserved Instances, Savings Plans, Committed Use Discounts) managed by Ternary."
        },
        {
          "info": {
            "name": "Get Commitment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ternary.app/v1/commitments/:commitment_id",
            "params": [
              {
                "name": "commitment_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the commitment"
              }
            ]
          },
          "docs": "Returns details of a specific cloud commitment purchase."
        }
      ]
    }
  ],
  "bundled": true
}