Skip to content

Commit e9b4ae4

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.1.81 (#713)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent cabcca1 commit e9b4ae4

10 files changed

Lines changed: 43 additions & 41 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: c48cf606-fb42-4a45-9c23-8f0555307828
33
management:
4-
docChecksum: 9a21da776a63d8a1ab383c6a36668bf0
4+
docChecksum: e23d814be45efb3a8f0ce93a58e6f1ee
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.80
9-
configChecksum: e088bba216f88d55dcc05d4f3b5a999b
8+
releaseVersion: 1.1.81
9+
configChecksum: 4c8ecd6c854e57a38d160410ab56f977
1010
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
1212
published: true
1313
persistentEdits:
14-
generation_id: d2dc66ab-efe1-4319-b859-f7f49d99fec9
15-
pristine_commit_hash: d3a4e608a61c13740ca17462131298598ba29467
16-
pristine_tree_hash: b47f1a2e14b773ff8c6cd889832e02ced561f59a
14+
generation_id: 9534f798-9ad9-4bf3-8e07-503c0ef9edeb
15+
pristine_commit_hash: 5982ac8d3875e7a1908e5283e00aab0ca4d39c54
16+
pristine_tree_hash: b5b39013d72c09f032f8a0278f41fd7a1e664eca
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -7242,8 +7242,8 @@ trackedFiles:
72427242
pristine_git_object: c1634706646332455817340f5891b4b5c9c6d16c
72437243
docs/sdks/apikeys/README.mdx:
72447244
id: 27fcaae1c346
7245-
last_write_checksum: sha1:002fa5cee49f99cbba1adda1ead8cd2808e893e7
7246-
pristine_git_object: eb1649326fcf548dfab33eb11163ba7511c2547e
7245+
last_write_checksum: sha1:5b409ac3398d29c44cc2af597a89307eb71376f9
7246+
pristine_git_object: 04bd660dc56ece892d4dd12cab1d4d8afc78d385
72477247
docs/sdks/benchmarks/README.mdx:
72487248
id: 5b483a6770ba
72497249
last_write_checksum: sha1:885b70fcbd2be60f51a2f58e133fd6452eb21600
@@ -7358,8 +7358,8 @@ trackedFiles:
73587358
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73597359
pyproject.toml:
73607360
id: 5d07e7d72637
7361-
last_write_checksum: sha1:4ad2ac0d52d1828dbb9feca2f7fa39206819134e
7362-
pristine_git_object: c6e255a167228b021666d308a5c52de689f8b63c
7361+
last_write_checksum: sha1:17abd609fdb3afcac3eb99dcb66a854ef28eaea9
7362+
pristine_git_object: 49f3fc2baf87a081814ed289a2fa864bb3a82ce3
73637363
scripts/prepare_readme.py:
73647364
id: e0c5957a6035
73657365
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7386,16 +7386,16 @@ trackedFiles:
73867386
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
73877387
src/openrouter/_version.py:
73887388
id: d8d15ad6c586
7389-
last_write_checksum: sha1:7895593dcf93d43e317d6822db9b29cb6b1caf28
7390-
pristine_git_object: 18d71c63114f8321bdd7ae5a9019589fb4a5cd1c
7389+
last_write_checksum: sha1:ffa09155e99b5078fb12f5a53e884b85faa9cef2
7390+
pristine_git_object: 8c4be141657683598f6fd9135e9894ed0443097a
73917391
src/openrouter/analytics.py:
73927392
id: cb406b5aaabb
73937393
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
73947394
pristine_git_object: 9587309db4d5e25a00131a48788456139c25e4c0
73957395
src/openrouter/api_keys.py:
73967396
id: 876fac88fff6
7397-
last_write_checksum: sha1:f0b15c66d147dcdd60ce0030552177284f10731d
7398-
pristine_git_object: f667fac412be50888ab100a71dd23909b06eebcd
7397+
last_write_checksum: sha1:1e2b56bb3a7ab930e9addfae5040de9600ab8df8
7398+
pristine_git_object: 1ee2102b2779bfdaa10d514053794304ba5ba153
73997399
src/openrouter/basesdk.py:
74007400
id: c5733c5a1e12
74017401
last_write_checksum: sha1:65769ff2cb5473f85b364c6213a0ddc8c68644ea
@@ -12386,11 +12386,3 @@ examples:
1238612386
"503":
1238712387
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1238812388
examplesVersion: 1.0.2
12389-
releaseNotes: |
12390-
## Python SDK Changes:
12391-
* `open_router.embeddings.list_models()`: `response.data[].pricing.overrides[].utc_days` **Added**
12392-
* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].pricing.overrides[].utc_days` **Added**
12393-
* `open_router.endpoints.list()`: `response.data.endpoints[].pricing.overrides[].utc_days` **Added**
12394-
* `open_router.models.get()`: `response.data.pricing.overrides[].utc_days` **Added**
12395-
* `open_router.models.list()`: `response.data[].pricing.overrides[].utc_days` **Added**
12396-
* `open_router.models.list_for_user()`: `response.data[].pricing.overrides[].utc_days` **Added**

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.1.80
39+
version: 1.1.81
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34155,7 +34155,7 @@ paths:
3415534155
- $ref: "#/components/parameters/AppCategories"
3415634156
/keys/{hash}:
3415734157
delete:
34158-
description: 'Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
34158+
description: 'Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.'
3415934159
operationId: 'deleteKeys'
3416034160
parameters:
3416134161
- description: 'The hash identifier of the API key to delete'
@@ -34505,7 +34505,7 @@ paths:
3450534505
- 'API Keys'
3450634506
x-speakeasy-name-override: 'get'
3450734507
patch:
34508-
description: 'Update an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
34508+
description: 'Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.'
3450934509
operationId: 'updateKeys'
3451034510
parameters:
3451134511
- description: 'The hash identifier of the API key to update'

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:27ac577c51d9c3dd8ac762c0f89bf31858843e5f97f72a10dc8fa759a70f0b29
6-
sourceBlobDigest: sha256:189a5c201cb62e161821ada4cca930ea7ae4711df3dcf9001eac70ed152d61ac
5+
sourceRevisionDigest: sha256:d966a380c4881c5f75315011fe4731f1e74b677f405a8758fbae7ee77591a077
6+
sourceBlobDigest: sha256:d9f7f65a79bd68786ae40d49ec6ae88d47e40419cbdbd71c719221bc21225a9c
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:27ac577c51d9c3dd8ac762c0f89bf31858843e5f97f72a10dc8fa759a70f0b29
15-
sourceBlobDigest: sha256:189a5c201cb62e161821ada4cca930ea7ae4711df3dcf9001eac70ed152d61ac
14+
sourceRevisionDigest: sha256:d966a380c4881c5f75315011fe4731f1e74b677f405a8758fbae7ee77591a077
15+
sourceBlobDigest: sha256:d9f7f65a79bd68786ae40d49ec6ae88d47e40419cbdbd71c719221bc21225a9c
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:330bb94775f6450f65513e23e20a997ecd5d7cecd4a44f29a2ae282ace81ffed
17+
codeSamplesRevisionDigest: sha256:f540ff84d7912a5c0709ed0cc82f7bcd6454bb09437dfdfe2101fd483052cd99
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,4 +1589,14 @@ Based on:
15891589
### Generated
15901590
- [python v1.1.80] .
15911591
### Releases
1592-
- [PyPI v1.1.80] https://pypi.org/project/openrouter/1.1.80 - .
1592+
- [PyPI v1.1.80] https://pypi.org/project/openrouter/1.1.80 - .
1593+
1594+
## 2026-08-24 22:14:01
1595+
### Changes
1596+
Based on:
1597+
- OpenAPI Doc
1598+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1599+
### Generated
1600+
- [python v1.1.81] .
1601+
### Releases
1602+
- [PyPI v1.1.81] https://pypi.org/project/openrouter/1.1.81 - .

‎docs/sdks/apikeys/README.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ with OpenRouter(
174174

175175
## delete
176176

177-
Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
177+
Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
178178

179179
### Example Usage
180180

@@ -272,7 +272,7 @@ with OpenRouter(
272272

273273
## update
274274

275-
Update an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
275+
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
276276

277277
### Example Usage
278278

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openrouter"
3-
version = "1.1.80"
3+
version = "1.1.81"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

‎src/openrouter/_version.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "openrouter"
6-
__version__: str = "1.1.80"
6+
__version__: str = "1.1.81"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.1.80 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.1.81 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/api_keys.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ def delete(
887887
) -> operations.DeleteKeysResponse:
888888
r"""Delete an API key
889889
890-
Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
890+
Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
891891
892892
:param hash: The hash identifier of the API key to delete
893893
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -1020,7 +1020,7 @@ async def delete_async(
10201020
) -> operations.DeleteKeysResponse:
10211021
r"""Delete an API key
10221022
1023-
Delete an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
1023+
Delete an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
10241024
10251025
:param hash: The hash identifier of the API key to delete
10261026
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -1424,7 +1424,7 @@ def update(
14241424
) -> operations.UpdateKeysResponse:
14251425
r"""Update an API key
14261426
1427-
Update an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
1427+
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
14281428
14291429
:param hash: The hash identifier of the API key to update
14301430
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -1586,7 +1586,7 @@ async def update_async(
15861586
) -> operations.UpdateKeysResponse:
15871587
r"""Update an API key
15881588
1589-
Update an existing API key. [Management key](/docs/guides/overview/auth/management-api-keys) required.
1589+
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. A client secret reaches only the keys that same client created; any other key responds as if it does not exist.
15901590
15911591
:param hash: The hash identifier of the API key to update
15921592
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)