Skip to content

Commit cf1aba9

Browse files
authored
Merge pull request #259 from DeepLcom/usage-analytics-stt
Add STT usage in minutes to docs and spec
2 parents 73abde7 + 0cf0e85 commit cf1aba9

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

api-reference/admin-api/organization-usage-analytics.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ The optional `group_by` parameter allows you to organize usage data in different
3535

3636
### Usage breakdown
3737

38-
All responses include a breakdown of character usage by service type:
38+
All responses include a breakdown of usage by service type:
3939
* **Total characters**: Combined usage across all services
4040
* **Text translation characters**: Characters used for text translation
4141
* **Document translation characters**: Characters used for document translation
4242
* **Text improvement characters**: Characters used for text improvement (rephrasing)
43+
* **Speech-to-text minutes**: Duration of speech-to-text usage in minutes
4344

4445
## Use cases
4546

api-reference/openapi.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ paths:
138138
text_translation_characters: 4892
139139
document_translation_characters: 0
140140
text_improvement_characters: 4727
141-
speech_to_text_milliseconds: 1800000
141+
speech_to_text_minutes: 107.46
142142
group_by: "key_and_day"
143143
start_date: "2025-09-29T00:00:00"
144144
end_date: "2025-10-01T00:00:00"
@@ -151,7 +151,7 @@ paths:
151151
text_translation_characters: 159
152152
document_translation_characters: 0
153153
text_improvement_characters: 156
154-
speech_to_text_milliseconds: 1800000
154+
speech_to_text_minutes: 11.94
155155
withoutGrouping:
156156
summary: Usage report without grouping
157157
value:
@@ -161,7 +161,7 @@ paths:
161161
text_translation_characters: 4892
162162
document_translation_characters: 0
163163
text_improvement_characters: 4727
164-
speech_to_text_milliseconds: 1800000
164+
speech_to_text_minutes: 107.46
165165
start_date: "2025-09-29T00:00:00"
166166
end_date: "2025-10-01T00:00:00"
167167
400:
@@ -4688,10 +4688,10 @@ components:
46884688
type: integer
46894689
description: Number of characters used for text improvement.
46904690
example: 4727
4691-
speech_to_text_milliseconds:
4692-
type: integer
4693-
description: Duration of speech-to-text usage in milliseconds.
4694-
example: 1800000
4691+
speech_to_text_minutes:
4692+
type: number
4693+
description: Duration of speech-to-text usage in minutes.
4694+
example: 107.46
46954695
KeyAndDayUsageItem:
46964696
type: object
46974697
description: Usage statistics for a specific API key and optionally a specific date.

0 commit comments

Comments
 (0)