Skip to content

Commit 264abf9

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

10 files changed

Lines changed: 43 additions & 33 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 14 additions & 14 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: 1ab3a16b762d9a741b6d1ad32b6682e8
4+
docChecksum: 793bfcba8e4eca9881a65d3d1b871e87
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.152
9-
configChecksum: ea0b6e7960e4c64393122e5362fd7bff
8+
releaseVersion: 1.3.153
9+
configChecksum: d9812d55ca2876f75f3a7f7bf20a8503
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: 50168646-339a-4d72-804b-c2c302f5dbae
15-
pristine_commit_hash: 82feeacf81761eaff4ef26734e45d2471d076b98
16-
pristine_tree_hash: 06ad8d0c64b19844697c980e63c73232bcc61e4e
14+
generation_id: ab77b687-57fe-49a7-8340-d56673bc21f0
15+
pristine_commit_hash: c74f43a0c5ace00e7f78a1b53a0f9af333febf44
16+
pristine_tree_hash: 7279b6b781c512a84f72b9599df5388538a67d9e
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11428,8 +11428,8 @@ trackedFiles:
1142811428
pristine_git_object: f265978fdb338b412232349476bf1e874833c9f8
1142911429
docs/sdks/analytics/README.mdx:
1143011430
id: 281aa5320be1
11431-
last_write_checksum: sha1:43f108861cfaea86e8fa9984a6174d9fa4b7dc64
11432-
pristine_git_object: 2cfd14c40ab962877968c79c6c958ea432a4f083
11431+
last_write_checksum: sha1:488fe930c68f475ff0c7a7ea9865fae0c84782d8
11432+
pristine_git_object: 11f0655022f8574fc79bc3d17c5c3e9186ca158f
1143311433
docs/sdks/apikeys/README.mdx:
1143411434
id: 27fcaae1c346
1143511435
last_write_checksum: sha1:09195a526bc468df6743e47dbdee79949f66e77c
@@ -11588,8 +11588,8 @@ trackedFiles:
1158811588
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1158911589
pyproject.toml:
1159011590
id: 5d07e7d72637
11591-
last_write_checksum: sha1:4afc98e9320f6e56a3791700ba1006745a382bdf
11592-
pristine_git_object: 1aeabe8b3c07b065aba02be633367600fbf2b649
11591+
last_write_checksum: sha1:e379fbc71e26bd4b84097fcf5173696686122f4e
11592+
pristine_git_object: 1d4ec34f204bb2ca1690dd5f519a5a8c506575eb
1159311593
scripts/prepare_readme.py:
1159411594
id: e0c5957a6035
1159511595
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -11616,16 +11616,16 @@ trackedFiles:
1161611616
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1161711617
src/openrouter/_version.py:
1161811618
id: d8d15ad6c586
11619-
last_write_checksum: sha1:e5b3b376db6c15b973db6c029bd131d435a4d186
11620-
pristine_git_object: 69ff326d8f3d5bd0460315abdb6813c7379105bb
11619+
last_write_checksum: sha1:3a8273c43d94a8b30bf3c76889cca802957a68ca
11620+
pristine_git_object: 3ccca8b53fc52b34aae3ecda5ea43bfc08c35055
1162111621
src/openrouter/alpha.py:
1162211622
id: 306c4d93308d
1162311623
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
1162411624
pristine_git_object: f512ec0a9dab3feb43c9add635c0a926b7728b2d
1162511625
src/openrouter/analytics.py:
1162611626
id: cb406b5aaabb
11627-
last_write_checksum: sha1:0ae5a0c89591d8bc3982d4e7c526a3ac66b7d845
11628-
pristine_git_object: 0e567f3a37cc6aeb45a2551d0d500412e4b7796d
11627+
last_write_checksum: sha1:3a1050fada155ce635b53ce1c7357b4b3f764e24
11628+
pristine_git_object: 4d607b411903e7aeba02238b2fd2f8bf0c8c0f89
1162911629
src/openrouter/api_keys.py:
1163011630
id: 876fac88fff6
1163111631
last_write_checksum: sha1:eee27956e31d7525d8cfbc9177d5b79db2b3aab3

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ generation:
3737
documentation: mintlify
3838
preApplyUnionDiscriminators: true
3939
python:
40-
version: 1.3.152
40+
version: 1.3.153
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39440,7 +39440,7 @@ paths:
3944039440
- $ref: "#/components/parameters/AppCategories"
3944139441
/analytics/meta:
3944239442
get:
39443-
description: 'Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
39443+
description: 'Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3944439444
operationId: 'getAnalyticsMeta'
3944539445
responses:
3944639446
'200':
@@ -39590,7 +39590,7 @@ paths:
3959039590
- $ref: "#/components/parameters/AppCategories"
3959139591
/analytics/query:
3959239592
post:
39593-
description: 'Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
39593+
description: 'Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3959439594
operationId: 'queryAnalytics'
3959539595
requestBody:
3959639596
content:

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.803.2
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:b5a231ad35826273b4ce980acbde3282868a73dd73945e1356f9a63b47cf6868
6-
sourceBlobDigest: sha256:3db38b57c72bdae5563a9879a47ca79e32aa83d9facba67b5597acb2f75a2cab
5+
sourceRevisionDigest: sha256:a4da6c300145abdd1d6e7320eae8786badcddc2783da4d0a52dd28ada2493050
6+
sourceBlobDigest: sha256:425ca8d485ce1e14998b2f7da0ae7342bf70b869fddae280056fc759f154295c
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:b5a231ad35826273b4ce980acbde3282868a73dd73945e1356f9a63b47cf6868
15-
sourceBlobDigest: sha256:3db38b57c72bdae5563a9879a47ca79e32aa83d9facba67b5597acb2f75a2cab
14+
sourceRevisionDigest: sha256:a4da6c300145abdd1d6e7320eae8786badcddc2783da4d0a52dd28ada2493050
15+
sourceBlobDigest: sha256:425ca8d485ce1e14998b2f7da0ae7342bf70b869fddae280056fc759f154295c
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:2e8cc722fd588254665416cb8c55cfae3af9c1399396ef2986f664efc36ba9c2
17+
codeSamplesRevisionDigest: sha256:0c805b4f4e03c05f5661e3fa9fd81fbfad07e67332b211ac9e1ad223df4dd8da
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.803.2

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4289,4 +4289,14 @@ Based on:
42894289
### Generated
42904290
- [python v1.3.152] .
42914291
### Releases
4292-
- [PyPI v1.3.152] https://pypi.org/project/openrouter/1.3.152 - .
4292+
- [PyPI v1.3.152] https://pypi.org/project/openrouter/1.3.152 - .
4293+
4294+
## 2026-11-10 22:21:05
4295+
### Changes
4296+
Based on:
4297+
- OpenAPI Doc
4298+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4299+
### Generated
4300+
- [python v1.3.153] .
4301+
### Releases
4302+
- [PyPI v1.3.153] https://pypi.org/project/openrouter/1.3.153 - .

