|
2003 | 2003 | "products": [ |
2004 | 2004 | { |
2005 | 2005 | "product_type": "write", |
| 2006 | + "billing_unit": "characters", |
| 2007 | + "api_key_unit_count": 0, |
| 2008 | + "account_unit_count": 5643, |
2006 | 2009 | "api_key_character_count": 0, |
2007 | 2010 | "character_count": 5643 |
2008 | 2011 | }, |
2009 | 2012 | { |
2010 | 2013 | "product_type": "translate", |
| 2014 | + "billing_unit": "characters", |
| 2015 | + "api_key_unit_count": 636, |
| 2016 | + "account_unit_count": 5941580, |
2011 | 2017 | "api_key_character_count": 636, |
2012 | 2018 | "character_count": 5941580 |
| 2019 | + }, |
| 2020 | + { |
| 2021 | + "product_type": "speech_to_text", |
| 2022 | + "billing_unit": "milliseconds", |
| 2023 | + "api_key_unit_count": 1800000, |
| 2024 | + "account_unit_count": 1800000, |
| 2025 | + "api_key_character_count": 0, |
| 2026 | + "character_count": 0 |
2013 | 2027 | } |
2014 | 2028 | ], |
2015 | 2029 | "api_key_character_count": 636, |
2016 | 2030 | "api_key_character_limit": 1000000000000, |
| 2031 | + "speech_to_text_milliseconds_count": 1800000, |
| 2032 | + "speech_to_text_milliseconds_limit": 36000000, |
2017 | 2033 | "start_time": "2025-05-13T09:18:42Z", |
2018 | 2034 | "end_time": "2025-06-13T09:18:42Z" |
2019 | 2035 | } |
|
3740 | 3756 | "description": "The type of product (e.g., 'write', 'translate').", |
3741 | 3757 | "example": "write" |
3742 | 3758 | }, |
| 3759 | + "billing_unit": { |
| 3760 | + "type": "string", |
| 3761 | + "enum": [ |
| 3762 | + "characters", |
| 3763 | + "milliseconds" |
| 3764 | + ], |
| 3765 | + "description": "The billing unit for this product type.", |
| 3766 | + "example": "characters" |
| 3767 | + }, |
| 3768 | + "api_key_unit_count": { |
| 3769 | + "type": "integer", |
| 3770 | + "description": "Units used for this product by this API key in the current period.", |
| 3771 | + "example": 0 |
| 3772 | + }, |
| 3773 | + "account_unit_count": { |
| 3774 | + "type": "integer", |
| 3775 | + "description": "Total units used for this product by the account in the current period.", |
| 3776 | + "example": 5643 |
| 3777 | + }, |
3743 | 3778 | "api_key_character_count": { |
3744 | 3779 | "type": "integer", |
3745 | 3780 | "description": "Characters used for this product by this API key in the current period.", |
|
3763 | 3798 | "description": "Only present for API Pro users. Character limit for this API key in the current period.", |
3764 | 3799 | "example": 1000000000000 |
3765 | 3800 | }, |
| 3801 | + "speech_to_text_milliseconds_count": { |
| 3802 | + "type": "integer", |
| 3803 | + "description": "Only present for API Pro users. Milliseconds of speech-to-text used in the current period.", |
| 3804 | + "example": 1800000 |
| 3805 | + }, |
| 3806 | + "speech_to_text_milliseconds_limit": { |
| 3807 | + "type": "integer", |
| 3808 | + "description": "Only present for API Pro users. Milliseconds of speech-to-text limit in the current period.", |
| 3809 | + "example": 36000000 |
| 3810 | + }, |
3766 | 3811 | "start_time": { |
3767 | 3812 | "type": "string", |
3768 | 3813 | "format": "date-time", |
|
0 commit comments