Skip to content

Commit 084e640

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

8 files changed

Lines changed: 234 additions & 22 deletions

File tree

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

Lines changed: 10 additions & 11 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: 0563d6db7704a27f3b7a3beff8e602b3
4+
docChecksum: b8ef8e6acc081583a4b4b5280d5bc66a
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.2.6
9-
configChecksum: 05ae5cc8c6d5b877a33c4e2e32c287e9
8+
releaseVersion: 1.2.7
9+
configChecksum: aa1b9118eec5df8f4c5665a1e53972cd
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: cd46820e-de2a-481a-8817-f7dc33080f11
15-
pristine_commit_hash: 5355199f997528a92ceb1f3f42c4397c90c9c430
16-
pristine_tree_hash: 88a204ba1ded098bf077de095915e0893d2a3a08
14+
generation_id: bca11b04-b80d-49be-a6bd-00fc34f50538
15+
pristine_commit_hash: c713a8d5543ed7cc25eb572945a4a4c5ea574510
16+
pristine_tree_hash: ec331e7667fa75e32ef857f3c3ad74172c54ce23
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -8163,8 +8163,8 @@ trackedFiles:
81638163
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
81648164
pyproject.toml:
81658165
id: 5d07e7d72637
8166-
last_write_checksum: sha1:7d46ef8090d156637d78acb4572fce19c2dfca3a
8167-
pristine_git_object: 3a5ee39e26552427fbfee31d044fa1a2403e9bb9
8166+
last_write_checksum: sha1:b9b202e55e8f133fe617f5a90f83911d10664e1e
8167+
pristine_git_object: 11ae0f2796eb8bb374a0e12ab2cbcb284f6a1c34
81688168
scripts/prepare_readme.py:
81698169
id: e0c5957a6035
81708170
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -8191,8 +8191,8 @@ trackedFiles:
81918191
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
81928192
src/openrouter/_version.py:
81938193
id: d8d15ad6c586
8194-
last_write_checksum: sha1:3ab3cae82bacc5b29e795e4ae0476e3a305fa10f
8195-
pristine_git_object: 5c8bfcc8c2dba49f06b2d7e2c5cb57787224c2f1
8194+
last_write_checksum: sha1:f80f256266c26716757ffd8846abb566c67c9557
8195+
pristine_git_object: 9e7f35935b8f44c86d1f2c350d6179a3b5bdfe58
81968196
src/openrouter/alpha.py:
81978197
id: 306c4d93308d
81988198
last_write_checksum: sha1:0c25a52ed5fb688ec1e923e4e82bcfc9cae49465
@@ -14955,4 +14955,3 @@ examples:
1495514955
"502":
1495614956
application/json: {"error": {"code": 409, "message": "That question is no longer waiting for an answer."}}
1495714957
examplesVersion: 1.0.2
14958-
releaseNotes: "## Python SDK Changes:\n* `open_router.byok.update()`: `error.status[403]` **Added**\n* `open_router.interns.list_interns()`: \n * `request.starting_after` **Added**\n * `response.next_cursor` **Added**\n"

