Skip to content

Commit a6d9d5a

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

17 files changed

Lines changed: 834 additions & 52 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 56 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: 279b5f97d142c9e39e195b0a84085c9d
4+
docChecksum: 46c6c4f6880333ed58f4f9fded8834f8
55
docVersion: 1.0.0
66
speakeasyVersion: 1.787.0
77
generationVersion: 2.914.0
8-
releaseVersion: 1.3.66
9-
configChecksum: d60333aec60c8fc9660768e2c1487354
8+
releaseVersion: 1.3.67
9+
configChecksum: 6049c763bbae5418007cdd2d3ecac047
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: 51013c78-9d03-44f4-ac2e-93284b41f297
15-
pristine_commit_hash: df1988e5cff6b0b03406873a3986cdaaf8dff042
16-
pristine_tree_hash: 1e738a4df36772d51cf0ada4ff040bb3429109b4
14+
generation_id: 45d37a74-bf6f-4184-b501-ff3531b9a92e
15+
pristine_commit_hash: 0d30fef1c125936e6f7f5b68bc3362a1b867d002
16+
pristine_tree_hash: da4f1a85eeb0fdb4b6b2af299b959179eba01144
1717
features:
1818
python:
1919
acceptHeaders: 3.0.0
@@ -3988,8 +3988,8 @@ trackedFiles:
39883988
pristine_git_object: e3e71d16be9294f68ca671f76dbcc8b6d8ecc749
39893989
docs/components/intern.mdx:
39903990
id: 95d0e0ffc539
3991-
last_write_checksum: sha1:13508092e8edb3ecd4d7aed06dc722965823d4b3
3992-
pristine_git_object: 71f5da0f992ab9ff76f92b2239cd8300d4a8b74f
3991+
last_write_checksum: sha1:1efaf0f73cb574f68983fdcf2d02f113876a07bc
3992+
pristine_git_object: 6959c6067cfe3ab926e62b35ae8bcdb700622478
39933993
docs/components/internalserverresponseerrordata.mdx:
39943994
id: 9a443dea63c5
39953995
last_write_checksum: sha1:39c41704820f6cde2d67ec3b9f1bcac7bc1a81d0
@@ -9130,6 +9130,18 @@ trackedFiles:
91309130
id: 9bfe3e0e8a6f
91319131
last_write_checksum: sha1:7f2d43fe0f91149b2982edebe432faed9bfb3bea
91329132
pristine_git_object: 118bb0d2fe8033480475600b890910226a389d65
9133+
docs/operations/getinterniconglobals.mdx:
9134+
id: afca2a95de05
9135+
last_write_checksum: sha1:ad615e690060f9fd36c21954928dbd711362dc2c
9136+
pristine_git_object: 542cb475e2a3aa6c1dcba78315b6f03ed662a7b9
9137+
docs/operations/getinterniconrequest.mdx:
9138+
id: bbe139c71b51
9139+
last_write_checksum: sha1:40fb590d80dac97224b8309e80a2984026e39972
9140+
pristine_git_object: c55add4d062c1129570cb9f69404ae09253d21c6
9141+
docs/operations/getinterniconresponse.mdx:
9142+
id: 004f6af691c2
9143+
last_write_checksum: sha1:7ac81f37402cebd6b37a3126f298dcb26ab5363d
9144+
pristine_git_object: 24a2ce7247639a56341698fc7b1a4c3809d76d68
91339145
docs/operations/getinternrequest.mdx:
91349146
id: 6e44684f038a
91359147
last_write_checksum: sha1:e3b38672e96405461ef3069043f981eb45730bc1
@@ -10272,8 +10284,8 @@ trackedFiles:
1027210284
pristine_git_object: 08c687694efbecf50406ae7929029d39fb121295
1027310285
docs/sdks/interns/README.mdx:
1027410286
id: 2f8a053ffe78
10275-
last_write_checksum: sha1:78ad14c524469b4c89d30d0a90867da355bd090d
10276-
pristine_git_object: a72d409627f77eb58be18f3f8ba3074a135d465a
10287+
last_write_checksum: sha1:ebe5b0208ea925f4336b1620662fdc116de4e065
10288+
pristine_git_object: a64bdbacaade03b943c76a4cda4a7a951af27347
1027710289
docs/sdks/models/README.mdx:
1027810290
id: 58f1ca464e0b
1027910291
last_write_checksum: sha1:aab5b254f0a6dc7ab7c6d543b20c889113cc0dc9
@@ -10348,8 +10360,8 @@ trackedFiles:
1034810360
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
1034910361
pyproject.toml:
1035010362
id: 5d07e7d72637
10351-
last_write_checksum: sha1:7337e6a742ddf8c0eace51964400336fa6230295
10352-
pristine_git_object: 8f7be67ffe7f60cb9210dcf954af115205edf7c6
10363+
last_write_checksum: sha1:4b196ba22fdb14a708a043966f53fe20ef6be545
10364+
pristine_git_object: c91f84b40a3a02a828b9a09dd5e4e503879bf386
1035310365
scripts/prepare_readme.py:
1035410366
id: e0c5957a6035
1035510367
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
@@ -10376,8 +10388,8 @@ trackedFiles:
1037610388
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
1037710389
src/openrouter/_version.py:
1037810390
id: d8d15ad6c586
10379-
last_write_checksum: sha1:3d286e29d6efe05e4e3008093b349ba5bf9358ed
10380-
pristine_git_object: a003753cca71e6a74f155937fea572fe184c3172
10391+
last_write_checksum: sha1:3f8c5a8ac3678a3d9203dbb6379abcb960b2a8b8
10392+
pristine_git_object: da4c9b94cbdb5a6453e266de393dffb4d48244bd
1038110393
src/openrouter/alpha.py:
1038210394
id: 306c4d93308d
1038310395
last_write_checksum: sha1:30f55a360f41376ab194b9ea725fe4e001a5ae1a
@@ -12120,8 +12132,8 @@ trackedFiles:
1212012132
pristine_git_object: 4a58daf7d055e111ebf204b18ee413203f06b745
1212112133
src/openrouter/components/intern.py:
1212212134
id: eed59a44b44f
12123-
last_write_checksum: sha1:de3378c82a4f22b53cd7fa6abd7b938e89c80c4f
12124-
pristine_git_object: 1dd62abe61d64b90bcfa178b73df6ae656f552bc
12135+
last_write_checksum: sha1:29b7a9aabd31b99bd0d6fb221a3f92e7e0dd9e6e
12136+
pristine_git_object: 0597b6a695a4b91f0dd5b793ccd5c63c17111f96
1212512137
src/openrouter/components/internalserverresponseerrordata.py:
1212612138
id: 91397805fa13
1212712139
last_write_checksum: sha1:6307236e36dc876dbfae76cfcc29ad49461b5b5d
@@ -14060,8 +14072,8 @@ trackedFiles:
1406014072
pristine_git_object: 50643a126668498dd668c7cceb9f78c03d413d32
1406114073
src/openrouter/interns.py:
1406214074
id: d18df05c5c6d
14063-
last_write_checksum: sha1:0e26b094dfe3e143d023a778b2c5a9415a5a458f
14064-
pristine_git_object: 56198d2f56c59f52eed5b35f59d54b5ec1f4247b
14075+
last_write_checksum: sha1:3fec15dfd9ba8948e454e4f7ed72bc432e50298a
14076+
pristine_git_object: 19f2e8da8c8b9042c2a0db8e65d67f0419e13ba7
1406514077
src/openrouter/models/__init__.py:
1406614078
id: ed73b93abb3f
1406714079
last_write_checksum: sha1:932a790ae66ccd7d7022b39c659bcf72a664ebea
@@ -14088,8 +14100,8 @@ trackedFiles:
1408814100
pristine_git_object: f01a5ab1865b16939c092d854fe8a7145c327058
1408914101
src/openrouter/operations/__init__.py:
1409014102
id: 9afcea1e7161
14091-
last_write_checksum: sha1:4a40155b5857c17e8c8aaf072175bc2227f7769f
14092-
pristine_git_object: 3f4ec274171a7e3f68a07190b66f48b055a5985c
14103+
last_write_checksum: sha1:146b043847d9ecac862a002d90d355036100a2c5
14104+
pristine_git_object: 265b76bdc1d266256302e03b6e6130b46e2b76cb
1409314105
src/openrouter/operations/activateprivateendpoint.py:
1409414106
id: 3b39eec5d66f
1409514107
last_write_checksum: sha1:9406e6b3d38c82895fd795f637702ef579cc6d36
@@ -14366,6 +14378,10 @@ trackedFiles:
1436614378
id: 30c4fbbddd94
1436714379
last_write_checksum: sha1:c9a4991c38d8588d2f272710f24fa430975d4fab
1436814380
pristine_git_object: 6632fbbbe4e59918369b70cf2a365880f2d315d6
14381+
src/openrouter/operations/getinternicon.py:
14382+
id: 2d450ce18c27
14383+
last_write_checksum: sha1:3a38094aaf42a84d058a7b79dfd07b4de54af134
14384+
pristine_git_object: 77a979126ab6dcc56b5536d3b295191c2589103c
1436914385
src/openrouter/operations/getkey.py:
1437014386
id: d9769da90865
1437114387
last_write_checksum: sha1:63a27034e350b578b6d5f29d6568111bc14c75c1
@@ -18989,5 +19005,24 @@ examples:
1898919005
responses:
1899019006
"504":
1899119007
application/json: {"error": {"code": 504, "message": "Vault request timed out"}}
19008+
getInternIcon:
19009+
speakeasy-default-get-intern-icon:
19010+
parameters:
19011+
path:
19012+
internId: "7c9e6679-7425-40de-944b-e07fc1f90ae7"
19013+
responses:
19014+
"200":
19015+
image/jpeg: "x-file: example.file"
19016+
image/png: "x-file: example.file"
19017+
"401":
19018+
application/json: {"error": {"code": 404, "message": "Intern not found"}}
19019+
"500":
19020+
application/json: {"error": {"code": 404, "message": "Intern not found"}}
1899219021
examplesVersion: 1.0.2
18993-
releaseNotes: "## Python SDK Changes:\n* `open_router.interns.sign_intern_daemon_access_request()`: \n * `request.route` **Added**\n * `response` **Changed**\n* `open_router.interns.sign_intern_daemon_request()`: \n * `request.route` **Added**\n * `response` **Changed**\n"
19022+
releaseNotes: |
19023+
## Python SDK Changes:
19024+
* `open_router.interns.get_intern_icon()`: **Added**
19025+
* `open_router.interns.list_interns()`: `response.data[]` **Changed**
19026+
* `open_router.interns.create_intern()`: `response` **Changed**
19027+
* `open_router.interns.get_intern()`: `response` **Changed**
19028+
* `open_router.interns.update_intern()`: `response` **Changed**

