{
  "opencollection": "1.0.0",
  "info": {
    "name": "LangWatch Agents Model Defaults API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Auth-Token",
      "value": "{{X-Auth-Token}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Model Defaults",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getApiModel-defaults",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.langwatch.ai/api/model-defaults"
          },
          "docs": "Snapshot of the default-model cascade for this project: effective resolution per role, plus the configs the caller can read."
        },
        {
          "info": {
            "name": "postApiModel-defaults",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.langwatch.ai/api/model-defaults",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a default-model config attached to one or more scopes. JSON keys may be roles (DEFAULT, FAST, EMBEDDINGS) or registered feature keys; missing keys inherit from a higher scope."
        },
        {
          "info": {
            "name": "putApiModel-defaultsById",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.langwatch.ai/api/model-defaults/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a config's JSON payload and/or its scope attachments. Sending `scopes: []` deletes the config."
        },
        {
          "info": {
            "name": "deleteApiModel-defaultsById",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.langwatch.ai/api/model-defaults/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a default-model config. Scope attachments cascade."
        }
      ]
    }
  ],
  "bundled": true
}