Skip to content

Commit 0d63fef

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

12 files changed

Lines changed: 61 additions & 30 deletions

File tree

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

Lines changed: 21 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: 74c0bf30bff3fde3c6830e3f608d065e
4+
docChecksum: 96232da04228ca818101a294545ecf0b
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.1.76
9-
configChecksum: c282f0cacbf8f58a58799ae5e22760ca
8+
releaseVersion: 1.1.77
9+
configChecksum: 7448f44d4eeacd36dc8acb9ab0a7fbeb
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: 1e1e5fdc-52d4-4884-b0a8-02708bf27e41
15-
pristine_commit_hash: cc998fb17a324275bcb922aad20aac8b6eaedc60
16-
pristine_tree_hash: 16561d398379783b95c2157b86604e2536ee1f90
14+
generation_id: 47cbdda2-41a7-40ea-b4c4-d1ca30637c45
15+
pristine_commit_hash: 2e1498b0c5c1cdf53e7aac3825ca32865600fd72
16+
pristine_tree_hash: abeba3af2c23d395684bbb24336dd97d08016cb0
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -6090,8 +6090,8 @@ trackedFiles:
60906090
pristine_git_object: 9ec01bf61826e888c544e698af19baaa8c51980a
60916091
docs/operations/createkeysrequestbody.mdx:
60926092
id: 77bb49febf62
6093-
last_write_checksum: sha1:6f150fbcbab58887eeaa41b37f2c511b6ec60879
6094-
pristine_git_object: 37ca00af34f104adb27c9675861130e30fcca1be
6093+
last_write_checksum: sha1:6213dff2e8fefca272475c4ec539d346a9b4ec4b
6094+
pristine_git_object: a9d4386580047bb51b7aaffe9cc39d7ae51484a7
60956095
docs/operations/createkeysresponse.mdx:
60966096
id: 08e825fab080
60976097
last_write_checksum: sha1:ecbb7dd123519f348339649a9f038d44c24d12d6
@@ -7238,8 +7238,8 @@ trackedFiles:
72387238
pristine_git_object: c1634706646332455817340f5891b4b5c9c6d16c
72397239
docs/sdks/apikeys/README.mdx:
72407240
id: 27fcaae1c346
7241-
last_write_checksum: sha1:b8bd517a7a2960d003ab350130008b402927af6b
7242-
pristine_git_object: c8541c5c189bae01e80db73fd88767391d7dbb9b
7241+
last_write_checksum: sha1:9b13c67de67288664d9a4547d2a8301481d70741
7242+
pristine_git_object: 2e4066d36efa1c22443d7419546dfb3e99045cdf
72437243
docs/sdks/benchmarks/README.mdx:
72447244
id: 5b483a6770ba
72457245
last_write_checksum: sha1:885b70fcbd2be60f51a2f58e133fd6452eb21600
@@ -7354,8 +7354,8 @@ trackedFiles:
73547354
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
73557355
pyproject.toml:
73567356
id: 5d07e7d72637
7357-
last_write_checksum: sha1:106ec011c72b0b8e0f336c1e628e3f9664aa29e5
7358-
pristine_git_object: 6d77f0fc48caedbbe5c0a4abff409bdfc7e769c3
7357+
last_write_checksum: sha1:c8511c58b2809c050315c495505344bab04792a9
7358+
pristine_git_object: f242cc052d73c451de2de69a6df515e90cdf4838
73597359
scripts/prepare_readme.py:
73607360
id: e0c5957a6035
73617361
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -7382,16 +7382,16 @@ trackedFiles:
73827382
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
73837383
src/openrouter/_version.py:
73847384
id: d8d15ad6c586
7385-
last_write_checksum: sha1:e2caf13be4cb8b4f3c6055f0f45384eb9f1d40b2
7386-
pristine_git_object: ba614265f77e96a5b108051c122c5c7d0c4ec15c
7385+
last_write_checksum: sha1:861e228e709562b43a34f26b4f82024aaaa41db7
7386+
pristine_git_object: 5d2ba9222d03dee629788bd7a5766c37ef466e9c
73877387
src/openrouter/analytics.py:
73887388
id: cb406b5aaabb
73897389
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
73907390
pristine_git_object: 9587309db4d5e25a00131a48788456139c25e4c0
73917391
src/openrouter/api_keys.py:
73927392
id: 876fac88fff6
7393-
last_write_checksum: sha1:ada03aff96976f0570e594a3143595c25ca05f18
7394-
pristine_git_object: dec0852524b4b59e697be154204a726ad6afbdbc
7393+
last_write_checksum: sha1:e31fbde103e262986c006b01d7cc1f32a3ba5b82
7394+
pristine_git_object: 28c0c7fbf9268e4f5c0f9dc84dad710e919d9fb2
73957395
src/openrouter/basesdk.py:
73967396
id: c5733c5a1e12
73977397
last_write_checksum: sha1:65769ff2cb5473f85b364c6213a0ddc8c68644ea
@@ -10098,8 +10098,8 @@ trackedFiles:
1009810098
pristine_git_object: 8216a656ec1412a034878e257bd9de9e94fa8da1
1009910099
src/openrouter/operations/createkeys.py:
1010010100
id: 64ad31fdaa6c
10101-
last_write_checksum: sha1:1a2ca941bdd6ba1ca36ed801469564c5ae886e83
10102-
pristine_git_object: aea3bdb497d2d0bc6d38bc8858eaccd15b3532fb
10101+
last_write_checksum: sha1:2c18814f8b05cc2143dbcec433d82471912bbcda
10102+
pristine_git_object: 027f7c8d7521396a4f37483bd0684609be05beee
1010310103
src/openrouter/operations/createobservabilitydestination.py:
1010410104
id: ce29c303fb0d
1010510105
last_write_checksum: sha1:b9dfa5198721adbca45f48b7fb632bee09780fff
@@ -12382,4 +12382,6 @@ examples:
1238212382
"503":
1238312383
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
1238412384
examplesVersion: 1.0.2
12385-
releaseNotes: "## Python SDK Changes:\n* `open_router.containers.list_container_files()`: `request` **Changed** (Breaking ⚠️)\n* `open_router.containers.get_container_file()`: `request` **Changed** (Breaking ⚠️)\n* `open_router.containers.download_container_file_content()`: `request` **Changed** (Breaking ⚠️)\n* `open_router.presets.create_presets_messages()`: \n * `request.messages[].content.union(Array<>)[]` **Changed**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[]` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed**\n * `response` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[]` **Changed**\n * `response` **Changed**\n"
12385+
releaseNotes: |
12386+
## Python SDK Changes:
12387+
* `open_router.api_keys.create()`: `request.external_api_key` **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.76
39+
version: 1.1.77
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33797,6 +33797,11 @@ paths:
3379733797
type:
3379833798
- 'string'
3379933799
- 'null'
33800+
external_api_key:
33801+
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret.'
33802+
maxLength: 512
33803+
minLength: 1
33804+
type: 'string'
3380033805
include_byok_in_limit:
3380133806
description: 'Whether to include BYOK usage in the limit'
3380233807
example: true