‎.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.3.66
39+
version: 1.3.67
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15173,8 +15173,10 @@ components:
1517315173
example:
1517415174
attached_vault_id: null
1517515175
created_at: '2026-09-16T08:30:00.000Z'
15176+
created_by_you: true
1517615177
description: 'Researches customer questions'
1517715178
hostname: 'research-assistant.openrouter.ai'
15179+
icon_sha256: null
1517815180
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
1517915181
instructions: null
1518015182
last_failure_message: null
@@ -15194,6 +15196,9 @@ components:
1519415196
created_at:
1519515197
description: 'ISO 8601 creation time.'
1519615198
type: 'string'
15199+
created_by_you:
15200+
description: 'Whether the user behind the key created the intern. Present on list and retrieve; absent for organization keys, which act for no user.'
15201+
type: 'boolean'
1519715202
description:
1519815203
description: 'Free-form description.'
1519915204
type:
@@ -15204,6 +15209,11 @@ components:
1520415209
type:
1520515210
- 'string'
1520615211
- 'null'
15212+
icon_sha256:
15213+
description: 'SHA-256 of the intern icon, or null when it has none. Present on list and retrieve; fetch the bytes from `GET /api/v1/interns/{intern_id}/icon`.'
15214+
type:
15215+
- 'string'
15216+
- 'null'
1520715217
id:
1520815218
description: 'Intern id.'
1520915219
type: 'string'
@@ -15953,8 +15963,10 @@ components:
1595315963
data:
1595415964
- attached_vault_id: null
1595515965
created_at: '2026-09-16T08:30:00.000Z'
15966+
created_by_you: true
1595615967
description: 'Researches customer questions'
1595715968
hostname: 'research-assistant.openrouter.ai'
15969+
icon_sha256: null
1595815970
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
1595915971
instructions: null
1596015972
last_failure_message: null
@@ -42439,8 +42451,10 @@ paths:
4243942451
data:
4244042452
- attached_vault_id: null
4244142453
created_at: '2026-09-16T08:30:00.000Z'
42454+
created_by_you: true
4244242455
description: 'Researches customer questions'
4244342456
hostname: 'research-assistant.openrouter.ai'
42457+
icon_sha256: null
4244442458
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
4244542459
instructions: null
4244642460
last_failure_message: null
@@ -42563,8 +42577,10 @@ paths:
4256342577
example:
4256442578
attached_vault_id: null
4256542579
created_at: '2026-09-16T08:30:00.000Z'
42580+
created_by_you: true
4256642581
description: 'Researches customer questions'
4256742582
hostname: 'research-assistant.openrouter.ai'
42583+
icon_sha256: null
4256842584
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
4256942585
instructions: null
4257042586
last_failure_message: null
@@ -42584,8 +42600,10 @@ paths:
4258442600
example:
4258542601
attached_vault_id: null
4258642602
created_at: '2026-09-16T08:30:00.000Z'
42603+
created_by_you: true
4258742604
description: 'Researches customer questions'
4258842605
hostname: 'research-assistant.openrouter.ai'
42606+
icon_sha256: null
4258942607
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
4259042608
instructions: null
4259142609
last_failure_message: null
@@ -42935,8 +42953,10 @@ paths:
4293542953
example:
4293642954
attached_vault_id: null
4293742955
created_at: '2026-09-16T08:30:00.000Z'
42956+
created_by_you: true
4293842957
description: 'Researches customer questions'
4293942958
hostname: 'research-assistant.openrouter.ai'
42959+
icon_sha256: null
4294042960
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
4294142961
instructions: null
4294242962
last_failure_message: null
@@ -43043,8 +43063,10 @@ paths:
4304343063
example:
4304443064
attached_vault_id: null
4304543065
created_at: '2026-09-16T08:30:00.000Z'
43066+
created_by_you: true
4304643067
description: 'Researches customer questions'
4304743068
hostname: 'research-assistant.openrouter.ai'
43069+
icon_sha256: null
4304843070
id: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
4304943071
instructions: null
4305043072
last_failure_message: null
@@ -43944,6 +43966,107 @@ paths:
4394443966
- $ref: "#/components/parameters/AppIdentifier"
4394543967
- $ref: "#/components/parameters/AppDisplayName"
4394643968
- $ref: "#/components/parameters/AppCategories"
43969+
/interns/{internId}/icon:
43970+
get:
43971+
description: 'Returns the icon image of one visible intern. Pass the intern''s `icon_sha256` as `v` to receive a response that can be cached indefinitely. The API key selects the caller, workspace and visible interns. An intern''s own API key sees only that intern: the collection and every other intern answer 404 to it. There is no default workspace fallback. Requests on regional hostnames such as `eu.openrouter.ai` are refused. [API key](/docs/api-reference/authentication) required.'
43972+
operationId: 'getInternIcon'
43973+
parameters:
43974+
- description: 'ID of an intern visible to the authenticated API key.'
43975+
in: 'path'
43976+
name: 'internId'
43977+
required: true
43978+
schema:
43979+
description: 'ID of an intern visible to the authenticated API key.'
43980+
example: '7c9e6679-7425-40de-944b-e07fc1f90ae7'
43981+
minLength: 1
43982+
type: 'string'
43983+
- description: 'The `icon_sha256` the caller expects.'
43984+
in: 'query'
43985+
name: 'v'
43986+
required: false
43987+
schema:
43988+
description: 'The `icon_sha256` the caller expects.'
43989+
type: 'string'
43990+
responses:
43991+
'200':
43992+
content:
43993+
image/jpeg:
43994+
schema:
43995+
format: 'binary'
43996+
type: 'string'
43997+
image/png:
43998+
schema:
43999+
format: 'binary'
44000+
type: 'string'
44001+
description: 'Icon image bytes.'
44002+
'401':
44003+
content:
44004+
application/json:
44005+
example:
44006+
error:
44007+
code: 401
44008+
message: 'Invalid or missing API key'
44009+
schema:
44010+
$ref: '#/components/schemas/InternLifecycleError'
44011+
description: 'Missing, unknown or provisioning API key.'
44012+
'403':
44013+
content:
44014+
application/json:
44015+
example:
44016+
error:
44017+
code: 403
44018+
message: 'Forbidden'
44019+
schema:
44020+
$ref: '#/components/schemas/InternLifecycleError'
44021+
description: 'The key owner no longer has access, or the request used a regional hostname.'
44022+
'404':
44023+
content:
44024+
application/json:
44025+
example:
44026+
error:
44027+
code: 404
44028+
message: 'Intern not found'
44029+
metadata:
44030+
reason: 'not_found'
44031+
retryable: false
44032+
schema:
44033+
$ref: '#/components/schemas/InternLifecycleError'
44034+
description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.'
44035+
'408':
44036+
content:
44037+
application/json:
44038+
example:
44039+
error:
44040+
code: 408
44041+
message: 'Operation timed out after 10s. Please try again later.'
44042+
metadata:
44043+
reason: 'timeout'
44044+
retryable: true
44045+
schema:
44046+
$ref: '#/components/schemas/InternLifecycleError'
44047+
description: 'The request exceeded its route deadline. The deadline quoted in the message is the route''s own, so it differs between operations.'
44048+
'500':
44049+
content:
44050+
application/json:
44051+
example:
44052+
error:
44053+
code: 500
44054+
message: 'The request could not be completed'
44055+
metadata:
44056+
reason: 'internal_error'
44057+
retryable: true
44058+
schema:
44059+
$ref: '#/components/schemas/InternLifecycleError'
44060+
description: 'The request could not be completed. `metadata.reason` says whether to try again: `internal_error` is a transient failure and carries `metadata.retryable: true`, so the same request may be sent again, while `configuration_error` carries `retryable: false` because the next attempt reads the same missing binding or unusable stored credential.'
44061+
security:
44062+
- apiKey: []
44063+
summary: 'Get an intern''s icon'
44064+
tags:
44065+
- 'Interns'
44066+
parameters:
44067+
- $ref: "#/components/parameters/AppIdentifier"
44068+
- $ref: "#/components/parameters/AppDisplayName"
44069+
- $ref: "#/components/parameters/AppCategories"
4394744070
/interns/{internId}/invoke:
4394844071
post:
4394944072
description: "Starts a run on one of your interns and answers `202` with the `session_id` as soon as the intern accepts it. The run keeps going on the intern after the response. Nothing about its progress comes back on this request; the intern reports through its own tools, such as Slack.\n\nSend the same `session_id` later to continue the conversation, for example to hand the intern a decision on work it started. If that session already has a run going, the prompt is delivered into it and the status is `steered`. A `session_id` is accepted only from the caller it was issued to, on the same intern; any other, including sessions started from Slack or the chat endpoint, is refused with `404`.\n\nRuns started here self-drive: the intern consents to its own tool approvals, and a question it asks is answered by its own fallback. A run ends when the intern finishes it or after its execution deadline (1 hour by default).\n\nAvailable to interns programme members. Callers outside the programme receive `404` for every path under `/api/v1/interns`."

