Skip to content

Commit de9aa27

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

10 files changed

Lines changed: 43 additions & 34 deletions

File tree

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 14 additions & 15 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: ecb5eca3ef6a267213db0ded757b55e3
4+
docChecksum: 0179bb9f000dd9887c78c1c305aa3c09
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.40
9-
configChecksum: ee9a5a783a8eacb732f771decfd8b7db
8+
releaseVersion: 1.3.41
9+
configChecksum: a47a564b83deda5460c2c3358b2a9fb1
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: 71c9c96b-57d8-43db-a7fd-358f31fd9922
15-
pristine_commit_hash: 56313cab4b918fcdba448e161f1d1440024301e6
16-
pristine_tree_hash: 6a298d935c5177a5636b85c8c413ee28b7dcbe89
14+
generation_id: 93d9e7ce-6bd2-4046-b914-2bcdf2df2226
15+
pristine_commit_hash: 178564bd46765c30aafa4e5c1c753a0acf0fbd5b
16+
pristine_tree_hash: e5e5b80ca334684c59e45790c8ff42fe7231a126
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -9920,8 +9920,8 @@ trackedFiles:
99209920
pristine_git_object: c1634706646332455817340f5891b4b5c9c6d16c
99219921
docs/sdks/apikeys/README.mdx:
99229922
id: 27fcaae1c346
9923-
last_write_checksum: sha1:d904a5734d4cf752acf932c54fa8cb714034e38c
9924-
pristine_git_object: 558caa92f560fd87cb7ed6bb6d1989b7a5001c81
9923+
last_write_checksum: sha1:5e9a35bb929762c140632d3f0da67192a4e26466
9924+
pristine_git_object: 959c9469aa98c0c0b579b80af7fa111ba49819b7
99259925
docs/sdks/batch/README.mdx:
99269926
id: e367aa4f4295
99279927
last_write_checksum: sha1:03ef59395c1bc1a4ffa14dd68ca2a77a72601080
@@ -10068,8 +10068,8 @@ trackedFiles:
1006810068
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1006910069
pyproject.toml:
1007010070
id: 5d07e7d72637
10071-
last_write_checksum: sha1:13e86e0bb1241458142202f2f8f09b882ed9eaef
10072-
pristine_git_object: 58dec50a7d7a3657ca82dc463ebe5868b50a680c
10071+
last_write_checksum: sha1:455ee39e81e4af64d2edc1072e99817e989064f7
10072+
pristine_git_object: 622315487ab25cbede5b6eb224b4c18ed49f9f2e
1007310073
scripts/prepare_readme.py:
1007410074
id: e0c5957a6035
1007510075
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10096,8 +10096,8 @@ trackedFiles:
1009610096
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1009710097
src/openrouter/_version.py:
1009810098
id: d8d15ad6c586
10099-
last_write_checksum: sha1:c6901839a49042fdd00a20f0200548c0cd92d0a0
10100-
pristine_git_object: b42d7fe103d72102be9150bae1c462b64e09d461
10099+
last_write_checksum: sha1:451c64bb1e608d833e512e2f5bc99dcf41928dbc
10100+
pristine_git_object: ba6631215ca6bef6baa930750391aba363f0641f
1010110101
src/openrouter/alpha.py:
1010210102
id: 306c4d93308d
1010310103
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -10108,8 +10108,8 @@ trackedFiles:
1010810108
pristine_git_object: 9587309db4d5e25a00131a48788456139c25e4c0
1010910109
src/openrouter/api_keys.py:
1011010110
id: 876fac88fff6
10111-
last_write_checksum: sha1:be6e31bd6aa3b8cacec826ba4b249739b4510b79
10112-
pristine_git_object: 3c95e38bd085b026382bace5eab99a7cc91af00a
10111+
last_write_checksum: sha1:c5c79ba8375116a350daab2f687a449777eeb34e
10112+
pristine_git_object: 88c89e7eb0d8b8d5b4ae9118558207f8fa5c27b9
1011310113
src/openrouter/basesdk.py:
1011410114
id: c5733c5a1e12
1011510115
last_write_checksum: sha1:65769ff2cb5473f85b364c6213a0ddc8c68644ea
@@ -18436,4 +18436,3 @@ examples:
1843618436
"500":
1843718437
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1843818438
examplesVersion: 1.0.2
18439-
releaseNotes: "## Python SDK Changes:\n* `open_router.api_keys.update()`: \n * `request.workspace_id` **Added**\n * `error` **Changed**\n"

