Skip to content

Commit ba2d42f

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

22 files changed

Lines changed: 191 additions & 96 deletions

.speakeasy/gen.lock

Lines changed: 43 additions & 42 deletions
Large diffs are not rendered by default.

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

.speakeasy/out.openapi.yaml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33545,6 +33545,7 @@ paths:
3354533545
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3354633546
disabled: false
3354733547
expires_at: '2027-12-31T23:59:59Z'
33548+
external_user: null
3354833549
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3354933550
include_byok_in_limit: false
3355033551
label: 'Production API Key'
@@ -33571,6 +33572,7 @@ paths:
3357133572
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3357233573
disabled: false
3357333574
expires_at: '2027-12-31T23:59:59Z'
33575+
external_user: null
3357433576
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3357533577
include_byok_in_limit: false
3357633578
label: 'sk-or-v1-0e6...1c96'
@@ -33626,6 +33628,12 @@ paths:
3362633628
type:
3362733629
- 'string'
3362833630
- 'null'
33631+
external_user:
33632+
description: 'Partner''s end-user identifier used for attribution.'
33633+
example: null
33634+
type:
33635+
- 'string'
33636+
- 'null'
3362933637
hash:
3363033638
description: 'Unique hash identifier for the API key'
3363133639
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -33711,6 +33719,7 @@ paths:
3371133719
- 'byok_usage_monthly'
3371233720
- 'created_at'
3371333721
- 'updated_at'
33722+
- 'external_user'
3371433723
- 'creator_user_id'
3371533724
- 'workspace_id'
3371633725
type: 'object'
@@ -33764,7 +33773,7 @@ paths:
3376433773
- 'API Keys'
3376533774
x-speakeasy-name-override: 'list'
3376633775
post:
33767-
description: 'Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
33776+
description: 'Create a new API key for the authenticated user. The plaintext `key` is returned only in this response. Treat it as a write-only, sensitive value; it cannot be retrieved later. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys), or with a Connect client secret. `external_user` and `external_api_key` are accepted only with a client secret, and `external_user` is required there; supplying either field with a management key is rejected with 403.'
3376833777
operationId: 'createKeys'
3376933778
requestBody:
3377033779
content:
@@ -33798,7 +33807,12 @@ paths:
3379833807
- 'string'
3379933808
- 'null'
3380033809
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.'
33810+
description: 'Optional partner-supplied API key. Stored as a SHA-256 hash and never returned. Accepted only when authenticating with a Connect client secret; supplying it with a management key is rejected with 403.'
33811+
maxLength: 512
33812+
minLength: 1
33813+
type: 'string'
33814+
external_user:
33815+
description: 'Partner''s end-user identifier for attribution, between 1 and 512 characters. Accepted only when authenticating with a Connect client secret, where it is required; supplying it with a management key is rejected with 403.'
3380233816
maxLength: 512
3380333817
minLength: 1
3380433818
type: 'string'
@@ -33853,6 +33867,7 @@ paths:
3385333867
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3385433868
disabled: false
3385533869
expires_at: '2027-12-31T23:59:59Z'
33870+
external_user: null
3385633871
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3385733872
include_byok_in_limit: true
3385833873
label: 'My New API Key'
@@ -33878,6 +33893,7 @@ paths:
3387833893
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3387933894
disabled: false
3388033895
expires_at: '2027-12-31T23:59:59Z'
33896+
external_user: null
3388133897
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3388233898
include_byok_in_limit: true
3388333899
label: 'My New API Key'
@@ -33904,6 +33920,7 @@ paths:
3390433920
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3390533921
disabled: false
3390633922
expires_at: '2027-12-31T23:59:59Z'
33923+
external_user: null
3390733924
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3390833925
include_byok_in_limit: false
3390933926
label: 'sk-or-v1-0e6...1c96'
@@ -33959,6 +33976,12 @@ paths:
3395933976
type:
3396033977
- 'string'
3396133978
- 'null'
33979+
external_user:
33980+
description: 'Partner''s end-user identifier used for attribution.'
33981+
example: null
33982+
type:
33983+
- 'string'
33984+
- 'null'
3396233985
hash:
3396333986
description: 'Unique hash identifier for the API key'
3396433987
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -34044,6 +34067,7 @@ paths:
3404434067
- 'byok_usage_monthly'
3404534068
- 'created_at'
3404634069
- 'updated_at'
34070+
- 'external_user'
3404734071
- 'creator_user_id'
3404834072
- 'workspace_id'
3404934073
type: 'object'
@@ -34240,6 +34264,7 @@ paths:
3424034264
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3424134265
disabled: false
3424234266
expires_at: '2027-12-31T23:59:59Z'
34267+
external_user: null
3424334268
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3424434269
include_byok_in_limit: false
3424534270
label: 'Production API Key'
@@ -34265,6 +34290,7 @@ paths:
3426534290
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3426634291
disabled: false
3426734292
expires_at: '2027-12-31T23:59:59Z'
34293+
external_user: null
3426834294
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3426934295
include_byok_in_limit: false
3427034296
label: 'sk-or-v1-0e6...1c96'
@@ -34320,6 +34346,12 @@ paths:
3432034346
type:
3432134347
- 'string'
3432234348
- 'null'
34349+
external_user:
34350+
description: 'Partner''s end-user identifier used for attribution.'
34351+
example: null
34352+
type:
34353+
- 'string'
34354+
- 'null'
3432334355
hash:
3432434356
description: 'Unique hash identifier for the API key'
3432534357
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -34405,6 +34437,7 @@ paths:
3440534437
- 'byok_usage_monthly'
3440634438
- 'created_at'
3440734439
- 'updated_at'
34440+
- 'external_user'
3440834441
- 'creator_user_id'
3440934442
- 'workspace_id'
3441034443
type: 'object'
@@ -34556,6 +34589,7 @@ paths:
3455634589
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3455734590
disabled: false
3455834591
expires_at: null
34592+
external_user: null
3455934593
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3456034594
include_byok_in_limit: true
3456134595
label: 'Updated API Key Name'
@@ -34581,6 +34615,7 @@ paths:
3458134615
creator_user_id: 'user_2dHFtVWx2n56w6HkM0000000000'
3458234616
disabled: false
3458334617
expires_at: '2027-12-31T23:59:59Z'
34618+
external_user: null
3458434619
hash: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
3458534620
include_byok_in_limit: false
3458634621
label: 'sk-or-v1-0e6...1c96'
@@ -34636,6 +34671,12 @@ paths:
3463634671
type:
3463734672
- 'string'
3463834673
- 'null'
34674+
external_user:
34675+
description: 'Partner''s end-user identifier used for attribution.'
34676+
example: null
34677+
type:
34678+
- 'string'
34679+
- 'null'
3463934680
hash:
3464034681
description: 'Unique hash identifier for the API key'
3464134682
example: 'f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943'
@@ -34721,6 +34762,7 @@ paths:
3472134762
- 'byok_usage_monthly'
3472234763
- 'created_at'
3472334764
- 'updated_at'
34765+
- 'external_user'
3472434766
- 'creator_user_id'
3472534767
- 'workspace_id'
3472634768
type: 'object'

