Skip to content

Commit 67b9808

Browse files
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.232 (#1460)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
1 parent b6a4f43 commit 67b9808

12 files changed

Lines changed: 56 additions & 47 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 18 additions & 19 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: 185b99a4ab1a0c254dff7b621be73856
4+
docChecksum: c53e0c50b5772475e71b8daef3ef6460
55
docVersion: 1.0.0
66
speakeasyVersion: 1.803.2
77
generationVersion: 2.950.13
8-
releaseVersion: 1.3.231
9-
configChecksum: cb8cedb1cfbf3d8d2cea9727d40a0fae
8+
releaseVersion: 1.3.232
9+
configChecksum: f27bbc66d5b9676c1abb85c6a1db13dd
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: 11ddcc9f-c94f-4153-8f1c-255f0e7be46f
15-
pristine_commit_hash: 52e247612c337aeeb0017504551b83f5de38e36f
16-
pristine_tree_hash: d759dd2d7d765a19923b2dfbf3daf4a31a51f142
14+
generation_id: 50c02186-1aa9-4959-9822-2d59847f2138
15+
pristine_commit_hash: 76f83750c0b8e941bb9c306f4b4ba46994c50d0d
16+
pristine_tree_hash: f5bdd18453014af72e66111233fdaf237104f137
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -11660,8 +11660,8 @@ trackedFiles:
1166011660
pristine_git_object: f7ab206b5ca32f5af427138d0a9156f66e92211c
1166111661
docs/operations/listorganizationmembersdata.mdx:
1166211662
id: d96ba08cbfe4
11663-
last_write_checksum: sha1:3a4695810cb24cd5ba2e3b76e35ec173c450255f
11664-
pristine_git_object: 074f84fca93aad3390425f57e227e0b87fda447b
11663+
last_write_checksum: sha1:b15444d5c7ddf489f7fc8ec39ea633165a8c793c
11664+
pristine_git_object: e6212c7ce184dd1fcdcb47cd63c8168085b5189a
1166511665
docs/operations/listorganizationmembersglobals.mdx:
1166611666
id: 421fd4978d8f
1166711667
last_write_checksum: sha1:b4aec9055bf7a1f276ebdc4b270e09aee733e3fd
@@ -12244,8 +12244,8 @@ trackedFiles:
1224412244
pristine_git_object: e1c261779c6ccbc2b6cf70738af9bf5b5a9925aa
1224512245
docs/sdks/batch/README.mdx:
1224612246
id: e367aa4f4295
12247-
last_write_checksum: sha1:03ddfbe3833af9b7ac3b683e1f57b16bab4aa667
12248-
pristine_git_object: e974a6eda93ac9e3f5eeb83a665e790f0ba06758
12247+
last_write_checksum: sha1:1a1160bdde124e4f3f4d8c4c14448ab3df7f2c77
12248+
pristine_git_object: e7b9850d5994a638ef7ba44c8356fdd4e434b365
1224912249
docs/sdks/benchmarks/README.mdx:
1225012250
id: 5b483a6770ba
1225112251
last_write_checksum: sha1:10a8edbf3bc300bab53ce72c3a37c974971b74bd
@@ -12396,8 +12396,8 @@ trackedFiles:
1239612396
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1239712397
pyproject.toml:
1239812398
id: 5d07e7d72637
12399-
last_write_checksum: sha1:b7d10dfd58065a73456a0eeeb02dbeb5d04ff061
12400-
pristine_git_object: 6c2a83088a8558f8841d258b9b11034a0b8aef87
12399+
last_write_checksum: sha1:5a7211dad29ce13a9939efe8ba426eae4e2108dd
12400+
pristine_git_object: 248081fa04053fc2be72d6583049ae4c0c3da51c
1240112401
scripts/prepare_readme.py:
1240212402
id: e0c5957a6035
1240312403
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -12424,8 +12424,8 @@ trackedFiles:
1242412424
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1242512425
src/openrouter/_version.py:
1242612426
id: d8d15ad6c586
12427-
last_write_checksum: sha1:3358e233d32cc8feabd9eefeab4e8acaf3cdfc93
12428-
pristine_git_object: 2577e2e2595b694e69d26dfc37962ce16229d419
12427+
last_write_checksum: sha1:f371f274031caf2043fe8b0ba2b0e980af513ac3
12428+
pristine_git_object: 9aab77681d97e2d829756dc63c8dc77c33c3c816
1242912429
src/openrouter/alpha.py:
1243012430
id: 306c4d93308d
1243112431
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
@@ -12444,8 +12444,8 @@ trackedFiles:
1244412444
pristine_git_object: 7a562e21c7e66c9db666ead83748b73adefe4278
1244512445
src/openrouter/batch.py:
1244612446
id: 148f61e34d5b
12447-
last_write_checksum: sha1:66bf7726b079d007ce8d6eaff76ab3a95a2ea88c
12448-
pristine_git_object: 1110b2127b77436a1b3ee7acda5ff3f5040fdf56
12447+
last_write_checksum: sha1:387696eb4007cb5fc7f5899d3affc5a0e0f3e667
12448+
pristine_git_object: 48894aa220b0f6019f003d8e42eb94890a25dc73
1244912449
src/openrouter/benchmarks.py:
1245012450
id: 178d2ad8d706
1245112451
last_write_checksum: sha1:be86f24d07ba86e9585f7d2bc2c384dba5185727
@@ -17232,8 +17232,8 @@ trackedFiles:
1723217232
pristine_git_object: 8efdffe07537894b87e3f0e2b54c53825dfd7b31
1723317233
src/openrouter/operations/listorganizationmembers.py:
1723417234
id: d40a3e0e2b38
17235-
last_write_checksum: sha1:849f30b995950cadbcb8b22b4e84ce122db2caf1
17236-
pristine_git_object: 52a74ececf52cb2ec789935dbf4c3cb0947b6cc5
17235+
last_write_checksum: sha1:9abf02bf6aa51e098cef126622a7dfa038b7a89a
17236+
pristine_git_object: 9b3800036125e1750b99811d4f37680b084a7771
1723717237
src/openrouter/operations/listpresets.py:
1723817238
id: ecdc7097aab7
1723917239
last_write_checksum: sha1:ee7c1cccf1caafb6a0fc04efb16476db2301233b
@@ -22806,4 +22806,3 @@ examples:
2280622806
"500":
2280722807
application/json: {"error": {"code": 400, "message": "custom_id is required on requests[0]."}}
2280822808
examplesVersion: 1.0.2
22809-
releaseNotes: "## Python SDK Changes:\n* `open_router.alpha.decisions.create()`: `request.provider` **Changed**\n* `open_router.alpha.extractions.create()`: `request.provider` **Changed**\n* `open_router.tts.create_speech()`: `request.provider` **Changed**\n* `open_router.stt.create_transcription()`: `request.provider` **Changed**\n* `open_router.stt.list_models()`: `response.data[].endpoints[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.stt.get_model()`: `response.endpoints[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.batch.create_batches()`: \n * `request.provider.only[].union(ProviderName).enum(celeris)` **Added**\n* `open_router.byok.list()`: \n * `request.provider` **Changed**\n * `response.data[].provider.enum(celeris)` **Added**\n* `open_router.byok.create()`: \n * `request.provider.enum(celeris)` **Added**\n * `response.data.provider.enum(celeris)` **Added**\n* `open_router.byok.get()`: `response.data.provider.enum(celeris)` **Added**\n* `open_router.byok.update()`: `response.data.provider.enum(celeris)` **Added**\n* `open_router.embeddings.generate()`: `request.provider` **Changed**\n* `open_router.embeddings.list_models()`: `response.data[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.endpoints.list_zdr_endpoints()`: `response.data[].provider_name.enum(celeris)` **Added**\n* `open_router.endpoints.list()`: `response.data.endpoints[].provider_name.enum(celeris)` **Added**\n* `open_router.generations.get_generation()`: `response.data.provider_responses[].provider_name.enum(celeris)` **Added**\n* `open_router.images.list_models()`: `response.data[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.images.list_model_endpoints()`: `response.endpoints[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_messages()`: `request.provider` **Changed**\n* `open_router.presets.create_presets_responses()`: `request.provider` **Changed**\n* `open_router.rerank.rerank()`: `request.provider` **Changed**\n* `open_router.rerank.list_models()`: `response.data[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n* `open_router.system_one.create()`: `request.provider` **Changed**\n* `open_router.video_generation.generate()`: `request.provider` **Changed**\n* `open_router.video_generation.list_videos_models()`: `response.data[].input_modalities[].union(audio).supported_inputs.formats.values[]` **Changed**\n"

‎.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.231
40+
version: 1.3.232
4141
additionalDependencies:
4242
dev:
4343
pytest: '>=8.3'

‎.speakeasy/out.openapi.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44912,7 +44912,7 @@ paths:
4491244912
- $ref: "#/components/parameters/AppCategories"
4491344913
/batches/{id}/cancel:
4491444914
post:
44915-
description: 'Asks the provider to stop a batch that is still running. Cancellation is enabled per organization; other organizations get `403`. The response is the batch in its current status: it stays `in_progress` until the provider confirms, then becomes `cancelled`, or `completed`, `failed`, or `expired` when the provider job ended first. Poll until the batch has any final status. Repeating the call is safe while the batch is still `in_progress`; once it has a final status the call returns `409`. OpenRouter returns no result rows for a cancelled batch, and the provider still charges for the requests that finished before the cancellation. When the batch wrote its output to your own storage, retrieving the batch can still return that location, and the rows the provider wrote there stay yours to read. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
44915+
description: 'Asks the provider to stop a batch that is still running. Cancellation is enabled per organization; other organizations get `403`. The response is the batch in its current status: it stays `in_progress` until the provider confirms, then becomes `cancelled`, or `completed`, `failed`, or `expired` when the provider job ended first. Poll until the batch has any final status. Repeating the call is safe while the batch is still `in_progress`; once it has a final status the call returns `409`. On OpenAI a cancelled batch keeps the requests that finished before the cancellation when OpenAI returns them: they are in `results` and billed like the rows of a completed batch. On every other provider OpenRouter returns no result rows for a cancelled batch, and the provider still charges for the requests that finished. When the batch wrote its output to your own storage, retrieving the batch can still return that location, and the rows the provider wrote there stay yours to read. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).'
4491644916
operationId: 'cancelBatch'
4491744917
parameters:
4491844918
- description: 'The batch job id returned from submit.'
@@ -57796,7 +57796,7 @@ paths:
5779657796
example:
5779757797
data:
5779857798
- email: 'jane.doe@example.com'
57799-
external_id: 'scim_usr_3J9P6a5UiLQcpRMGx4bdOVrKceF'
57799+
external_id: '00u1a2b3c4D5e6F7g8h9'
5780057800
first_name: 'Jane'
5780157801
id: 'user_2dHFtVWx2n56w6HkM0000000000'
5780257802
last_name: 'Doe'
@@ -57813,8 +57813,8 @@ paths:
5781357813
example: 'jane.doe@example.com'
5781457814
type: 'string'
5781557815
external_id:
57816-
description: 'The member''s SCIM user ID, which your identity provider stores for their OpenRouter account (Okta shows it as External ID); not the SCIM `externalId` attribute. Set when your organization''s SCIM directory provisions, updates or syncs the member. Null when this organization''s directory did not provision the member (for example, they were invited, signed up directly, or provisioned by another organization''s directory) or has not synced them yet. Members can keep their last synced value after the directory is removed.'
57817-
example: 'scim_usr_3J9P6a5UiLQcpRMGx4bdOVrKceF'
57816+
description: 'The member''s user ID at your identity provider, recorded when they sign in through your organization''s SSO connection. Your identity provider must send the user ID attribute that connection reads (for Okta, `id` = `user.id`; for other identity providers, contact support). Set for members your organization''s SCIM directory provisioned, once OpenRouter syncs them after that sign-in. Null before then, or when this organization''s directory did not provision the member. Members can keep their last synced value after the directory is removed.'
57817+
example: '00u1a2b3c4D5e6F7g8h9'
5781857818
type:
5781957819
- 'string'
5782057820
- 'null'

‎.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:e3feb13debfff590c80473d7814843a09359ab68ca582e052aa2ee449519095a
6-
sourceBlobDigest: sha256:b0cf4142e7752da647be68473c2a9b30b2959fa01181929caba77af48e74647d
5+
sourceRevisionDigest: sha256:4a762dea357a37e8423f71c3c745b7edbe956f2a3606edd80737faf91c280e75
6+
sourceBlobDigest: sha256:f80ba29051883c29805ea65d9d5887fc40f01dd858073f30ce37160228ec01aa
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:e3feb13debfff590c80473d7814843a09359ab68ca582e052aa2ee449519095a
15-
sourceBlobDigest: sha256:b0cf4142e7752da647be68473c2a9b30b2959fa01181929caba77af48e74647d
14+
sourceRevisionDigest: sha256:4a762dea357a37e8423f71c3c745b7edbe956f2a3606edd80737faf91c280e75
15+
sourceBlobDigest: sha256:f80ba29051883c29805ea65d9d5887fc40f01dd858073f30ce37160228ec01aa
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:b9525a5b813a1815dbd3f9bf0df4e7320521015df5a2a129606ef83447d17cc4
17+
codeSamplesRevisionDigest: sha256:4e156f75c98d3823f654b65c599090ba6b8ade726a640b506b28dc750fe60c84
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
@@ -5079,4 +5079,14 @@ Based on:
50795079
### Generated
50805080
- [python v1.3.231] .
50815081
### Releases
5082-
- [PyPI v1.3.231] https://pypi.org/project/openrouter/1.3.231 - .
5082+
- [PyPI v1.3.231] https://pypi.org/project/openrouter/1.3.231 - .
5083+
5084+
## 2026-12-02 21:22:24
5085+
### Changes
5086+
Based on:
5087+
- OpenAPI Doc
5088+
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
5089+
### Generated
5090+
- [python v1.3.232] .
5091+
### Releases
5092+
- [PyPI v1.3.232] https://pypi.org/project/openrouter/1.3.232 - .

0 commit comments

Comments
 (0)