Skip to content

Commit c443ee6

Browse files
authored
Merge pull request #383 from DeepL/spec/usage-speech-to-speech-minutes
spec: add speech-to-speech to GET /v2/usage
2 parents e66f59e + e1c853e commit c443ee6

2 files changed

Lines changed: 38 additions & 2 deletions

File tree

api-reference/openapi.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "DeepL - Contact us",
99
"url": "https://www.deepl.com/contact-us"
1010
},
11-
"version": "3.11.0"
11+
"version": "3.12.0"
1212
},
1313
"externalDocs": {
1414
"description": "DeepL Pro - Plans and pricing",
@@ -3020,6 +3020,14 @@
30203020
"account_unit_count": 30,
30213021
"api_key_character_count": 0,
30223022
"character_count": 0
3023+
},
3024+
{
3025+
"product_type": "speechToSpeech",
3026+
"billing_unit": "minutes",
3027+
"api_key_unit_count": 12,
3028+
"account_unit_count": 12,
3029+
"api_key_character_count": 0,
3030+
"character_count": 0
30233031
}
30243032
],
30253033
"api_key_character_count": 636,
@@ -3028,6 +3036,8 @@
30283036
"speech_to_text_milliseconds_limit": 0,
30293037
"speech_to_text_minutes_count": 30,
30303038
"speech_to_text_minutes_limit": 600,
3039+
"speech_to_speech_minutes_count": 12,
3040+
"speech_to_speech_minutes_limit": 600,
30313041
"start_time": "2025-05-13T09:18:42Z",
30323042
"end_time": "2025-06-13T09:18:42Z"
30333043
}
@@ -7985,6 +7995,16 @@
79857995
"description": "Only present for API Pro users. Maximum minutes of speech-to-text that can be used in the current billing period.",
79867996
"example": 600
79877997
},
7998+
"speech_to_speech_minutes_count": {
7999+
"type": "integer",
8000+
"description": "Only present for API Pro users. Minutes of speech-to-speech used in the current period. Milliseconds are rounded up to the nearest minute.",
8001+
"example": 12
8002+
},
8003+
"speech_to_speech_minutes_limit": {
8004+
"type": "integer",
8005+
"description": "Only present for API Pro users. Maximum minutes of speech-to-speech that can be used in the current billing period.",
8006+
"example": 600
8007+
},
79888008
"start_time": {
79898009
"type": "string",
79908010
"format": "date-time",

api-reference/openapi.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
contact:
1010
name: DeepL - Contact us
1111
url: https://www.deepl.com/contact-us
12-
version: 3.11.0
12+
version: 3.12.0
1313
externalDocs:
1414
description: DeepL Pro - Plans and pricing
1515
url: https://www.deepl.com/pro#developer
@@ -2162,12 +2162,20 @@ paths:
21622162
account_unit_count: 30
21632163
api_key_character_count: 0
21642164
character_count: 0
2165+
- product_type: speechToSpeech
2166+
billing_unit: minutes
2167+
api_key_unit_count: 12
2168+
account_unit_count: 12
2169+
api_key_character_count: 0
2170+
character_count: 0
21652171
api_key_character_count: 636
21662172
api_key_character_limit: 1000000000000
21672173
speech_to_text_milliseconds_count: 0
21682174
speech_to_text_milliseconds_limit: 0
21692175
speech_to_text_minutes_count: 30
21702176
speech_to_text_minutes_limit: 600
2177+
speech_to_speech_minutes_count: 12
2178+
speech_to_speech_minutes_limit: 600
21712179
start_time: '2025-05-13T09:18:42Z'
21722180
end_time: '2025-06-13T09:18:42Z'
21732181
400:
@@ -5825,6 +5833,14 @@ components:
58255833
type: integer
58265834
description: Only present for API Pro users. Maximum minutes of speech-to-text that can be used in the current billing period.
58275835
example: 600
5836+
speech_to_speech_minutes_count:
5837+
type: integer
5838+
description: Only present for API Pro users. Minutes of speech-to-speech used in the current period. Milliseconds are rounded up to the nearest minute.
5839+
example: 12
5840+
speech_to_speech_minutes_limit:
5841+
type: integer
5842+
description: Only present for API Pro users. Maximum minutes of speech-to-speech that can be used in the current billing period.
5843+
example: 600
58285844
start_time:
58295845
type: string
58305846
format: date-time

0 commit comments

Comments
 (0)