Skip to content

Commit 3ce95cb

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

17 files changed

Lines changed: 778 additions & 32 deletions

‎.speakeasy/gen.lock‎

Lines changed: 59 additions & 21 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: 4bd025f53fc2580c1adab2dec1499dca
4+
docChecksum: be7c11dcf47add5989f403c393b004f7
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.26
9-
configChecksum: 4df5753b337f38beefa79b8bfef8319b
8+
releaseVersion: 1.1.27
9+
configChecksum: cd57c8a0de51b8a03c8b09310929f01e
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: 59507816-56c7-4f0b-90d2-dc5e846961fc
15-
pristine_commit_hash: 120785b8533df4719a69079a96abe7c26ee4cdc8
16-
pristine_tree_hash: 3ffd1100c8437295e3f7442d4ee25fecb720cf38
14+
generation_id: 2bd77237-503a-4a76-a70e-c30ff7216a4d
15+
pristine_commit_hash: 29dd98cf236ec587c0af26a6ee59169e4e4e24be
16+
pristine_tree_hash: 6d691315fc84cf5072331ad8a3b838389435d1b0
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -2164,6 +2164,10 @@ trackedFiles:
21642164
id: 59edec5c97d1
21652165
last_write_checksum: sha1:e60a199f393362e0182d4b5aa6218294e6c1af48
21662166
pristine_git_object: 3031bf1129e51ad652a31b7142154b49fcc4560f
2167+
docs/components/getworkspacebudgetresponse.mdx:
2168+
id: 9a7d2b80e512
2169+
last_write_checksum: sha1:a299ce75f8736a4d572a06a48e54e00854a63f0b
2170+
pristine_git_object: 2974de1ffe849cdfc1720bb7e3431a89ac4c9b14
21672171
docs/components/getworkspaceresponse.mdx:
21682172
id: c8d0c4683019
21692173
last_write_checksum: sha1:5d10c3c4510cdc869a740deee62c31e9d2b02cc9
@@ -6320,6 +6324,14 @@ trackedFiles:
63206324
id: 751150df8456
63216325
last_write_checksum: sha1:dd91989f271487fe03882f979e24cbd19ef1d306
63226326
pristine_git_object: 1b1c087538b67ecc69a464735f5af7bfbf777c1e
6327+
docs/operations/getworkspacebudgetglobals.mdx:
6328+
id: 364bec52e3ae
6329+
last_write_checksum: sha1:48f79d1434f1ce76ff36d9f86f84771f61254b3c
6330+
pristine_git_object: 9aa76f556ce0cdac2fa0c3755f4da8b5fc2db3c1
6331+
docs/operations/getworkspacebudgetrequest.mdx:
6332+
id: 55fa8569d4ab
6333+
last_write_checksum: sha1:1a609b03011bb7c2adadee5296b81d0594a786e9
6334+
pristine_git_object: 1e5648b8df0a67d2fd9f7da643dacf63b87fcbfb
63236335
docs/operations/getworkspaceglobals.mdx:
63246336
id: 50abe112c1f4
63256337
last_write_checksum: sha1:c01276f8bf7cc4708cd3e6eeea83c4ac9d97ccf6
@@ -7066,16 +7078,16 @@ trackedFiles:
70667078
pristine_git_object: f277730478c66312d0e4bbb21fae715a9fcf14b9
70677079
docs/sdks/workspaces/README.mdx:
70687080
id: 0c75d023ef6b
7069-
last_write_checksum: sha1:f517770e2ba836c7a0f9238dd950829207c5b1ca
7070-
pristine_git_object: 8fc6605c4a67012d439d41aea244c29a333ba787
7081+
last_write_checksum: sha1:7c5a7d137506704b9afa3d0b93323c0998df5cda
7082+
pristine_git_object: 9a25256ed9125277444c2d762415eab9a430f1c6
70717083
py.typed:
70727084
id: 258c3ed47ae4
70737085
last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60
70747086
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
70757087
pyproject.toml:
70767088
id: 5d07e7d72637
7077-
last_write_checksum: sha1:aa22090e0b0c3844eabb41d5c20ff9f2437a3565
7078-
pristine_git_object: 21b18c4152e6a4ff00490287b5d5d878dda1f8a7
7089+
last_write_checksum: sha1:a264d9007e08b3eae1c2386bafd532997cef58f4
7090+
pristine_git_object: 7e513fdef9903e80c52e5722af29177e5be59a12
70797091
scripts/prepare_readme.py:
70807092
id: e0c5957a6035
70817093
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7102,8 +7114,8 @@ trackedFiles:
71027114
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
71037115
src/openrouter/_version.py:
71047116
id: d8d15ad6c586
7105-
last_write_checksum: sha1:27705f13028414481341cd7909e975d4a5b560f2
7106-
pristine_git_object: e7538015b3cbee72d2f456e80b219849ddc5508e
7117+
last_write_checksum: sha1:d58a79dc88238c0e3e3fe18d9e4dc5a4f537f159
7118+
pristine_git_object: ace1bde4d196b0fb748a67f2dd51ee2b17331927
71077119
src/openrouter/analytics.py:
71087120
id: cb406b5aaabb
71097121
last_write_checksum: sha1:3ea0f1c73fb9c101b7bc5719da4dd7bf62ff469a
@@ -7146,8 +7158,8 @@ trackedFiles:
71467158
pristine_git_object: ad3d247954547814054c01989a2dff3d12b3e4e1
71477159
src/openrouter/components/__init__.py:
71487160
id: 81754e97b3f4
7149-
last_write_checksum: sha1:b0e873a60c008b4ef8336c155354ee8805dcb76a
7150-
pristine_git_object: 5659a9d1b2a765d579e4b89a13f36163b355b97a
7161+
last_write_checksum: sha1:6c39e9051ff665be30ed2c1e7e7f64ed272a5622
7162+
pristine_git_object: 2a8ad9e6785f77e990e9b1818d7d68eae15757ce
71517163
src/openrouter/components/aabenchmarkentry.py:
71527164
id: e2e0f0b48c82
71537165
last_write_checksum: sha1:fab4d9a24d2cea937bb749d46c5f83941e99d65c
@@ -8104,6 +8116,10 @@ trackedFiles:
81048116
id: f6dd9e0daa9e
81058117
last_write_checksum: sha1:0b1ba09ad5da624c4fdbd1bff5d8919e55133cb9
81068118
pristine_git_object: cfca9a058673bf7db640c2cec6d8dfc4f87837bd
8119+
src/openrouter/components/getworkspacebudgetresponse.py:
8120+
id: 5ae557de0b72
8121+
last_write_checksum: sha1:49ee6ebadd481997bf9285d709847e5db8c0911c
8122+
pristine_git_object: b013b7e50d1573b98fe3f4f2fb08c8494a3e449a
81078123
src/openrouter/components/getworkspaceresponse.py:
81088124
id: d993d0c4c3da
81098125
last_write_checksum: sha1:918535730d1c352bcc8fd2342e1c4cea89bc357f
@@ -9658,8 +9674,8 @@ trackedFiles:
96589674
pristine_git_object: 0f62389a8410522fe76eed82c64227903a8605c5
96599675
src/openrouter/operations/__init__.py:
96609676
id: 9afcea1e7161
9661-
last_write_checksum: sha1:10813e43c7af4d49a27bc034ae9c898a347a883c
9662-
pristine_git_object: 633049645a506d455ecef8e65b8a42edaf36bf42
9677+
last_write_checksum: sha1:7462feea63bad287e4382464c6a5bf24b401eaa2
9678+
pristine_git_object: 37c3c8ce47455812f19b303f0b4d34738ee1237a
96639679
src/openrouter/operations/bulkaddworkspacemembers.py:
96649680
id: e0ed56117619
96659681
last_write_checksum: sha1:5c44eb0d40fdece3ac084615f6c6082be4cf1d5a
@@ -9880,6 +9896,10 @@ trackedFiles:
98809896
id: 2ead327ab15e
98819897
last_write_checksum: sha1:3dff8a41dc00770f6233f94b8233655f8310bc49
98829898
pristine_git_object: 1075e4c49f582db35eb921aa25d2b2baeb803dd3
9899+
src/openrouter/operations/getworkspacebudget.py:
9900+
id: 1873b593f56e
9901+
last_write_checksum: sha1:099b2e1c71882774ddd7a998bd47fafffcc3b483
9902+
pristine_git_object: 54a57c8768e85a76803a6a4002c48a7040b11a85
98839903
src/openrouter/operations/list.py:
98849904
id: 3ced31e3804e
98859905
last_write_checksum: sha1:5db489d16b321c49808ca3da9100839a72903f67
@@ -10174,8 +10194,8 @@ trackedFiles:
1017410194
pristine_git_object: 6460765cd23146b66e8b3b85bafd83ccf18d21c6
1017510195
src/openrouter/workspaces.py:
1017610196
id: cd6c533b1802
10177-
last_write_checksum: sha1:2a0bb110a1b5b9e9fcbca3f46dd4451b3e861cd3
10178-
pristine_git_object: 015ceeebf877ef713bc7257dd47d01ee2c4d144c
10197+
last_write_checksum: sha1:273ca910cf9ea52419cfc681410fbf00b47adbd8
10198+
pristine_git_object: d302cb5a478a949511c6de8bbf4260a3d0cfd536
1017910199
examples:
1018010200
createResponses:
1018110201
speakeasy-default-create-responses:
@@ -11635,6 +11655,8 @@ examples:
1163511655
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1163611656
"500":
1163711657
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
11658+
"400":
11659+
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
1163811660
upsertWorkspaceBudget:
1163911661
speakeasy-default-upsert-workspace-budget:
1164011662
parameters:
@@ -11865,9 +11887,25 @@ examples:
1186511887
application/json: {"error": {"code": 404, "message": "Resource not found"}}
1186611888
"500":
1186711889
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
11890+
getWorkspaceBudget:
11891+
speakeasy-default-get-workspace-budget:
11892+
parameters:
11893+
path:
11894+
id: "production"
11895+
interval: "monthly"
11896+
responses:
11897+
"200":
11898+
application/json: {"data": {"created_at": "2025-08-24T10:30:00Z", "id": "770e8400-e29b-41d4-a716-446655440000", "limit_usd": 100, "reset_interval": "monthly", "updated_at": "2025-08-24T15:45:00Z", "workspace_id": "550e8400-e29b-41d4-a716-446655440000"}}
11899+
"400":
11900+
application/json: {"error": {"code": 400, "message": "Invalid request parameters"}}
11901+
"401":
11902+
application/json: {"error": {"code": 401, "message": "Missing Authentication header"}}
11903+
"404":
11904+
application/json: {"error": {"code": 404, "message": "Resource not found"}}
11905+
"500":
11906+
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
1186811907
examplesVersion: 1.0.2
1186911908
releaseNotes: |
1187011909
## Python SDK Changes:
11871-
* `open_router.tts.create_speech()`: `request.input_references` **Added**
11872-
* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].supports_voice_cloning` **Added**
11873-
* `open_router.endpoints.list()`: `response.data.endpoints[].supports_voice_cloning` **Added**
11910+
* `open_router.workspaces.get_budget()`: **Added**
11911+
* `open_router.workspaces.delete_budget()`: `error.status[400]` **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.26
39+
version: 1.1.27
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9635,6 +9635,28 @@ components:
96359635
required:
96369636
- 'data'
96379637
type: 'object'
9638+
GetWorkspaceBudgetResponse:
9639+
example:
9640+
data:
9641+
created_at: '2025-08-24T10:30:00Z'
9642+
id: '770e8400-e29b-41d4-a716-446655440000'
9643+
limit_usd: 100
9644+
reset_interval: 'monthly'
9645+
updated_at: '2025-08-24T15:45:00Z'
9646+
workspace_id: '550e8400-e29b-41d4-a716-446655440000'
9647+
include_byok_in_budgets: true
9648+
properties:
9649+
data:
9650+
allOf:
9651+
- $ref: '#/components/schemas/WorkspaceBudget'
9652+
- description: 'The budget for the requested interval'
9653+
include_byok_in_budgets:
9654+
description: 'Whether BYOK (bring-your-own-key) spend is included when enforcing the workspace''s budgets. This is a workspace-wide setting that applies to all budget intervals (daily, weekly, monthly, and lifetime).'
9655+
example: true
9656+
type: 'boolean'
9657+
required:
9658+
- 'data'
9659+
type: 'object'
96389660
GetWorkspaceResponse:
96399661
example:
96409662
data:
@@ -37462,6 +37484,16 @@ paths:
3746237484
schema:
3746337485
$ref: '#/components/schemas/DeleteWorkspaceBudgetResponse'
3746437486
description: 'Budget deleted successfully'
37487+
'400':
37488+
content:
37489+
application/json:
37490+
example:
37491+
error:
37492+
code: 400
37493+
message: 'Invalid request parameters'
37494+
schema:
37495+
$ref: '#/components/schemas/BadRequestResponse'
37496+
description: 'Bad Request - Invalid request parameters or malformed input'
3746537497
'401':
3746637498
content:
3746737499
application/json:
@@ -37496,6 +37528,86 @@ paths:
3749637528
tags:
3749737529
- 'Workspaces'
3749837530
x-speakeasy-name-override: 'deleteBudget'
37531+
get:
37532+
description: 'Retrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
37533+
operationId: 'getWorkspaceBudget'
37534+
parameters:
37535+
- description: 'The workspace ID (UUID) or slug'
37536+
in: 'path'
37537+
name: 'id'
37538+
required: true
37539+
schema:
37540+
description: 'The workspace ID (UUID) or slug'
37541+
example: 'production'
37542+
minLength: 1
37543+
type: 'string'
37544+
- description: 'Budget reset interval. Use "lifetime" for a one-time budget that never resets.'
37545+
example: 'monthly'
37546+
in: 'path'
37547+
name: 'interval'
37548+
required: true
37549+
schema:
37550+
$ref: '#/components/schemas/WorkspaceBudgetInterval'
37551+
responses:
37552+
'200':
37553+
content:
37554+
application/json:
37555+
example:
37556+
data:
37557+
created_at: '2025-08-24T10:30:00Z'
37558+
id: '770e8400-e29b-41d4-a716-446655440000'
37559+
limit_usd: 100
37560+
reset_interval: 'monthly'
37561+
updated_at: '2025-08-24T15:45:00Z'
37562+
workspace_id: '550e8400-e29b-41d4-a716-446655440000'
37563+
include_byok_in_budgets: true
37564+
schema:
37565+
$ref: '#/components/schemas/GetWorkspaceBudgetResponse'
37566+
description: 'Budget retrieved successfully'
37567+
'400':
37568+
content:
37569+
application/json:
37570+
example:
37571+
error:
37572+
code: 400
37573+
message: 'Invalid request parameters'
37574+
schema:
37575+
$ref: '#/components/schemas/BadRequestResponse'
37576+
description: 'Bad Request - Invalid request parameters or malformed input'
37577+
'401':
37578+
content:
37579+
application/json:
37580+
example:
37581+
error:
37582+
code: 401
37583+
message: 'Missing Authentication header'
37584+
schema:
37585+
$ref: '#/components/schemas/UnauthorizedResponse'
37586+
description: 'Unauthorized - Authentication required or invalid credentials'
37587+
'404':
37588+
content:
37589+
application/json:
37590+
example:
37591+
error:
37592+
code: 404
37593+
message: 'Resource not found'
37594+
schema:
37595+
$ref: '#/components/schemas/NotFoundResponse'
37596+
description: 'Not Found - Resource does not exist'
37597+
'500':
37598+
content:
37599+
application/json:
37600+
example:
37601+
error:
37602+
code: 500
37603+
message: 'Internal Server Error'
37604+
schema:
37605+
$ref: '#/components/schemas/InternalServerResponse'
37606+
description: 'Internal Server Error - Unexpected server error'
37607+
summary: 'Get a workspace budget'
37608+
tags:
37609+
- 'Workspaces'
37610+
x-speakeasy-name-override: 'getBudget'
3749937611
put:
3750037612
description: 'Create or update the budget for a given interval. Budget limits must strictly decrease as the interval narrows (lifetime > monthly > weekly > daily). The optional `include_byok_in_budgets` flag is a workspace-wide setting: when provided it applies to every budget interval for the workspace, not just the interval in this request. Note that a change made here is applied to budget enforcement immediately, but an already-open workspace settings page in the web dashboard may keep showing the previous value until it is reloaded. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
3750137613
operationId: 'upsertWorkspaceBudget'

‎.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:f1344cdf479044bc22ce6c0e6b8d5e967069bce83ca7dd363b54c28cd148fb95
6-
sourceBlobDigest: sha256:9631f74074cfdeca4f58e1f195991bccbf8053252aada6bdbdd29baa8217ff08
5+
sourceRevisionDigest: sha256:f89a07d7220907360b9ac5ecea709b3307e39d9ab5bf499fe78541628d17f37c
6+
sourceBlobDigest: sha256:439eb2fb58b83d4959ec1bddce024c1a426f31d3b6d21f130383a9c6d611b17f
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:f1344cdf479044bc22ce6c0e6b8d5e967069bce83ca7dd363b54c28cd148fb95
15-
sourceBlobDigest: sha256:9631f74074cfdeca4f58e1f195991bccbf8053252aada6bdbdd29baa8217ff08
14+
sourceRevisionDigest: sha256:f89a07d7220907360b9ac5ecea709b3307e39d9ab5bf499fe78541628d17f37c
15+
sourceBlobDigest: sha256:439eb2fb58b83d4959ec1bddce024c1a426f31d3b6d21f130383a9c6d611b17f
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:7ab6893fadfccf77a50b9b75a78da89433261a20515c86ac3daa2cdd75e78cda
17+
codeSamplesRevisionDigest: sha256:5e817705b5cab5aa1a246b2d529ca39c280a66a80484e15a8e9708faf9190f89
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
@@ -1049,4 +1049,14 @@ Based on:
10491049
### Generated
10501050
- [python v1.1.26] .
10511051
### Releases
1052-
- [PyPI v1.1.26] https://pypi.org/project/openrouter/1.1.26 - .
1052+
- [PyPI v1.1.26] https://pypi.org/project/openrouter/1.1.26 - .
1053+
1054+
## 2026-08-04 06:55:49
1055+
### Changes
1056+
Based on:
1057+
- OpenAPI Doc
1058+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1059+
### Generated
1060+
- [python v1.1.27] .
1061+
### Releases
1062+
- [PyPI v1.1.27] https://pypi.org/project/openrouter/1.1.27 - .

0 commit comments

Comments
 (0)