{
  "opencollection": "1.0.0",
  "info": {
    "name": "Crusoe Reservations API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Reservations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all reservations belonging to the specified organization. User must be part of the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloud.crusoe.ai/v1/organizations/:organization_id/reservations",
            "params": [
              {
                "name": "organization_id",
                "value": "de8f27fe-8438-45e7-a2c2-a2767660625f",
                "type": "path"
              },
              {
                "name": "status",
                "value": "effective",
                "type": "query"
              }
            ]
          },
          "docs": "Get all reservations belonging to the specified organization. User must be part of the organization."
        },
        {
          "info": {
            "name": "Get GPU tracking data for the specified organization. User must be part of the organization and have reservations feature access.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloud.crusoe.ai/v1/organizations/:organization_id/reservations/gpu-tracking",
            "params": [
              {
                "name": "organization_id",
                "value": "de8f27fe-8438-45e7-a2c2-a2767660625f",
                "type": "path"
              },
              {
                "name": "product_line",
                "value": "gpu-hours",
                "type": "query"
              },
              {
                "name": "region",
                "value": "us-east1,us-northcentral1",
                "type": "query"
              },
              {
                "name": "start_time",
                "value": "\"2024-01-01T00:00:00Z\"",
                "type": "query"
              },
              {
                "name": "end_time",
                "value": "\"2024-01-31T23:59:59Z\"",
                "type": "query"
              }
            ]
          },
          "docs": "Get GPU tracking data for the specified organization. User must be part of the organization and have reservations feature access."
        },
        {
          "info": {
            "name": "Get latest GPU tracking data for the specified organization. User must be part of the organization and have reservations feature access.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloud.crusoe.ai/v1/organizations/:organization_id/reservations/gpu-tracking/latest",
            "params": [
              {
                "name": "organization_id",
                "value": "de8f27fe-8438-45e7-a2c2-a2767660625f",
                "type": "path"
              },
              {
                "name": "product_line",
                "value": "gpu-hours",
                "type": "query"
              },
              {
                "name": "region",
                "value": "us-east1,us-northcentral1",
                "type": "query"
              }
            ]
          },
          "docs": "Get latest GPU tracking data for the specified organization. User must be part of the organization and have reservations feature access."
        },
        {
          "info": {
            "name": "Get reservation belonging to the specified organization and reservation ID. User must be part of the organization.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloud.crusoe.ai/v1/organizations/:organization_id/reservations/:reservation_id",
            "params": [
              {
                "name": "organization_id",
                "value": "de8f27fe-8438-45e7-a2c2-a2767660625f",
                "type": "path"
              },
              {
                "name": "reservation_id",
                "value": "de8f27fe-8438-45e7-a2c2-a2767660625f",
                "type": "path"
              }
            ]
          },
          "docs": "Get reservation belonging to the specified organization and reservation ID. User must be part of the organization."
        }
      ]
    }
  ],
  "bundled": true
}