‎docs/sdks/analytics/README.mdx‎

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

6363
## get_analytics_meta
6464

65-
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.
65+
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.
6666

6767
### Example Usage
6868

@@ -109,7 +109,7 @@ with OpenRouter(
109109

110110
## query_analytics
111111

112-
Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.
112+
Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.
113113

114114
### Example Usage
115115

‎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.152"
3+
version = "1.3.153"
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.152"
6+
__version__: str = "1.3.153"
77
__openapi_doc_version__: str = "1.0.0"
88
__gen_version__: str = "2.950.13"
9-
__user_agent__: str = "speakeasy-sdk/python 1.3.152 2.950.13 1.0.0 openrouter"
9+
__user_agent__: str = "speakeasy-sdk/python 1.3.153 2.950.13 1.0.0 openrouter"
1010

1111
try:
1212
if __package__ is not None:

‎src/openrouter/analytics.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def get_analytics_meta(
281281
) -> operations.GetAnalyticsMetaResponse:
282282
r"""Get available analytics metrics and dimensions
283283
284-
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.
284+
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.
285285
286286
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
287287
This is used to track API usage per application.
@@ -408,7 +408,7 @@ async def get_analytics_meta_async(
408408
) -> operations.GetAnalyticsMetaResponse:
409409
r"""Get available analytics metrics and dimensions
410410
411-
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.
411+
Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. Workspace-scoped management keys are accepted. [Management key](/docs/guides/overview/auth/management-api-keys) required.
412412
413413
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
414414
This is used to track API usage per application.
@@ -558,7 +558,7 @@ def query_analytics(
558558
) -> operations.QueryAnalyticsResponse:
559559
r"""Query analytics data
560560
561-
Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.
561+
Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.
562562
563563
:param metrics:
564564
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
@@ -755,7 +755,7 @@ async def query_analytics_async(
755755
) -> operations.QueryAnalyticsResponse:
756756
r"""Query analytics data
757757
758-
Execute an analytics query with specified metrics, dimensions, filters, and time range. [Management key](/docs/guides/overview/auth/management-api-keys) required.
758+
Execute an analytics query with specified metrics, dimensions, filters, and time range. A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: it is refused a `workspace` filter naming another workspace, it excludes legacy rows with no workspace (including for the default workspace), and possible-cache metrics such as `possible_cached_tokens` return 400. [Management key](/docs/guides/overview/auth/management-api-keys) required.
759759
760760
:param metrics:
761761
: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)