Skip to content

Provider エンジンステータス監視 API (/v1/providers) ​

config.yaml で設定されたすべての ASR エンジンのメモリ / GPU メモリ(VRAM)上のアクティブなロード状態および計算デバイスの割り当て状況を確認します。


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"]
    }
  ]
}