β€Ž.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.2.6
39+
version: 1.2.7
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

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

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43314,6 +43314,209 @@ paths:
4331443314
- $ref: "#/components/parameters/AppIdentifier"
4331543315
- $ref: "#/components/parameters/AppDisplayName"
4331643316
- $ref: "#/components/parameters/AppCategories"
43317+
/systemone:
43318+
post:
43319+
description: 'TypeSafe SDK compatible alias for `POST /api/alpha/decisions`. Accepts the same request body and returns the same response. Bare TypeSafe model IDs such as `jev-1.13` and `jev-latest` are mapped onto the `typesafe/` namespace.'
43320+
operationId: 'createSystemone'
43321+
requestBody:
43322+
content:
43323+
application/json:
43324+
example:
43325+
model: 'typesafe/jev-1.13'
43326+
questions:
43327+
is_bug:
43328+
criteria:
43329+
'false': 'The customer is asking a question or requesting a feature.'
43330+
'true': 'The customer describes broken or unexpected product behavior.'
43331+
instructions: 'Is the customer reporting a software defect?'
43332+
type: 'noul'
43333+
team:
43334+
criteria:
43335+
account: 'Login, permissions, or profile issues.'
43336+
frontend: 'Rendering, layout, or browser compatibility issues.'
43337+
payments: 'Checkout, billing, or payment processing issues.'
43338+
instructions: 'Which team should own this ticket?'
43339+
type: 'choice'
43340+
urgency:
43341+
criteria:
43342+
- 'Can wait for the next release'
43343+
- 'Should be fixed this week'
43344+
- 'Blocking revenue right now'
43345+
instructions: 'How urgent is this ticket?'
43346+
type: 'score'
43347+
state:
43348+
customer_tier: 'enterprise'
43349+
ticket: 'My checkout page shows a blank screen after I click Pay. I have tried two browsers.'
43350+
schema:
43351+
$ref: '#/components/schemas/DecisionsRequest'
43352+
required: true
43353+
responses:
43354+
'200':
43355+
content:
43356+
application/json:
43357+
example:
43358+
answers:
43359+
is_bug:
43360+
noul: 0.96
43361+
type: 'noul'
43362+
team:
43363+
choice: 'payments'
43364+
confidence: 0.75
43365+
probabilities:
43366+
account: 0
43367+
frontend: 0.16
43368+
payments: 0.84
43369+
type: 'choice'
43370+
urgency:
43371+
confidence: 0.99
43372+
legend:
43373+
'0': 'Can wait for the next release'
43374+
'1': 'Should be fixed this week'
43375+
'2': 'Blocking revenue right now'
43376+
probabilities:
43377+
'0': 0
43378+
'1': 0.01
43379+
'2': 0.99
43380+
score: 1.99
43381+
type: 'score'
43382+
id: 'gen-dec-1789738314-X5e5eKGQdvR9rblyX250'
43383+
model: 'typesafe/jev-1.13-20260917'
43384+
provider: 'TypeSafe'
43385+
usage:
43386+
cost: 0.000019992
43387+
input_tokens: 476
43388+
output_tokens: 70
43389+
schema:
43390+
$ref: '#/components/schemas/DecisionsResponse'
43391+
description: 'Decisions response'
43392+
'400':
43393+
content:
43394+
application/json:
43395+
example:
43396+
error:
43397+
code: 400
43398+
message: 'Invalid request parameters'
43399+
schema:
43400+
$ref: '#/components/schemas/BadRequestResponse'
43401+
description: 'Bad Request - Invalid request parameters or malformed input'
43402+
'401':
43403+
content:
43404+
application/json:
43405+
example:
43406+
error:
43407+
code: 401
43408+
message: 'Missing Authentication header'
43409+
schema:
43410+
$ref: '#/components/schemas/UnauthorizedResponse'
43411+
description: 'Unauthorized - Authentication required or invalid credentials'
43412+
'402':
43413+
content:
43414+
application/json:
43415+
example:
43416+
error:
43417+
code: 402
43418+
message: 'Insufficient credits. Add more using https://openrouter.ai/credits'
43419+
schema:
43420+
$ref: '#/components/schemas/PaymentRequiredResponse'
43421+
description: 'Payment Required - Insufficient credits or quota to complete request'
43422+
'403':
43423+
content:
43424+
application/json:
43425+
example:
43426+
error:
43427+
code: 403
43428+
message: 'Only management keys can perform this operation'
43429+
schema:
43430+
$ref: '#/components/schemas/ForbiddenResponse'
43431+
description: 'Forbidden - Authentication successful but insufficient permissions'
43432+
'404':
43433+
content:
43434+
application/json:
43435+
example:
43436+
error:
43437+
code: 404
43438+
message: 'Resource not found'
43439+
schema:
43440+
$ref: '#/components/schemas/NotFoundResponse'
43441+
description: 'Not Found - Resource does not exist'
43442+
'413':
43443+
content:
43444+
application/json:
43445+
example:
43446+
error:
43447+
code: 413
43448+
message: 'Request payload too large'
43449+
schema:
43450+
$ref: '#/components/schemas/PayloadTooLargeResponse'
43451+
description: 'Payload Too Large - Request payload exceeds size limits'
43452+
'429':
43453+
content:
43454+
application/json:
43455+
example:
43456+
error:
43457+
code: 429
43458+
message: 'Rate limit exceeded'
43459+
schema:
43460+
$ref: '#/components/schemas/TooManyRequestsResponse'
43461+
description: 'Too Many Requests - Rate limit exceeded'
43462+
'500':
43463+
content:
43464+
application/json:
43465+
example:
43466+
error:
43467+
code: 500
43468+
message: 'Internal Server Error'
43469+
schema:
43470+
$ref: '#/components/schemas/InternalServerResponse'
43471+
description: 'Internal Server Error - Unexpected server error'
43472+
'502':
43473+
content:
43474+
application/json:
43475+
example:
43476+
error:
43477+
code: 502
43478+
message: 'Provider returned error'
43479+
schema:
43480+
$ref: '#/components/schemas/BadGatewayResponse'
43481+
description: 'Bad Gateway - Provider/upstream API failure'
43482+
'503':
43483+
content:
43484+
application/json:
43485+
example:
43486+
error:
43487+
code: 503
43488+
message: 'Service temporarily unavailable'
43489+
schema:
43490+
$ref: '#/components/schemas/ServiceUnavailableResponse'
43491+
description: 'Service Unavailable - Service temporarily unavailable'
43492+
'524':
43493+
content:
43494+
application/json:
43495+
example:
43496+
error:
43497+
code: 524
43498+
message: 'Request timed out. Please try again later.'
43499+
schema:
43500+
$ref: '#/components/schemas/EdgeNetworkTimeoutResponse'
43501+
description: 'Infrastructure Timeout - Provider request timed out at edge network'
43502+
'529':
43503+
content:
43504+
application/json:
43505+
example:
43506+
error:
43507+
code: 529
43508+
message: 'Provider returned error'
43509+
schema:
43510+
$ref: '#/components/schemas/ProviderOverloadedResponse'
43511+
description: 'Provider Overloaded - Provider is temporarily overloaded'
43512+
summary: 'Submit a System One request (TypeSafe SDK compatible alias)'
43513+
tags:
43514+
- 'alpha.decisions'
43515+
x-speakeasy-ignore: true
43516+
parameters:
43517+
- $ref: "#/components/parameters/AppIdentifier"
43518+
- $ref: "#/components/parameters/AppDisplayName"
43519+
- $ref: "#/components/parameters/AppCategories"
4331743520
/vault/interns/{internId}/secrets:
4331843521
get:
4331943522
description: 'Lists secret metadata stored for one intern. Responses contain names, bound hosts, fingerprints and creation times, never secret values. Results are ordered by name and paginated with `limit` and `offset`. The scope is selected by the API key: workspace routes act on the key''s active workspace and intern routes act on one intern inside that workspace. There is no default workspace and no fallback to another scope. Every vault route, including reads, requires access to the Intern API programme and returns 404 outside it. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'

