Files
openrouter-python-sdk-retry…/docs/operations/responseformat.mdx
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
d81cd563db chore: 🐝 Update SDK - Generate (spec change merged) 0.11.7 (#402)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-07-07 21:50:31 +00:00

23 lines
516 B
Plaintext

---
title: "ResponseFormat"
---
The response format. "json" (default) returns \{ text, usage }; "verbose_json" additionally returns task, language, duration, and segment-level timestamps (OpenAI-compatible providers only).
## Example Usage
```python
from openrouter.operations import ResponseFormat
# Open enum: unrecognized values are captured as UnrecognizedStr
value: ResponseFormat = "json"
```
## Values
This is an open enum. Unrecognized values will not fail type checks.
- `"json"`
- `"verbose_json"`