{
 "components": {
  "securitySchemes": {
   "apiKey": {
    "type": "apiKey",
    "in": "header",
    "name": "X-API-Key",
    "description": "Optional scoped key (company:read, pricing:read, search:read). Issue one at POST /agent-api/v1/keys."
   },
   "staffBearer": {
    "description": "Existing TRUSTDESKAI_STAFF_TOKEN; alternatively X-Staff-Token header.",
    "scheme": "bearer",
    "type": "http"
   }
  }
 },
 "info": {
  "description": "Existing GET routes and checkout initiation. Protected routes retain staff authentication. MCP uses /mcp and separate OAuth discovery.",
  "title": "trustdeskai existing HTTP API",
  "version": "0.1.0"
 },
 "openapi": "3.1.0",
 "paths": {
  "/agent-api/v1/company": {
   "get": {
    "operationId": "getCompany",
    "summary": "Company profile and agent entry points",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "company:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/pricing": {
   "get": {
    "operationId": "getPricing",
    "summary": "Plans and USD prices",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "pricing:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/api/pricing": {
   "get": {
    "operationId": "apiPricing",
    "summary": "Plans and USD prices (plan, interval, amount_usd, currency, what_you_get)",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "pricing:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/search": {
   "get": {
    "operationId": "searchSite",
    "summary": "Search pages on this site",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "x-scope": "search:read",
    "x-free": true,
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "403": {
      "description": "key lacks the scope"
     },
     "429": {
      "description": "rate limited"
     }
    },
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "schema": {
       "type": "integer",
       "default": 5
      }
     }
    ],
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    }
   }
  },
  "/agent-api/v1/keys": {
   "post": {
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    },
    "operationId": "createKey",
    "summary": "Issue a scoped API key (shown once)",
    "security": [
     {}
    ],
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "scopes": {
          "type": "array",
          "items": {
           "type": "string",
           "enum": [
            "company:read",
            "pricing:read",
            "search:read"
           ]
          }
         },
         "label": {
          "type": "string"
         }
        }
       }
      }
     }
    },
    "responses": {
     "201": {
      "description": "key issued"
     },
     "429": {
      "description": "too many keys from this address"
     }
    }
   }
  },
  "/agent-api/v1/keys/me": {
   "get": {
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    },
    "operationId": "getKey",
    "summary": "Scopes of the presented key",
    "security": [
     {
      "apiKey": []
     }
    ],
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "missing or unknown key"
     }
    }
   }
  },
  "/mcp": {
   "post": {
    "x-pricing": {
     "price_usd": 0,
     "metered": false,
     "note": "free; anonymous 30 req/min, key 300 req/min"
    },
    "operationId": "mcp",
    "summary": "MCP streamable HTTP endpoint (JSON-RPC 2.0)",
    "security": [
     {},
     {
      "apiKey": []
     }
    ],
    "responses": {
     "200": {
      "description": "JSON-RPC response"
     }
    }
   }
  },
  "/": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "index"
   }
  },
  "/api/audit/{case_ref}": {
   "get": {
    "parameters": [
     {
      "in": "path",
      "name": "case_ref",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "audit_entries": {
           "items": {
            "properties": {
             "case_ref": {
              "type": "string"
             },
             "description": {
              "type": [
               "string",
               "null"
              ]
             },
             "entry_hash": {
              "type": "string"
             },
             "event_type": {
              "type": "string"
             },
             "id": {
              "type": "integer"
             },
             "operator": {
              "type": [
               "string",
               "null"
              ]
             },
             "ts": {
              "type": [
               "string",
               "null"
              ]
             }
            },
            "required": [
             "id",
             "case_ref",
             "event_type",
             "operator",
             "description",
             "entry_hash",
             "ts"
            ],
            "type": "object"
           },
           "type": "array"
          },
          "case_ref": {
           "type": "string"
          },
          "entry_count": {
           "type": "integer"
          },
          "evidence_hash": {
           "type": "string"
          },
          "integrity_note": {
           "type": "string"
          }
         },
         "required": [
          "case_ref",
          "evidence_hash",
          "audit_entries",
          "entry_count",
          "integrity_note"
         ],
         "type": "object"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     },
     "404": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Case not found"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "api audit"
   }
  },
  "/api/cases": {
   "get": {
    "parameters": [
     {
      "in": "query",
      "name": "page",
      "schema": {
       "default": 1,
       "type": "integer"
      }
     },
     {
      "in": "query",
      "name": "status",
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "cases": {
           "items": {
            "properties": {
             "case_ref": {
              "type": "string"
             },
             "case_type": {
              "type": "string"
             },
             "created_at": {
              "type": [
               "string",
               "null"
              ]
             },
             "customer_id": {
              "type": [
               "integer",
               "null"
              ]
             },
             "customer_name": {
              "type": [
               "string",
               "null"
              ]
             },
             "dmca_validity": {
              "type": "object"
             },
             "evidence_hash": {
              "type": "string"
             },
             "id": {
              "type": "integer"
             },
             "operator": {
              "type": [
               "string",
               "null"
              ]
             },
             "resolved_at": {
              "type": [
               "string",
               "null"
              ]
             },
             "severity": {
              "type": [
               "string",
               "null"
              ]
             },
             "sla": {
              "properties": {
               "deadline_iso": {
                "type": "string"
               },
               "elapsed_minutes": {
                "type": "integer"
               },
               "minutes_remaining": {
                "type": "integer"
               },
               "overdue": {
                "type": "boolean"
               },
               "sla_minutes": {
                "type": "integer"
               }
              },
              "required": [
               "deadline_iso",
               "overdue",
               "minutes_remaining",
               "elapsed_minutes",
               "sla_minutes"
              ],
              "type": "object"
             },
             "source": {
              "type": [
               "string",
               "null"
              ]
             },
             "status": {
              "type": "string"
             },
             "triage": {
              "type": "object"
             },
             "upstream_name": {
              "type": [
               "string",
               "null"
              ]
             }
            },
            "required": [
             "id",
             "case_ref",
             "case_type",
             "status",
             "severity",
             "evidence_hash",
             "customer_id",
             "customer_name",
             "upstream_name",
             "sla",
             "source",
             "operator",
             "created_at",
             "resolved_at",
             "triage",
             "dmca_validity"
            ],
            "type": "object"
           },
           "type": "array"
          },
          "page": {
           "type": "integer"
          },
          "pages": {
           "type": "integer"
          },
          "total": {
           "type": "integer"
          }
         },
         "required": [
          "cases",
          "total",
          "pages",
          "page"
         ],
         "type": "object"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "api cases list"
   }
  },
  "/api/checkout": {
   "post": {
    "requestBody": {
     "content": {
      "application/json": {
       "schema": {
        "properties": {
         "plan": {
          "default": "starter",
          "enum": [
           "starter",
           "growth",
           "scale"
          ],
          "type": "string"
         }
        },
        "type": "object"
       }
      }
     },
     "required": false
    },
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "checkout_url": {
           "type": "string"
          },
          "url": {
           "type": "string"
          }
         },
         "required": [
          "checkout_url",
          "url"
         ],
         "type": "object"
        }
       }
      },
      "description": "Success"
     },
     "400": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Unknown tier/plan"
     },
     "500": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Checkout failed"
     },
     "503": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "plans": {
           "additionalProperties": {
            "properties": {
             "name": {
              "type": "string"
             },
             "price": {
              "type": [
               "number",
               "null"
              ]
             }
            },
            "required": [
             "name",
             "price"
            ],
            "type": "object"
           },
           "type": "object"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Billing or plan price not configured"
     }
    },
    "summary": "Initiate Stripe subscription checkout (creates a checkout session)"
   }
  },
  "/api/customers": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "items": {
          "properties": {
           "account_id": {
            "type": [
             "string",
             "null"
            ]
           },
           "created_at": {
            "type": [
             "string",
             "null"
            ]
           },
           "dmca_strikes": {
            "type": "integer"
           },
           "email": {
            "type": [
             "string",
             "null"
            ]
           },
           "id": {
            "type": "integer"
           },
           "name": {
            "type": "string"
           },
           "plan": {
            "type": [
             "string",
             "null"
            ]
           }
          },
          "required": [
           "id",
           "name",
           "email",
           "account_id",
           "plan",
           "dmca_strikes",
           "created_at"
          ],
          "type": "object"
         },
         "type": "array"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "api customers list"
   }
  },
  "/api/support_chat/health": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "brand": {
           "type": "string"
          },
          "facts_chars": {
           "type": "integer"
          },
          "kb_chunks": {
           "type": "integer"
          },
          "kb_files": {
           "type": "integer"
          },
          "kb_sentinel": {
           "type": "string"
          },
          "ok": {
           "type": "boolean"
          },
          "providers": {
           "items": {
            "type": "string"
           },
           "type": "array"
          },
          "sentinel": {
           "type": "string"
          }
         },
         "required": [
          "ok",
          "brand",
          "sentinel",
          "kb_sentinel",
          "kb_files",
          "kb_chunks",
          "providers",
          "facts_chars"
         ],
         "type": "object"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Unauthorized"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff authentication unconfigured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "Support chatbot health (staff protected)"
   }
  },
  "/cases/{case_id}": {
   "get": {
    "parameters": [
     {
      "in": "path",
      "name": "case_id",
      "required": true,
      "schema": {
       "type": "integer"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     },
     "404": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Case not found"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "case view"
   }
  },
  "/complaints/new": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "complaint new"
   }
  },
  "/csam": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "csam scaffold"
   }
  },
  "/customers": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "customers page"
   }
  },
  "/dashboard": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "dashboard"
   }
  },
  "/dmca/new": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     },
     "401": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          }
         },
         "required": [
          "error"
         ],
         "type": "object"
        }
       }
      },
      "description": "Missing or invalid staff token"
     },
     "403": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "error": {
           "type": "string"
          },
          "reason": {
           "type": "string"
          }
         },
         "required": [
          "error",
          "reason"
         ],
         "type": "object"
        }
       }
      },
      "description": "Staff token not configured"
     }
    },
    "security": [
     {
      "staffBearer": []
     }
    ],
    "summary": "dmca new"
   }
  },
  "/f4673empire2026indexnowkey9c1a.txt": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "f4673 indexnow key"
   }
  },
  "/healthz": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "application/json": {
        "schema": {
         "properties": {
          "abuseipdb_key_present": {
           "type": "boolean"
          },
          "app": {
           "type": "string"
          },
          "auto_send_replies": {
           "type": "boolean"
          },
          "csam_scanning": {
           "type": "string"
          },
          "db": {
           "properties": {
            "cases": {
             "type": "integer"
            },
            "customers": {
             "type": "integer"
            }
           },
           "required": [
            "cases",
            "customers"
           ],
           "type": "object"
          },
          "feeds": {
           "properties": {
            "abuseipdb": {
             "type": "string"
            },
            "spamhaus_zen": {
             "type": "string"
            },
            "urlhaus": {
             "type": "string"
            }
           },
           "required": [
            "abuseipdb",
            "urlhaus",
            "spamhaus_zen"
           ],
           "type": "object"
          },
          "gemini_key_present": {
           "type": "boolean"
          },
          "groq_key_present": {
           "type": "boolean"
          },
          "hard_rules": {
           "items": {
            "type": "string"
           },
           "type": "array"
          },
          "status": {
           "type": "string"
          },
          "stripe_configured": {
           "type": "boolean"
          },
          "version": {
           "type": "string"
          }
         },
         "required": [
          "status",
          "app",
          "version",
          "groq_key_present",
          "gemini_key_present",
          "abuseipdb_key_present",
          "stripe_configured",
          "db",
          "feeds",
          "csam_scanning",
          "auto_send_replies",
          "hard_rules"
         ],
         "type": "object"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "healthz"
   }
  },
  "/llms.txt": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "f6639 llms"
   }
  },
  "/pricing": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "pricing"
   }
  },
  "/privacy": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "legal privacy"
   }
  },
  "/refund": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "legal refund"
   }
  },
  "/robots.txt": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/plain": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "f6639 robots"
   }
  },
  "/service-area": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "service area"
   }
  },
  "/sitemap.xml": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "application/xml": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "f6639 sitemap"
   }
  },
  "/static/{filename}": {
   "get": {
    "parameters": [
     {
      "in": "path",
      "name": "filename",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "content": {
       "*/*": {
        "schema": {
         "format": "binary",
         "type": "string"
        }
       }
      },
      "description": "Static asset; content type depends on filename"
     },
     "404": {
      "description": "Asset not found"
     }
    },
    "summary": "Flask static assets"
   }
  },
  "/terms": {
   "get": {
    "responses": {
     "200": {
      "content": {
       "text/html": {
        "schema": {
         "type": "string"
        }
       }
      },
      "description": "Success"
     }
    },
    "summary": "legal terms"
   }
  }
 },
 "servers": [
  {
   "url": "https://trustdeskai.eliteaiempire.com"
  }
 ],
 "x-f7455-augmented": "agent endpoints + optional scoped API keys added by the F7455 agent surface"
}