Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ typos, schema fixes, or adding examples.
### Deprecated
* Removed the `openapi_gitbook.yaml` file due to redundancy. Please use `openapi.yaml` going forward

## [3.10.0] - 2025-01-27
### Added
* Add `speech_to_text_milliseconds` field to developer key usage limits in `/v2/admin/developer-keys/limits` endpoint and `ApiKey` response schema

## [3.9.0] - 2025-12-11
### Added
* Add `speech_to_text_milliseconds` field to usage reports and analytics components
Expand Down
11 changes: 11 additions & 0 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2634,6 +2634,9 @@
},
"characters": {
"$ref": "#/components/schemas/ApiKeyUsageCharacters"
},
"speech_to_text_milliseconds": {
"$ref": "#/components/schemas/ApiKeyUsageSpeechToTextMilliseconds"
}
}
}
Expand Down Expand Up @@ -5095,6 +5098,11 @@
"type": "number",
"example": 5000
},
"ApiKeyUsageSpeechToTextMilliseconds": {
"description": "Restricts the number of milliseconds of speech-to-text that can be consumed by an API key in a one-month usage period.\nSetting the limit to `0` means the API key will not be able to consume speech-to-text milliseconds.\nSetting the limit to `null` disables the limit, effectively allowing unlimited usage.\n",
"type": "number",
"example": 3600000
},
"ApiKey": {
"description": "The API key.",
"type": "object",
Expand Down Expand Up @@ -5126,6 +5134,9 @@
"properties": {
"characters": {
"$ref": "#/components/schemas/ApiKeyUsageCharacters"
},
"speech_to_text_milliseconds": {
"$ref": "#/components/schemas/ApiKeyUsageSpeechToTextMilliseconds"
}
}
}
Expand Down
11 changes: 11 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1870,6 +1870,8 @@ paths:
$ref: '#/components/schemas/ApiKeyId'
characters:
$ref: '#/components/schemas/ApiKeyUsageCharacters'
speech_to_text_milliseconds:
$ref: '#/components/schemas/ApiKeyUsageSpeechToTextMilliseconds'
responses:
200:
description: The set usage limits function returns a JSON representation of the modified API key.
Expand Down Expand Up @@ -3733,6 +3735,13 @@ components:
Setting the limit to `null` disables the limit, effectively allowing unlimited usage.
type: number
example: 5000
ApiKeyUsageSpeechToTextMilliseconds:
description: |
Restricts the number of milliseconds of speech-to-text that can be consumed by an API key in a one-month usage period.
Setting the limit to `0` means the API key will not be able to consume speech-to-text milliseconds.
Setting the limit to `null` disables the limit, effectively allowing unlimited usage.
type: number
example: 3600000
ApiKey:
description: The API key.
type: object
Expand All @@ -3759,6 +3768,8 @@ components:
properties:
characters:
$ref: '#/components/schemas/ApiKeyUsageCharacters'
speech_to_text_milliseconds:
$ref: '#/components/schemas/ApiKeyUsageSpeechToTextMilliseconds'
Context:
description: |-
The `context` parameter makes it possible to include additional context that can influence a translation but is not translated itself.
Expand Down