You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6fb3970
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+248-1Lines changed: 248 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20687,11 +20687,28 @@ components:
20687
20687
options:
20688
20688
$ref: '#/components/schemas/ProviderOptions'
20689
20689
type: object
20690
+
response_format:
20691
+
description: >-
20692
+
Output format. "json" (default) returns { text, usage }. "verbose_json" additionally returns task, language, duration, and segment-level timestamps; only supported by OpenAI-compatible providers.
20693
+
enum:
20694
+
- json
20695
+
- verbose_json
20696
+
example: json
20697
+
type: string
20698
+
x-speakeasy-unknown-values: allow
20690
20699
temperature:
20691
20700
description: Sampling temperature for transcription
20692
20701
example: 0
20693
20702
format: double
20694
20703
type: number
20704
+
timestamp_granularities:
20705
+
description: >-
20706
+
Timestamp detail levels to include when response_format is "verbose_json". "segment" returns segment-level timestamps; "word" additionally returns word-level timestamps in the words array. Ignored unless response_format is "verbose_json".
Timestamp detail levels to include when response_format is "verbose_json". "word" additionally returns word-level timestamps in the words array.
23903
+
items:
23904
+
enum:
23905
+
- word
23906
+
- segment
23907
+
type: string
23908
+
x-speakeasy-unknown-values: allow
23909
+
type: array
23757
23910
required:
23758
23911
- file
23759
23912
- model
@@ -25507,6 +25660,13 @@ paths:
25507
25660
reserved permaslug `other` and is always returned last within its date, so callers
25508
25661
can compute `top-50 traffic / total daily traffic` without a second request.
25509
25662
25663
+
Optional filters slice the dataset. `period` (`day`/`week`/`month`) sets the time
25664
+
grain. `modality` and `context_bucket` narrow the exact dataset by output/input
25665
+
modality (or tool-calling activity) and request context length. `category` and
25666
+
`language_type` instead read a sampled, upsampled dataset whose `total_tokens` are
25667
+
weekly-grain estimates — they cannot be combined with each other or with the exact
25668
+
filters, and reject `period=day` with a 400.
25669
+
25510
25670
Authenticate with any valid OpenRouter API key (same key used for inference).
25511
25671
Rate-limited to 30 requests/minute per key and 500 requests/day per account.
25512
25672
@@ -25541,6 +25701,93 @@ paths:
25541
25701
example: '2026-05-11'
25542
25702
pattern: ^\d{4}-\d{2}-\d{2}$
25543
25703
type: string
25704
+
- description: >-
25705
+
Time grain of each row. `day` (default) returns the per-UTC-day series; `week` buckets by ISO week start; `month` buckets by month start. With `category` or `language_type` only `week` (default) and `month` are available — `day` is rejected with a 400 because those datasets are aggregated weekly. For those sampled datasets `period=month` buckets each week by its week-start month, so totals are approximate at month boundaries.
25706
+
in: query
25707
+
name: period
25708
+
required: false
25709
+
schema:
25710
+
description: >-
25711
+
Time grain of each row. `day` (default) returns the per-UTC-day series; `week` buckets by ISO week start; `month` buckets by month start. With `category` or `language_type` only `week` (default) and `month` are available — `day` is rejected with a 400 because those datasets are aggregated weekly. For those sampled datasets `period=month` buckets each week by its week-start month, so totals are approximate at month boundaries.
25712
+
enum:
25713
+
- day
25714
+
- week
25715
+
- month
25716
+
example: day
25717
+
type: string
25718
+
x-speakeasy-unknown-values: allow
25719
+
- description: >-
25720
+
Restrict to models for a modality surface: `text` / `image_output` match output modality, `image` / `audio` match input modality, and `tool_calling` keeps only rows that recorded at least one tool call. Exact dataset — cannot be combined with `category` or `language_type`.
25721
+
in: query
25722
+
name: modality
25723
+
required: false
25724
+
schema:
25725
+
description: >-
25726
+
Restrict to models for a modality surface: `text` / `image_output` match output modality, `image` / `audio` match input modality, and `tool_calling` keeps only rows that recorded at least one tool call. Exact dataset — cannot be combined with `category` or `language_type`.
25727
+
enum:
25728
+
- text
25729
+
- image
25730
+
- image_output
25731
+
- audio
25732
+
- tool_calling
25733
+
example: text
25734
+
type: string
25735
+
x-speakeasy-unknown-values: allow
25736
+
- description: >-
25737
+
Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.
25738
+
in: query
25739
+
name: context_bucket
25740
+
required: false
25741
+
schema:
25742
+
description: >-
25743
+
Restrict to requests whose context length falls in this bucket (`1K`, `10K`, `100K`, `1M`, or `10M`). Exact dataset — cannot be combined with `category` or `language_type`.
25744
+
enum:
25745
+
- 1K
25746
+
- 10K
25747
+
- 100K
25748
+
- 1M
25749
+
- 10M
25750
+
example: 100K
25751
+
type: string
25752
+
x-speakeasy-unknown-values: allow
25753
+
- description: >-
25754
+
Restrict to a use-case category (e.g. `programming`, `roleplay`). Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `language_type`.
25755
+
in: query
25756
+
name: category
25757
+
required: false
25758
+
schema:
25759
+
description: >-
25760
+
Restrict to a use-case category (e.g. `programming`, `roleplay`). Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `language_type`.
25761
+
enum:
25762
+
- programming
25763
+
- roleplay
25764
+
- marketing
25765
+
- marketing/seo
25766
+
- technology
25767
+
- science
25768
+
- translation
25769
+
- legal
25770
+
- finance
25771
+
- health
25772
+
- trivia
25773
+
- academia
25774
+
example: programming
25775
+
type: string
25776
+
x-speakeasy-unknown-values: allow
25777
+
- description: >-
25778
+
Restrict to natural-language or programming-language tagged activity. Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `category`.
25779
+
in: query
25780
+
name: language_type
25781
+
required: false
25782
+
schema:
25783
+
description: >-
25784
+
Restrict to natural-language or programming-language tagged activity. Sourced from a sampled, upsampled dataset, so `total_tokens` is an estimate and is aggregated weekly (the trailing weekly bucket may include traffic past `end_date`). Cannot be combined with `modality`, `context_bucket`, or `category`.
|`response_format`|[Optional[components.ResponseFormatEnum]](../components/responseformatenum.mdx)|:heavy_minus_sign:| Audio output format | pcm |
15
+
|`response_format`|[Optional[components.SpeechRequestResponseFormat]](../components/speechrequestresponseformat.mdx)|:heavy_minus_sign:| Audio output format | pcm |
16
16
|`speed`|*Optional[float]*|:heavy_minus_sign:| Playback speed multiplier. Only used by models that support it (e.g. OpenAI TTS). Ignored by other providers. | 1 |
0 commit comments