Skip to main content
GET
Get S2S Time Status

Get S2S Time Status

Retrieve the current Speech-to-Speech (S2S) time status for the billing user.

Endpoint

Description

Retrieve the current Speech-to-Speech (S2S) time status for the billing user, including remaining time, total monthly limit, used time, and renewal information.

S2S Time Quotas

  • Quotas are based on the user’s license tier
  • Time resets monthly based on the license assignment date
  • Non-renewable trial licenses don’t auto-reset

Authentication

Required: API Key

Query Parameters

Request Example

JavaScript/Node.js

Python

Response

Success Response (200)

Response Fields

Error Responses

400 Bad Request

401 Unauthorized

404 Not Found

500 Internal Server Error

Notes

  • Check this endpoint before initiating S2S sessions to ensure sufficient time is available
  • The user_id parameter allows checking status for a different user (defaults to API key owner)
  • Time quotas are based on the user’s license tier
  • Non-renewable trial licenses will have non_renewable: true and 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"