Skip to content

Commit f067b07

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

10 files changed

Lines changed: 39 additions & 29 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: 3dc6b9becb1dd17399124bc1dfabd38a
4+
docChecksum: ccde1016b1e3767a647954d3c0a1110e
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.156
9-
configChecksum: 1bf0170b4bad4ad5a834268897b1bfa3
8+
releaseVersion: 1.3.157
9+
configChecksum: 98aeb5fc1435e989a8fcd86d34eae2fd
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: 1ea63ca2-235e-46cf-8fcc-caaf87da85c2
15-
pristine_commit_hash: 2a98f8aec0376b7bfca0115b2715c08e0e81a7ea
16-
pristine_tree_hash: f9cddff889daf4e40e47bae67d81c07d5f1030c0
14+
generation_id: 05ef2bed-4986-471d-bb8a-b39a7d498ff0
15+
pristine_commit_hash: 8439197151761d2fd63276ccba8048d5fd31d33b
16+
pristine_tree_hash: 3c4bb5e6b3afc72056b07c5345d68cbc52c3862a
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:488fe930c68f475ff0c7a7ea9865fae0c84782d8
11432-
pristine_git_object: 11f0655022f8574fc79bc3d17c5c3e9186ca158f
11431+
last_write_checksum: sha1:2ea65c7e61be83a351492690003bdd34889a5640
11432+
pristine_git_object: ccdae17cd63930fb0d65fe1171735373c233e38b
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:350c250d375e528f4b182f8715a6985301914463
11592-
pristine_git_object: df73c3fe6050eb939195dc78558ecd0c37ed8582
11591+
last_write_checksum: sha1:1c87dbce46855a46bcb3e11a53b8b01c01a787cf
11592+
pristine_git_object: 358d49fbcfd5d24f1d01e003acf0b93af434cf5d
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:f0c49655b2088e98075bdaf212c6553b47434dde
11620-
pristine_git_object: 57dc566face63e6cb1f59f2a216a469f0ea08edc
11619+
last_write_checksum: sha1:4fe70108eb1b0c95a86b8bf44193d84c8a00142a
11620+
pristine_git_object: 3ac8b95c67bd6fc7d72e4de29a2e6dffc4f6c33d
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:3a1050fada155ce635b53ce1c7357b4b3f764e24
11628-
pristine_git_object: 4d607b411903e7aeba02238b2fd2f8bf0c8c0f89
11627+
last_write_checksum: sha1:283a50def426154cefd2d55de78c83f5e7073569
11628+
pristine_git_object: 6dc3ecedfec396bd5a0f46c89178563f84c72dd7
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.156
40+
version: 1.3.157
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39341,7 +39341,7 @@ openapi: '3.1.0'
3934139341
paths:
3934239342
/activity:
3934339343
get:
39344-
description: 'Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.'
39344+
description: 'Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3934539345
operationId: 'getUserActivity'
3934639346
parameters:
3934739347
- description: 'Filter by a single UTC date in the last 30 days (YYYY-MM-DD format).'

β€Ž.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:9e21e846dafaa2c36ad3733506b3106fc45dba689adee0f95543f36fefdb7b45
6-
sourceBlobDigest: sha256:2ced0693e6668959ef1098e232fff9689cb44732157a40e73d68f51da4f5a51e
5+
sourceRevisionDigest: sha256:89644ebfe4a1d1bb29e0f1a674f4cf209cc6ff613235f6b20b7bb69b65509334
6+
sourceBlobDigest: sha256:aea5677509f1c6492bb73a9727c5628c33e467350b75d95d67de2ac7697c33d0
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:9e21e846dafaa2c36ad3733506b3106fc45dba689adee0f95543f36fefdb7b45
15-
sourceBlobDigest: sha256:2ced0693e6668959ef1098e232fff9689cb44732157a40e73d68f51da4f5a51e
14+
sourceRevisionDigest: sha256:89644ebfe4a1d1bb29e0f1a674f4cf209cc6ff613235f6b20b7bb69b65509334
15+
sourceBlobDigest: sha256:aea5677509f1c6492bb73a9727c5628c33e467350b75d95d67de2ac7697c33d0
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:902152057d143bc0d494b8d705aa092c47754915042585e61aa4984e21e70472
17+
codeSamplesRevisionDigest: sha256:b6e94d7141c0223a4e91342f180e1eb0a840dc0ec937b3ee72747dbd7542f6a9
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
@@ -4329,4 +4329,14 @@ Based on:
43294329
### Generated
43304330
- [python v1.3.156] .
43314331
### Releases
4332-
- [PyPI v1.3.156] https://pypi.org/project/openrouter/1.3.156 - .
4332+
- [PyPI v1.3.156] https://pypi.org/project/openrouter/1.3.156 - .
4333+
4334+
## 2026-11-11 02:40:22
4335+
### Changes
4336+
Based on:
4337+
- OpenAPI Doc
4338+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
4339+
### Generated
4340+
- [python v1.3.157] .
4341+
### Releases
4342+
- [PyPI v1.3.157] https://pypi.org/project/openrouter/1.3.157 - .

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Analytics and usage endpoints
1515

1616
## get_user_activity
1717

18-
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.
18+
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.
1919

2020
### Example Usage
2121

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

1111
try:
1212
if __package__ is not None:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_user_activity(
2626
) -> components.ActivityResponse:
2727
r"""Get user activity grouped by endpoint
2828
29-
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.
29+
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.
3030
3131
:param request: The request object to send.
3232
:param retries: Override the default retry configuration for this method
@@ -154,7 +154,7 @@ async def get_user_activity_async(
154154
) -> components.ActivityResponse:
155155
r"""Get user activity grouped by endpoint
156156
157-
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.
157+
Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). A workspace-scoped management key needs `activity:view_all` on its own workspace and reads only that workspace: an omitted `workspace_id` defaults to it, a `workspace_id` naming any other workspace returns 403, `api_key_hash` and `user_id` resolve only keys and members of that workspace, and legacy activity with no workspace is excluded (including for the default workspace). [Management key](/docs/guides/overview/auth/management-api-keys) required.
158158
159159
:param request: The request object to send.
160160
:param retries: Override the default retry configuration for this method

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