{
  "opencollection": "1.0.0",
  "info": {
    "name": "Exoscale ai-api-key model API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "model",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Models",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/ai/model",
            "params": [
              {
                "name": "visibility",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List Models"
        },
        {
          "info": {
            "name": "Create Model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api-{zone}.exoscale.com/v2/ai/model",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Model files will be downloaded from Huggingface.\n\nName must be the exact name of the model on huggingface (ex: openai/gpt-oss-120b or ggml-org/gpt-oss-120b-GGUF).\n\nIf the model is under a license then you must provide a Huggingface access token for an account that signed the license agreement"
        },
        {
          "info": {
            "name": "Get Model",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api-{zone}.exoscale.com/v2/ai/model/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Model details"
        },
        {
          "info": {
            "name": "Delete Model",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api-{zone}.exoscale.com/v2/ai/model/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Model"
        }
      ]
    }
  ],
  "bundled": true
}