β€Ž.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:c66839243c891c6f582939dd68bc390fd56629095966346707bd300524c73e39
6-
sourceBlobDigest: sha256:0b66f3175e7b0f14ae3b22216c39295715cfd827ce73f569c2d4b012c4b91418
5+
sourceRevisionDigest: sha256:a6fb2582d267b7a3ea83cae1439a32e175a0f65079851685be4ad94d684f4689
6+
sourceBlobDigest: sha256:b48edb241b574a295970dc9757ce399f317bdb84a4932b017a60cbe5969a6801
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:c66839243c891c6f582939dd68bc390fd56629095966346707bd300524c73e39
15-
sourceBlobDigest: sha256:0b66f3175e7b0f14ae3b22216c39295715cfd827ce73f569c2d4b012c4b91418
14+
sourceRevisionDigest: sha256:a6fb2582d267b7a3ea83cae1439a32e175a0f65079851685be4ad94d684f4689
15+
sourceBlobDigest: sha256:b48edb241b574a295970dc9757ce399f317bdb84a4932b017a60cbe5969a6801
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:aa75ffe5aa1ebe652c8f1cf14a4813b6794989325e6798be7517cfcbdb81693f
17+
codeSamplesRevisionDigest: sha256:5ec445fcf3f7f6272d47694eeb88a4f2b90932843ec515d063c28b56df1c5ef9
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
@@ -2469,4 +2469,14 @@ Based on:
24692469
### Generated
24702470
- [python v1.2.6] .
24712471
### Releases
2472-
- [PyPI v1.2.6] https://pypi.org/project/openrouter/1.2.6 - .
2472+
- [PyPI v1.2.6] https://pypi.org/project/openrouter/1.2.6 - .
2473+
2474+
## 2026-09-20 03:30:36
2475+
### Changes
2476+
Based on:
2477+
- OpenAPI Doc
2478+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
2479+
### Generated
2480+
- [python v1.2.7] .
2481+
### Releases
2482+
- [PyPI v1.2.7] https://pypi.org/project/openrouter/1.2.7 - .

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

1111
try:
1212
if __package__ is not None:

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