‎.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:6a01fa8140088735ccb9c5e5e79272410e4a8d64f9caa9756592c1d540feb4da
6-
sourceBlobDigest: sha256:44dc586b67df101e5b115b16c8d6a2991c4488257eef039c3e1491f4af69437f
5+
sourceRevisionDigest: sha256:5c8c325890d3919ed2eed607f18c85f3e56b6154ac535eea8d528ecf1aa3659a
6+
sourceBlobDigest: sha256:3c0dd7e3f51c6365c9ffa10da4a68ede10dcbfbd51e7ada202b9638734972dc8
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:6a01fa8140088735ccb9c5e5e79272410e4a8d64f9caa9756592c1d540feb4da
15-
sourceBlobDigest: sha256:44dc586b67df101e5b115b16c8d6a2991c4488257eef039c3e1491f4af69437f
14+
sourceRevisionDigest: sha256:5c8c325890d3919ed2eed607f18c85f3e56b6154ac535eea8d528ecf1aa3659a
15+
sourceBlobDigest: sha256:3c0dd7e3f51c6365c9ffa10da4a68ede10dcbfbd51e7ada202b9638734972dc8
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:14b00aec0efae7dcf67569be815b3772c0021a1e1eda7d404503d5de832ec122
17+
codeSamplesRevisionDigest: sha256:72171bfe146165df7f67ee76759bf1da037f20509276ff314ffe0f6e9b29d01e
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

0 commit comments

Comments
 (0)