β€Ž.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:7b4e8be79ce173cf2faa1976c20c00950860794151e639da897ccbdc572931ac
6-
sourceBlobDigest: sha256:e03d85f26ff90565812046a26f9039130ee61f109a1294e40c69b05df64d6955
5+
sourceRevisionDigest: sha256:5322c0f83fc765da9e7910255d7df76ec493d94d5c548b6b9ebb87a26d022b51
6+
sourceBlobDigest: sha256:1089499afd1bcc97d0a6ec8b6141196838612da5f643a5691211ad9875906e32
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:7b4e8be79ce173cf2faa1976c20c00950860794151e639da897ccbdc572931ac
15-
sourceBlobDigest: sha256:e03d85f26ff90565812046a26f9039130ee61f109a1294e40c69b05df64d6955
14+
sourceRevisionDigest: sha256:5322c0f83fc765da9e7910255d7df76ec493d94d5c548b6b9ebb87a26d022b51
15+
sourceBlobDigest: sha256:1089499afd1bcc97d0a6ec8b6141196838612da5f643a5691211ad9875906e32
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:b7825e3933569aeb010f4102dfba37d87abee17e7ba96ef800f8c3c411172d81
17+
codeSamplesRevisionDigest: sha256:2c97d10315126b2f96b73c1db110f1179a1a473fbffb6600f287318402813bf0
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
@@ -1549,4 +1549,14 @@ Based on:
15491549
### Generated
15501550
- [python v1.1.76] .
15511551
### Releases
1552-
- [PyPI v1.1.76] https://pypi.org/project/openrouter/1.1.76 - .
1552+
- [PyPI v1.1.76] https://pypi.org/project/openrouter/1.1.76 - .
1553+
1554+
## 2026-08-24 07:38:19
1555+
### Changes
1556+
Based on:
1557+
- OpenAPI Doc
1558+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1559+
### Generated
1560+
- [python v1.1.77] .
1561+
### Releases
1562+
- [PyPI v1.1.77] https://pypi.org/project/openrouter/1.1.77 - .

β€Ždocs/operations/createkeysrequestbody.mdxβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: "CreateKeysRequestBody"
88
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99
| `creator_user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. | user_2dHFtVWx2n56w6HkM0000000000 |
1010
| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z |
11+
| `external_api_key` | *Optional[str]* | :heavy_minus_sign: | Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret. | |
1112
| `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true |
1213
| `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | Optional spending limit for the API key in USD | 50 |
1314
| `limit_reset` | [OptionalNullable[operations.CreateKeysLimitReset]](../operations/createkeyslimitreset.mdx) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly |

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ with OpenRouter(
149149
| `x_open_router_categories` | *Optional[str]* | :heavy_minus_sign: | Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.<br/> | |
150150
| `creator_user_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional user ID of the key creator. Only meaningful for organization-owned keys where a specific member is creating the key. | user_2dHFtVWx2n56w6HkM0000000000 |
151151
| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Optional ISO 8601 UTC timestamp when the API key should expire. Must be UTC, other timezones will be rejected | 2027-12-31T23:59:59Z |
152+
| `external_api_key` | *Optional[str]* | :heavy_minus_sign: | Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret. | |
152153
| `include_byok_in_limit` | *Optional[bool]* | :heavy_minus_sign: | Whether to include BYOK usage in the limit | true |
153154
| `limit` | *OptionalNullable[float]* | :heavy_minus_sign: | Optional spending limit for the API key in USD | 50 |
154155
| `limit_reset` | [OptionalNullable[operations.CreateKeysLimitReset]](../../operations/createkeyslimitreset.mdx) | :heavy_minus_sign: | Type of limit reset for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday. | monthly |

β€Ž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.1.76"
3+
version = "1.1.77"
44
description = "Official Python Client SDK for OpenRouter."
55
authors = [{ name = "OpenRouter" },]
66
readme = "README-PYPI.md"

0 commit comments

Comments
Β (0)