Skip to content

Provider 引擎狀態監控介面 (/v1/providers) ​

查詢 config.yaml 中設定的所有 ASR 引擎在記憶體/顯示卡記憶體中的作用中載入狀態與運算裝置分配。


HTTP 請求 ​

http
GET /v1/providers
Authorization: Bearer sk-oneasr-...

回應主體範例 ​

json
{
  "providers": [
    {
      "name": "faster-whisper",
      "status": "loaded",
      "device": "cuda:0",
      "compute_type": "float16",
      "model_name": "medium",
      "categories": ["FileASR"],
      "languages": ["zh", "en", "ja", "ko", "fr", "de", "es"]
    },
    {
      "name": "xasr",
      "status": "loaded",
      "device": "cpu",
      "model_name": "xasr-zh-en",
      "categories": ["RealtimeASR"],
      "languages": ["zh", "en"]
    }
  ]
}