Skip to content

spec: update /v2/usage for STT minutes fields#381

Merged
wints merged 2 commits into
mainfrom
usage-endpoint-openapi-updates
Jun 30, 2026
Merged

spec: update /v2/usage for STT minutes fields#381
wints merged 2 commits into
mainfrom
usage-endpoint-openapi-updates

Conversation

@wints

@wints wints commented Jun 29, 2026

Copy link
Copy Markdown
Contributor
  • Change products[].billing_unit enum: milliseconds -> minutes
  • Add speech_to_text_minutes_count and speech_to_text_minutes_limit fields
  • Deprecate speech_to_text_milliseconds_count and speech_to_text_milliseconds_limit (always 0)
  • Update pro example response to reflect current API behavior

@mintlify

mintlify Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
deepl-c950b784 🟢 Ready View Preview Jun 29, 2026, 8:52 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

- Change products[].billing_unit enum: milliseconds -> minutes
- Add speech_to_text_minutes_count and speech_to_text_minutes_limit fields
- Deprecate speech_to_text_milliseconds_count and speech_to_text_milliseconds_limit (always 0)
- Update pro example response to reflect current API behavior
@wints wints force-pushed the usage-endpoint-openapi-updates branch from 2609c20 to 34dbe1a Compare June 29, 2026 09:37
@wints wints marked this pull request as ready for review June 30, 2026 09:30
lilkraftwerk pushed a commit that referenced this pull request Jun 30, 2026
Adds the speechToSpeech product and speech_to_speech_minutes_count /
speech_to_speech_minutes_limit fields to the /v2/usage response, mirroring the
speech-to-text handling. Stacked on the STT/minutes cleanup in #381.
@wints wints merged commit 27999b3 into main Jun 30, 2026
3 checks passed
@wints wints deleted the usage-endpoint-openapi-updates branch June 30, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants