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
79 changes: 42 additions & 37 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.25
version: 1.3.26
additionalDependencies:
dev: {}
main: {}
Expand Down
44 changes: 44 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43111,6 +43111,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand All @@ -43136,6 +43137,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand Down Expand Up @@ -43163,6 +43165,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand Down Expand Up @@ -43233,6 +43236,13 @@ paths:
description: 'Human-readable label for the API key'
example: 'sk-or-v1-0e6...1c96'
type: 'string'
last_used_at:
description: 'ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025'
example: '2026-09-15T15:45:00Z'
format: 'date-time'
type:
- 'string'
- 'null'
limit:
description: 'Spending limit for the API key in USD'
example: 100
Expand Down Expand Up @@ -43306,6 +43316,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'last_used_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
Expand Down Expand Up @@ -43465,6 +43476,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'My New API Key'
last_used_at: null
limit: 50
limit_remaining: 50
limit_reset: 'monthly'
Expand All @@ -43491,6 +43503,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'My New API Key'
last_used_at: null
limit: 50
limit_remaining: 50
limit_reset: 'monthly'
Expand Down Expand Up @@ -43518,6 +43531,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand Down Expand Up @@ -43588,6 +43602,13 @@ paths:
description: 'Human-readable label for the API key'
example: 'sk-or-v1-0e6...1c96'
type: 'string'
last_used_at:
description: 'ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025'
example: '2026-09-15T15:45:00Z'
format: 'date-time'
type:
- 'string'
- 'null'
limit:
description: 'Spending limit for the API key in USD'
example: 100
Expand Down Expand Up @@ -43661,6 +43682,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'last_used_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
Expand Down Expand Up @@ -43837,6 +43859,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand All @@ -43862,6 +43885,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'Production API Key'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand All @@ -43888,6 +43912,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand Down Expand Up @@ -43958,6 +43983,13 @@ paths:
description: 'Human-readable label for the API key'
example: 'sk-or-v1-0e6...1c96'
type: 'string'
last_used_at:
description: 'ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025'
example: '2026-09-15T15:45:00Z'
format: 'date-time'
type:
- 'string'
- 'null'
limit:
description: 'Spending limit for the API key in USD'
example: 100
Expand Down Expand Up @@ -44031,6 +44063,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'last_used_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
Expand Down Expand Up @@ -44162,6 +44195,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'Updated API Key Name'
last_used_at: '2026-09-15T15:45:00Z'
limit: 75
limit_remaining: 49.5
limit_reset: 'daily'
Expand All @@ -44187,6 +44221,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: true
label: 'Updated API Key Name'
last_used_at: '2026-09-15T15:45:00Z'
limit: 75
limit_remaining: 49.5
limit_reset: 'daily'
Expand All @@ -44213,6 +44248,7 @@ paths:
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
include_byok_in_limit: false
label: 'sk-or-v1-0e6...1c96'
last_used_at: '2026-09-15T15:45:00Z'
limit: 100
limit_remaining: 74.5
limit_reset: 'monthly'
Expand Down Expand Up @@ -44283,6 +44319,13 @@ paths:
description: 'Human-readable label for the API key'
example: 'sk-or-v1-0e6...1c96'
type: 'string'
last_used_at:
description: 'ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025'
example: '2026-09-15T15:45:00Z'
format: 'date-time'
type:
- 'string'
- 'null'
limit:
description: 'Spending limit for the API key in USD'
example: 100
Expand Down Expand Up @@ -44356,6 +44399,7 @@ paths:
- 'byok_usage_monthly'
- 'created_at'
- 'updated_at'
- 'last_used_at'
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:60860108aac4bc42bde6965ab51b058bc2899b2c747747cea6304b7b2fd9e055
sourceBlobDigest: sha256:814406dfec3321a42a6a09e93f3fe60edab725d14f8eedf34bea4ca19d53a364
sourceRevisionDigest: sha256:d24d16338614e6343ad2fa1f47f408d2f8c3eba071a3d8a472544748a0aa6620
sourceBlobDigest: sha256:da7dea9cc7d4012055e43f82b5e8dbf0324eda4990d380fc4968ae2e93bc5acd
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:60860108aac4bc42bde6965ab51b058bc2899b2c747747cea6304b7b2fd9e055
sourceBlobDigest: sha256:814406dfec3321a42a6a09e93f3fe60edab725d14f8eedf34bea4ca19d53a364
sourceRevisionDigest: sha256:d24d16338614e6343ad2fa1f47f408d2f8c3eba071a3d8a472544748a0aa6620
sourceBlobDigest: sha256:da7dea9cc7d4012055e43f82b5e8dbf0324eda4990d380fc4968ae2e93bc5acd
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:9d35e2b24e2c243e828f1fc71d03e8d166b3a99427ef780bba63305f4e2c4902
codeSamplesRevisionDigest: sha256:3f73f08c00f988c928fcea61faba174a810f86938b84a2f3db39fb026966729c
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3019,4 +3019,14 @@ Based on:
### Generated
- [python v1.3.25] .
### Releases
- [PyPI v1.3.25] https://pypi.org/project/openrouter/1.3.25 - .
- [PyPI v1.3.25] https://pypi.org/project/openrouter/1.3.25 - .

## 2026-10-06 18:05:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.26] .
### Releases
- [PyPI v1.3.26] https://pypi.org/project/openrouter/1.3.26 - .
1 change: 1 addition & 0 deletions docs/operations/createkeysdata.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The created API key information
| `hash` | *str* | :heavy_check_mark: | Unique hash identifier for the API key | f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943 |
| `include_byok_in_limit` | *bool* | :heavy_check_mark: | Whether to include external BYOK usage in the credit limit | false |
| `label` | *str* | :heavy_check_mark: | Human-readable label for the API key | sk-or-v1-0e6...1c96 |
| `last_used_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | ISO 8601 UTC timestamp of the most recent usage recorded for the API key, or null if no usage has been recorded since the end of 2025 | 2026-09-15T15:45:00Z |
| `limit` | *Nullable[float]* | :heavy_check_mark: | Spending limit for the API key in USD | 100 |
| `limit_remaining` | *Nullable[float]* | :heavy_check_mark: | Remaining spending limit in USD | 74.5 |
| `limit_reset` | *Nullable[str]* | :heavy_check_mark: | Type of limit reset for the API key | monthly |
Expand Down
Loading
Loading