1. Usage and request history
MyVocal AI语音大模型API文档
English
  • 中文
  • English
  • 文字转语音大模型
    • API reference
      • Voice management
        • List voices
        • Create a voice
        • Delete a voice
      • HTTP synthesis
        • Streaming HTTP synthesis
        • Non-streaming HTTP synthesis
      • WebSocket synthesis
        • Standard TTS · Single connection
        • Standard TTS · Multiple contexts
        • Dialogue · Multiple contexts
      • Usage and request history
        • Get master key usage
          GET
        • Look up a request by ID
          GET
        • Get usage by voice
          GET
      • Sub-key management
        • Create a sub-key
        • List sub-keys
        • Get sub-key details
        • Update a sub-key
        • Get sub-key usage
    • Overview and quickstart
      • Models
      • Choose a model and endpoint
      • Supported languages
      • Audio formats and playback
      • FAQ
      • SDKs and examples
  • 金融行业定制TTS模型
    • Skyblight text to speech
      • Streaming text to speech
      • Non-streaming text to speech
      • List voices
      • Delete a voice
      • Create a voice
      • Get usage
    • Full-duplex communication
      • WebSocket integration guide
      • V2 bidirectional streaming synthesis (WebSocket)
  • 语音转文字ASR
    • Overview and quickstarts
      • Realtime transcription quickstart
      • File transcription quickstart
      • Models and capabilities
      • Changelog
    • API reference
      • Realtime transcription over WebSocket
      • Create a file transcription
      • Get ASR usage
  • 企业客户声音定制服务
    • Your custom brand voice
  1. Usage and request history

Get usage by voice

GET
https://api.voicelibrary.co/enterprise/v1/voice/usage
Get usage for a particular voice_id over a date range.

请求参数

Query 参数

Header 参数

返回响应

🟢200Success
application/json
Bodyapplication/json

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://api.voicelibrary.co/enterprise/v1/voice/usage?voice_id=undefined&start_date=2025-12-01&end_date=2026-01-31' \
--header 'api-key;'
响应示例响应示例
{
    "voice_id": "xxxxxxxxxxxxx",
    "start_date": "YYYY-MM-DD",
    "end_date": "YYYY-MM-DD",
    "tts": {
        "turbo_chars": 10000,
        "v2_chars": 1000,
        "v3_chars": 100,
        "skyblight_chars": 0,
        "total_chars": 11100
    }
}
上一页
Look up a request by ID
下一页
Sub-key management
Built with