Skip to main content
GET
Get S2S Time Status

S2S 時間ステータスを取得

請求ユーザーの現在の Speech-to-Speech (S2S) 時間ステータスを取得します。

エンドポイント

説明

残り時間、月間制限合計、使用時間、更新情報など、請求ユーザーの現在の Speech-to-Speech (S2S) 時間ステータスを取得します。

S2S 時間の割り当て

  • クォータはユーザーのライセンス層に基づいています
  • 時間はライセンスの割り当て日に基づいて毎月リセットされます
  • 更新不可の試用版ライセンスは自動リセットされません

認証

必須: API キー

クエリパラメータ

リクエストの例

JavaScript/Node.js

パイソン

応答

成功の応答 (200)

応答フィールド

エラー応答

400 不正なリクエスト

401 不正

404 見つかりません

500 内部サーバーエラー

注意事項

  • S2S セッションを開始する前にこのエンドポイントをチェックして、十分な時間が利用可能であることを確認してください
  • user_id パラメータを使用すると、別のユーザーのステータスを確認できます (デフォルトは API キー所有者)
  • 時間割り当てはユーザーのライセンス層に基づきます
  • 更新不可の試用版ライセンスには non_renewable: true および next_renewal_date: null が含まれます

承認

Authorization
string
header
必須

API key authentication using Bearer token format. Example: Authorization: Bearer sk-your-api-key-here

クエリパラメータ

user_id
string

Optional user ID to check status for (defaults to API key owner)

:

"60a7c8f5e8b4f5001f7a8c23"

レスポンス

S2S time status

success
boolean
:

true

remaining_minutes
number

Remaining S2S time in minutes

:

38.2896

total_minutes
number

Total monthly S2S time limit

:

45

used_minutes
number

Used S2S time this month

:

6.7104

has_time_remaining
boolean

Whether user has any remaining S2S time

:

true

next_renewal_date
string<date-time>

When the S2S time quota will reset (null for non-renewable licenses)

:

"2025-12-01T12:55:35.721Z"

non_renewable
boolean

Whether this is a non-renewable trial license

:

false

request_id
string

Request ID for tracking

:

"a8c307b4-c0c9-4b30-98db-5aced06c1cfe"