β€Ž.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.3.40
39+
version: 1.3.41
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40020,7 +40020,7 @@ paths:
4002040020
message: 'Only management keys can perform this operation'
4002140021
schema:
4002240022
$ref: '#/components/schemas/ForbiddenResponse'
40023-
description: 'The workspace is not owned by this account, or the guardrail would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there.'
40023+
description: 'The workspace is not owned by this account, or the workspace does not allow a person-name or address sensitive-info filter.'
4002440024
'500':
4002540025
content:
4002640026
application/json:
@@ -40251,7 +40251,7 @@ paths:
4025140251
message: 'Only management keys can perform this operation'
4025240252
schema:
4025340253
$ref: '#/components/schemas/ForbiddenResponse'
40254-
description: 'The update would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there.'
40254+
description: 'The update would add a person-name or address sensitive-info filter to a workspace that does not allow it.'
4025540255
'404':
4025640256
content:
4025740257
application/json:
@@ -40450,7 +40450,7 @@ paths:
4045040450
message: 'Only management keys can perform this operation'
4045140451
schema:
4045240452
$ref: '#/components/schemas/ForbiddenResponse'
40453-
description: 'The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a HIPAA-enabled workspace, where that filter is not available.'
40453+
description: 'The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspace that does not allow that filter.'
4045440454
'404':
4045540455
content:
4045640456
application/json:
@@ -41538,7 +41538,7 @@ paths:
4153841538
retryable: false
4153941539
schema:
4154041540
$ref: '#/components/schemas/InternLifecycleError'
41541-
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused.'
41541+
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused.'
4154241542
'404':
4154341543
content:
4154441544
application/json:
@@ -44741,7 +44741,7 @@ paths:
4474144741
- 'API Keys'
4474244742
x-speakeasy-name-override: 'get'
4474344743
patch:
44744-
description: "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.\n\n<Warning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n</Warning>"
44744+
description: "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n<Warning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n</Warning>"
4474544745
operationId: 'updateKeys'
4474644746
parameters:
4474744747
- 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:c597251b8315aeabdac8771a04fa223bbd27a7ee37c50e7865f78a63b009cd05
6-
sourceBlobDigest: sha256:63d088f642ae5691d24c0fa0dcd9028d0cd2860692265db7a882af65fa3785aa
5+
sourceRevisionDigest: sha256:d39992720f0137eacb9103b4cdbf4841dd8d071fab7a468a1e76e14d66776ed2
6+
sourceBlobDigest: sha256:57ae88e9838f77eeadf30f4def89b0c1bd7180cc4e57fe97f27c9157d1ebdd13
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:c597251b8315aeabdac8771a04fa223bbd27a7ee37c50e7865f78a63b009cd05
15-
sourceBlobDigest: sha256:63d088f642ae5691d24c0fa0dcd9028d0cd2860692265db7a882af65fa3785aa
14+
sourceRevisionDigest: sha256:d39992720f0137eacb9103b4cdbf4841dd8d071fab7a468a1e76e14d66776ed2
15+
sourceBlobDigest: sha256:57ae88e9838f77eeadf30f4def89b0c1bd7180cc4e57fe97f27c9157d1ebdd13
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:a730ae87d313ee35964df1065a504ce678766c22dbc3b1692054285f0d381138
17+
codeSamplesRevisionDigest: sha256:0bb81f8068479c43445eabefc27e68ce7199390a5829673ac0ff7ad3d7d8622b
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
@@ -3169,4 +3169,14 @@ Based on:
31693169
### Generated
31703170
- [python v1.3.40] .
31713171
### Releases
3172-
- [PyPI v1.3.40] https://pypi.org/project/openrouter/1.3.40 - .
3172+
- [PyPI v1.3.40] https://pypi.org/project/openrouter/1.3.40 - .
3173+
3174+
## 2026-10-09 19:04:29
3175+
### Changes
3176+
Based on:
3177+
- OpenAPI Doc
3178+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3179+
### Generated
3180+
- [python v1.3.41] .
3181+
### Releases
3182+
- [PyPI v1.3.41] https://pypi.org/project/openrouter/1.3.41 - .

β€Ždocs/sdks/apikeys/README.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ with OpenRouter(
274274

275275
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
276276

277-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
277+
Set `workspace_id` to move the key to another workspace.
278278

279279
\<Warning>
280280
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.

β€Ž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.3.40"
3+
version = "1.3.41"
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.3.40"
6+
__version__: str = "1.3.41"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.914.0"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.40 2.914.0 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.41 2.914.0 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

β€Žsrc/openrouter/api_keys.pyβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ def update(
14351435
14361436
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
14371437
1438-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
1438+
Set `workspace_id` to move the key to another workspace.
14391439
14401440
<Warning>
14411441
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
@@ -1616,7 +1616,7 @@ async def update_async(
16161616
16171617
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
16181618
1619-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
1619+
Set `workspace_id` to move the key to another workspace.
16201620
16211621
<Warning>
16221622
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.

β€Ž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)