Skip to content

Commit 3315696

Browse files
authored
Merge pull request #40 from DeepLcom/aj/AE-412
AE-412: Add speech_to_text_milliseconds to Voice usage reports
2 parents 2c287f5 + 5711c05 commit 3315696

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

openapi.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2715,7 +2715,8 @@
27152715
"total_characters": 9619,
27162716
"text_translation_characters": 4892,
27172717
"document_translation_characters": 0,
2718-
"text_improvement_characters": 4727
2718+
"text_improvement_characters": 4727,
2719+
"speech_to_text_milliseconds": 1800000
27192720
},
27202721
"group_by": "key_and_day",
27212722
"start_date": "2025-09-29T00:00:00",
@@ -2729,7 +2730,8 @@
27292730
"total_characters": 315,
27302731
"text_translation_characters": 159,
27312732
"document_translation_characters": 0,
2732-
"text_improvement_characters": 156
2733+
"text_improvement_characters": 156,
2734+
"speech_to_text_milliseconds": 1800000
27332735
}
27342736
}
27352737
]
@@ -2744,7 +2746,8 @@
27442746
"total_characters": 9619,
27452747
"text_translation_characters": 4892,
27462748
"document_translation_characters": 0,
2747-
"text_improvement_characters": 4727
2749+
"text_improvement_characters": 4727,
2750+
"speech_to_text_milliseconds": 1800000
27482751
},
27492752
"start_date": "2025-09-29T00:00:00",
27502753
"end_date": "2025-10-01T00:00:00"
@@ -4144,6 +4147,11 @@
41444147
"type": "integer",
41454148
"description": "Number of characters used for text improvement.",
41464149
"example": 4727
4150+
},
4151+
"speech_to_text_milliseconds": {
4152+
"type": "integer",
4153+
"description": "Duration of speech-to-text usage in milliseconds.",
4154+
"example": 1800000
41474155
}
41484156
}
41494157
},

openapi.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1917,6 +1917,7 @@ paths:
19171917
text_translation_characters: 4892
19181918
document_translation_characters: 0
19191919
text_improvement_characters: 4727
1920+
speech_to_text_milliseconds: 1800000
19201921
group_by: "key_and_day"
19211922
start_date: "2025-09-29T00:00:00"
19221923
end_date: "2025-10-01T00:00:00"
@@ -1929,6 +1930,7 @@ paths:
19291930
text_translation_characters: 159
19301931
document_translation_characters: 0
19311932
text_improvement_characters: 156
1933+
speech_to_text_milliseconds: 1800000
19321934
withoutGrouping:
19331935
summary: Usage report without grouping
19341936
value:
@@ -1938,6 +1940,7 @@ paths:
19381940
text_translation_characters: 4892
19391941
document_translation_characters: 0
19401942
text_improvement_characters: 4727
1943+
speech_to_text_milliseconds: 1800000
19411944
start_date: "2025-09-29T00:00:00"
19421945
end_date: "2025-10-01T00:00:00"
19431946
400:
@@ -3432,6 +3435,10 @@ components:
34323435
type: integer
34333436
description: Number of characters used for text improvement.
34343437
example: 4727
3438+
speech_to_text_milliseconds:
3439+
type: integer
3440+
description: Duration of speech-to-text usage in milliseconds.
3441+
example: 1800000
34353442
GroupedUsageItem:
34363443
type: object
34373444
description: Usage statistics for a specific API key and optionally a specific date.

0 commit comments

Comments
 (0)