.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:a0c8071526156321d4808bf8ae5aa9231043e82cb7d3dafc56374eb0f0339206
6-
sourceBlobDigest: sha256:8ad77bace16445242fe39dba2e0c36dbfb6b66e8c50c59fcf4155b41d65b318f
5+
sourceRevisionDigest: sha256:36607bb1ee0f8771c1af0da1b9a9fe072e5761cf4604980b25ab981833a26569
6+
sourceBlobDigest: sha256:feb9ccfde88d5358904e6a3b8ae255e6183ba70c6f5cd8078906aa54f572ee50
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:a0c8071526156321d4808bf8ae5aa9231043e82cb7d3dafc56374eb0f0339206
15-
sourceBlobDigest: sha256:8ad77bace16445242fe39dba2e0c36dbfb6b66e8c50c59fcf4155b41d65b318f
14+
sourceRevisionDigest: sha256:36607bb1ee0f8771c1af0da1b9a9fe072e5761cf4604980b25ab981833a26569
15+
sourceBlobDigest: sha256:feb9ccfde88d5358904e6a3b8ae255e6183ba70c6f5cd8078906aa54f572ee50
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:cfca39323f743a723a62fc64413774cf84f5d1b1556f70b04d8655864d205278
17+
codeSamplesRevisionDigest: sha256:5c7956c63c0575911fdfb8a083ed89ac9153a446d4396a0372b4dee36a360108
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
@@ -1569,4 +1569,14 @@ Based on:
15691569
### Generated
15701570
- [python v1.1.78] .
15711571
### Releases
1572-
- [PyPI v1.1.78] https://pypi.org/project/openrouter/1.1.78 - .
1572+
- [PyPI v1.1.78] https://pypi.org/project/openrouter/1.1.78 - .
1573+
1574+
## 2026-08-24 16:47:41
1575+
### Changes
1576+
Based on:
1577+
- OpenAPI Doc
1578+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1579+
### Generated
1580+
- [python v1.1.79] .
1581+
### Releases
1582+
- [PyPI v1.1.79] https://pypi.org/project/openrouter/1.1.79 - .

docs/operations/createkeysdata.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The created API key information
1717
| `creator_user_id` | *Nullable[str]* | :heavy_check_mark: | The user ID of the key creator. For organization-owned keys, this is the member who created the key. For individual users, this is the user's own ID. | user_2dHFtVWx2n56w6HkM0000000000 |
1818
| `disabled` | *bool* | :heavy_check_mark: | Whether the API key is disabled | false |
1919
| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | ISO 8601 UTC timestamp when the API key expires, or null if no expiration | 2027-12-31T23:59:59Z |
20+
| `external_user` | *Nullable[str]* | :heavy_check_mark: | Partner's end-user identifier used for attribution. | null |
2021
| `hash` | *str* | :heavy_check_mark: | Unique hash identifier for the API key | f01d52606dc8f0a8303a7b5cc3fa07109c2e346cec7c0a16b40de462992ce943 |
2122
| `include_byok_in_limit` | *bool* | :heavy_check_mark: | Whether to include external BYOK usage in the credit limit | false |
2223
| `label` | *str* | :heavy_check_mark: | Human-readable label for the API key | sk-or-v1-0e6...1c96 |

0 commit comments

Comments
 (0)