diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 20da57147..17414033b 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,18 +1,18 @@
lockVersion: 2.0.0
id: 9eea3e30-2722-4060-973b-57b7f1f75dc0
management:
- docChecksum: dab666f005acdd377e0536c9668eff31
+ docChecksum: 69646e97f999247d54e6c12796e404a5
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
- releaseVersion: 0.9.36
- configChecksum: 105580322e969fdcef259c26db15d5de
+ releaseVersion: 0.9.37
+ configChecksum: 9569d21cb93fb8dd9a2510051884350c
repoURL: https://github.com/OpenRouterTeam/go-sdk.git
installationURL: https://github.com/OpenRouterTeam/go-sdk
persistentEdits:
- generation_id: 8f04f1ce-0a87-4492-bafb-6f363c73d674
- pristine_commit_hash: 1b5733d0363a27a8e7127553c9b811715f96ed9f
- pristine_tree_hash: 465636b1578ecf3f4394b841bb3136fbe0dd7b86
+ generation_id: 866bbcee-3b7a-4172-976b-277e9f868c70
+ pristine_commit_hash: 13ddd8be5ded3b2087dbeaa380896db2f17578d9
+ pristine_tree_hash: 698f8bf6be61b767dd6c51e98266c1f4881bfc6e
features:
go:
acceptHeaders: 2.81.2
@@ -2561,8 +2561,8 @@ trackedFiles:
pristine_git_object: c0e18d9d9ad5e7a126ac76eaecaaa8fd72227dd2
docs/models/components/createenduserrequest.mdx:
id: 79211a301334
- last_write_checksum: sha1:85dea58eb1860ea593290397bcaf2339b3093b7d
- pristine_git_object: 0f24ee2a39a05b2e4f59b9a076e244455e81c15e
+ last_write_checksum: sha1:3e554b1670c474ca1e41bd35427172420f11eb45
+ pristine_git_object: 695800505a097a86cafe1ba60fd6faae6c19b861
docs/models/components/createguardrailrequest.mdx:
id: f2be013836bb
last_write_checksum: sha1:940b8fdbb018c76852fccc705a0eba1a2f0d0c20
@@ -2985,8 +2985,8 @@ trackedFiles:
pristine_git_object: 8f3b7088427adef28edae260742392e9c2954b4f
docs/models/components/enduser.mdx:
id: 84d986274ef3
- last_write_checksum: sha1:6d21cadd2b576c9b9fb3f75da05220280cf9c9fe
- pristine_git_object: 4c9f3b9d7eb595e3be34060f4fc7381bef0ff94d
+ last_write_checksum: sha1:9d2866a9f8c010abbeb5899cec5dc0d8c572b8cc
+ pristine_git_object: 9dfecf17bf2f346347555b6b8fd6883614559244
docs/models/components/enduserresponse.mdx:
id: 175b9548e443
last_write_checksum: sha1:5c059910e0af7ecb5a7bcc42ac628169d1bef12c
@@ -8221,8 +8221,8 @@ trackedFiles:
pristine_git_object: d5e78b429aba6a73ff48891c65cdb3ca254d05bb
docs/models/operations/deleteenduserrequest.mdx:
id: c777a49bbbaa
- last_write_checksum: sha1:30f60ccb511063190f1c71c55f6e38f466d718aa
- pristine_git_object: 5e8156af154d2750f551129cd6cd411b77a36ed1
+ last_write_checksum: sha1:472aa14756be33d38ddde916596c0468cd4d1438
+ pristine_git_object: 94e9f4d329958b666cd4e19de1f8d206af9da8f3
docs/models/operations/deletefilerequest.mdx:
id: 09572e0d323d
last_write_checksum: sha1:e9a314cccf32cb2227c62abae2373732c160853d
@@ -8405,8 +8405,8 @@ trackedFiles:
pristine_git_object: 0631c3dfe6c142199beb9469be398a6e324641c0
docs/models/operations/getenduserrequest.mdx:
id: 57b6e423c523
- last_write_checksum: sha1:21bf000d635d5aa325fcbd23bceab7e457192965
- pristine_git_object: 2e1880834d64631d4a2b03becee06e35a163d8cd
+ last_write_checksum: sha1:929a8b802cb4fdb44aeb36fa8f24928a31994a24
+ pristine_git_object: 432f641e01578a61ec34ce1877c0540d7dbd747c
docs/models/operations/getfilemetadatarequest.mdx:
id: c0c091f58c77
last_write_checksum: sha1:2de0af90e08b149464ab09738bd4d9dd34ee2de0
@@ -8633,8 +8633,8 @@ trackedFiles:
pristine_git_object: 3aed99b5d423057ffda86f513517ca99fb7ede7b
docs/models/operations/listendusersrequest.mdx:
id: 980cdfd14268
- last_write_checksum: sha1:6cd4fe62fa8ca69bbb838f3212a2e707337a6da5
- pristine_git_object: 96f2ee6d4b5233ac57e1cc2be9a96a4fc41d2313
+ last_write_checksum: sha1:22b81b6a66e57181ebacc0db95972b0ade06300b
+ pristine_git_object: 7ea3dac06ed0703aef733858247d116e41b4a8e7
docs/models/operations/listendusersresponse.mdx:
id: 24039ce40e13
last_write_checksum: sha1:ca7b31170865bee37067cd59ac791e0e007e1826
@@ -9009,8 +9009,8 @@ trackedFiles:
pristine_git_object: bc1e0e9cf0fcbc821d7c6013d721dc927726248a
docs/models/operations/updateenduserrequest.mdx:
id: 60ceef4bf4f8
- last_write_checksum: sha1:8e73321af1b2fd7cce0b3927b3e0a31d346f5139
- pristine_git_object: ca77914c9371ae9632abc8d55959d5c0bc367af5
+ last_write_checksum: sha1:68c3bc3587de0c20d04100e2559e2ab231346b48
+ pristine_git_object: 08747ded8a057e6846cd8ad7d6065a036ddce49a
docs/models/operations/updateguardrailrequest.mdx:
id: 28e8a7d06289
last_write_checksum: sha1:951286e0038b229a04d843c99a4f83fb449dd5e6
@@ -9281,8 +9281,8 @@ trackedFiles:
pristine_git_object: 844044ad6d1c3d29314dee5b5accfac86245ff19
docs/sdks/endusers/README.mdx:
id: ba369f05185b
- last_write_checksum: sha1:0ace6f60ed40e1b60cbdaa21fa35fc53db7d665f
- pristine_git_object: 3f507fe47595d2fdc2ee84c844f01da8a907b32c
+ last_write_checksum: sha1:ef69ac199361c7afbb6ffaa44328ffd80077c16c
+ pristine_git_object: 32c4de712e62b00454d1308efe57cef95fdd48b7
docs/sdks/files/README.mdx:
id: 1a0c257e330c
last_write_checksum: sha1:b8a41f46bfc02e1a1b0a560181a6d38fa857ab03
@@ -10533,8 +10533,8 @@ trackedFiles:
pristine_git_object: c3d386cf733dce28e6f608f75152854d71d909a6
models/components/createenduserrequest.go:
id: 7ac591fc6b8e
- last_write_checksum: sha1:4d5397e8346705cd54ad80b218f23483bf2ceb51
- pristine_git_object: b2acc22824298706fca76416954d38072525fc29
+ last_write_checksum: sha1:45028c71595002d55b7e44669ae9bfa858104b23
+ pristine_git_object: 196bd3776d4bb90eb951d2ae2bd5e8a795e060c3
models/components/createguardrailrequest.go:
id: a62ed1a0ae01
last_write_checksum: sha1:a58658e8bac02da047b64260c7cdf39840830aee
@@ -10717,8 +10717,8 @@ trackedFiles:
pristine_git_object: 2726eccc5ad1134c26800006a83ed50edbbcb2fd
models/components/enduser.go:
id: 05ec59c39adf
- last_write_checksum: sha1:3f0999a598959a43d4796c9196f7afc6e4cf2e6c
- pristine_git_object: 29686a12aaad2aef5a973fd290cb0d9add956108
+ last_write_checksum: sha1:4e4c2442819c2e8f2111ba74dd07468efffb3b03
+ pristine_git_object: 74b83e87a897dbf30b1c532eb013e4bb580a9676
models/components/enduserresponse.go:
id: 972ef0b0955d
last_write_checksum: sha1:e48d7fa5c95f9e32d36879a6f5189c855e145b51
@@ -12965,8 +12965,8 @@ trackedFiles:
pristine_git_object: b8d0012e682c294b06a771d03e2386a1df30d46e
models/operations/deleteenduser.go:
id: 253b1f2f787a
- last_write_checksum: sha1:9befb46561018c13532abcc04b77a57e4c2a151c
- pristine_git_object: 6c9c95408c21bb7e110fc61a5da782fed7b12676
+ last_write_checksum: sha1:30dfbae0dc3f05e24230a28ffed31be51047c380
+ pristine_git_object: e50348f29096926398ea8581a8d74d2f6585f83e
models/operations/deletefile.go:
id: 15ca30b82fbf
last_write_checksum: sha1:4c4fe0019cc9b2edd954f09d30d43ba11aa4d017
@@ -13065,8 +13065,8 @@ trackedFiles:
pristine_git_object: 4517257a84c56b7d934cc537ddd77d7ae6701a39
models/operations/getenduser.go:
id: 810e45071c26
- last_write_checksum: sha1:76249bc1cc117b708cafaee81755a339208275e1
- pristine_git_object: 0caffce69065c0353fcf8a533a1be155f2fc9f4c
+ last_write_checksum: sha1:16c10e54b3589cfba129964be525bf46c2c4be82
+ pristine_git_object: 748955cbdb2f2ddd140359de27878e758d2a6140
models/operations/getfilemetadata.go:
id: ac54c1bc940b
last_write_checksum: sha1:89aeac7e3a0eae9a1d74c73c7edc25a5378de1b2
@@ -13197,8 +13197,8 @@ trackedFiles:
pristine_git_object: de2caab374aa9b4b1e8378584e425e4f3a6b252e
models/operations/listendusers.go:
id: 82d629f0091a
- last_write_checksum: sha1:3f1c408f7b6b50eb6047f3a2ef313a006c355356
- pristine_git_object: e2bcd200f5b0d1114bd893dd56e93a4a03af48ef
+ last_write_checksum: sha1:93e5d6460e0c0164a8a1ffea2a7adea74b5d4e96
+ pristine_git_object: 2b552c4ca40ce63f0ee382669fc0144bc07d7af5
models/operations/listfiles.go:
id: dc325e3fde5f
last_write_checksum: sha1:353dbb43dc818ecc846c3e4696c83cab1d4a1c7d
@@ -13349,8 +13349,8 @@ trackedFiles:
pristine_git_object: f5af8797b9e96618655d8e4a59bcc96d00204f2f
models/operations/updateenduser.go:
id: 9ef6508f1321
- last_write_checksum: sha1:3e638967b270cfe9a9ae24e94f13bff46eeb1acf
- pristine_git_object: 0c34e0c67f60599387d0a2c6d65a67e9dae2980f
+ last_write_checksum: sha1:caaa57303f14ed5b56b1e8c29c54ffe2f1eb32b8
+ pristine_git_object: c337b45404ece81853b0c8c0793c32e8871b6119
models/operations/updateguardrail.go:
id: 91384d66e9d9
last_write_checksum: sha1:4fa2ac4f720341443020c99695abecbbd9367cf3
@@ -13509,8 +13509,8 @@ trackedFiles:
pristine_git_object: 5e3a2cdf8cb4ed4f5378b712293cba9c82074f16
openrouter.go:
id: 207ad004b774
- last_write_checksum: sha1:600da98bc806c1378a531d03e8eaabba0296db1b
- pristine_git_object: bfc05ca81fecfe28c7dff49e61d25d494366d664
+ last_write_checksum: sha1:c5d68fe900e5b30fe93ee26a24fabfe32d12b1fe
+ pristine_git_object: 94e6e806d8d133dc16d488d902c416c5951a71fc
optionalnullable/optionalnullable.go:
id: ce60f259ead3
last_write_checksum: sha1:d6aff1a420c31e025ea21d46cf056e305ae76fe8
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 19cf83e13..3af0ab1bd 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
go:
- version: 0.9.36
+ version: 0.9.37
additionalDependencies: {}
baseErrorName: OpenRouterError
clientServerStatusCodesAsErrors: true
diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml
index 32a9d470e..db5cfbf9b 100644
--- a/.speakeasy/out.openapi.yaml
+++ b/.speakeasy/out.openapi.yaml
@@ -9395,11 +9395,11 @@ components:
user: 'employee_123'
properties:
user:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
required:
- 'user'
@@ -10908,11 +10908,11 @@ components:
format: 'date-time'
type: 'string'
user:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
required:
- 'user'
@@ -38142,16 +38142,16 @@ paths:
maximum: 100
minimum: 1
type: 'integer'
- - description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ - description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
in: 'query'
name: 'user'
required: false
schema:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
- description: 'Include deactivated registrations.'
in: 'query'
@@ -38314,16 +38314,16 @@ paths:
description: 'Soft-deactivate a registration while retaining its tracking ID. Repeat deactivation succeeds. This does not block inference; reactivate through PATCH. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'deleteEndUser'
parameters:
- - description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ - description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
in: 'path'
name: 'user'
required: true
schema:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
responses:
'204':
@@ -38376,16 +38376,16 @@ paths:
description: 'Retrieve an active or inactive registration by its URL-encoded, caller-supplied tracking ID. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'getEndUser'
parameters:
- - description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ - description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
in: 'path'
name: 'user'
required: true
schema:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
responses:
'200':
@@ -38448,16 +38448,16 @@ paths:
description: 'Update registration state without changing identity. State changes do not enforce inference access. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'updateEndUser'
parameters:
- - description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ - description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
in: 'path'
name: 'user'
required: true
schema:
- description: 'Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.'
+ description: 'Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.'
example: 'employee_123'
- maxLength: 256
+ maxLength: 512
minLength: 1
- pattern: '^[^\p{Cc}]+$'
+ pattern: '^[^\u0000]+$'
type: 'string'
requestBody:
content:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index cc23e3c4f..aeafde53e 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -2,8 +2,8 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
- sourceRevisionDigest: sha256:31c1bc0f901feeb5ed0f1957a7185759d8231786bcc65e8067e29cdf499a0312
- sourceBlobDigest: sha256:82768586b9b7629e6631fa3e625472af66a172b8c6d56fb41c370c4b36ba1e07
+ sourceRevisionDigest: sha256:538d25690f9e14868bfece446f5b52f484f02be90bab4251c891a4527a405217
+ sourceBlobDigest: sha256:76b05683f56c51a0888239e27ea31d6aafca3a8cb980374629ffcae932aff2f1
tags:
- latest
- 1.0.0
@@ -11,10 +11,10 @@ targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
- sourceRevisionDigest: sha256:31c1bc0f901feeb5ed0f1957a7185759d8231786bcc65e8067e29cdf499a0312
- sourceBlobDigest: sha256:82768586b9b7629e6631fa3e625472af66a172b8c6d56fb41c370c4b36ba1e07
+ sourceRevisionDigest: sha256:538d25690f9e14868bfece446f5b52f484f02be90bab4251c891a4527a405217
+ sourceBlobDigest: sha256:76b05683f56c51a0888239e27ea31d6aafca3a8cb980374629ffcae932aff2f1
codeSamplesNamespace: open-router-chat-completions-api-go-code-samples
- codeSamplesRevisionDigest: sha256:3b80d526778aa46a50a38ead0de0f0c532c44a66a416f60306437d15d6470015
+ codeSamplesRevisionDigest: sha256:da29459564570ca8ba06479d5c692b7a3f7c50926077a7a02f1487949359cf25
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
diff --git a/OVERVIEW.md b/OVERVIEW.md
index 3dfcfd476..092bcc9b2 100644
--- a/OVERVIEW.md
+++ b/OVERVIEW.md
@@ -117,7 +117,7 @@ go get github.com/OpenRouterTeam/go-sdk
For beta releases, pin an explicit version:
```bash
-go get github.com/OpenRouterTeam/go-sdk@v0.9.36
+go get github.com/OpenRouterTeam/go-sdk@v0.9.37
```
**Requirements:** Go 1.25 or higher
diff --git a/README.md b/README.md
index 8896d35b5..65791babe 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ To learn more, see the [API Reference](https://openrouter.ai/docs/sdks/go/api-re
> This SDK is in **beta**. Pin to a specific version to avoid unexpected breaking changes:
>
> ```bash
-> go get github.com/OpenRouterTeam/go-sdk@v0.9.36
+> go get github.com/OpenRouterTeam/go-sdk@v0.9.37
> ```
diff --git a/RELEASES.md b/RELEASES.md
index a55d0f0d2..40fc1b170 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -2878,4 +2878,14 @@ Based on:
### Generated
- [go v0.9.36] .
### Releases
-- [Go v0.9.36] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.36 - .
\ No newline at end of file
+- [Go v0.9.36] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.36 - .
+
+## 2026-10-09 00:13:39
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [go v0.9.37] .
+### Releases
+- [Go v0.9.37] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.37 - .
\ No newline at end of file
diff --git a/doc.go b/doc.go
index 8a14ab3d6..6834cca8c 100644
--- a/doc.go
+++ b/doc.go
@@ -6,7 +6,7 @@ provider selection, and unified billing.
This SDK is in beta. Pin to a specific module version to avoid unexpected breaking changes:
- go get github.com/OpenRouterTeam/go-sdk@v0.9.36
+ go get github.com/OpenRouterTeam/go-sdk@v0.9.37
For full API documentation, visit: https://openrouter.ai/docs/client-sdks/go/overview
diff --git a/docs/models/components/createenduserrequest.mdx b/docs/models/components/createenduserrequest.mdx
index e2b7af870..9f70a6e70 100644
--- a/docs/models/components/createenduserrequest.mdx
+++ b/docs/models/components/createenduserrequest.mdx
@@ -4,6 +4,6 @@ title: "CreateEndUserRequest"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
\ No newline at end of file
diff --git a/docs/models/components/enduser.mdx b/docs/models/components/enduser.mdx
index 03feccf03..aa098b520 100644
--- a/docs/models/components/enduser.mdx
+++ b/docs/models/components/enduser.mdx
@@ -4,9 +4,9 @@ title: "EndUser"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | ✅ | Registration creation time. | 2026-09-16T12:00:00Z |
-| `IsActive` | `bool` | ✅ | Whether this registration is active. Not an inference authorization decision. | true |
-| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | ✅ | Last registration lifecycle update time. | 2026-09-16T12:00:00Z |
-| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `CreatedAt` | [time.Time](https://pkg.go.dev/time#Time) | ✅ | Registration creation time. | 2026-09-16T12:00:00Z |
+| `IsActive` | `bool` | ✅ | Whether this registration is active. Not an inference authorization decision. | true |
+| `UpdatedAt` | [time.Time](https://pkg.go.dev/time#Time) | ✅ | Last registration lifecycle update time. | 2026-09-16T12:00:00Z |
+| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
\ No newline at end of file
diff --git a/docs/models/operations/deleteenduserrequest.mdx b/docs/models/operations/deleteenduserrequest.mdx
index 5a3ce69e8..9fcd0d5ae 100644
--- a/docs/models/operations/deleteenduserrequest.mdx
+++ b/docs/models/operations/deleteenduserrequest.mdx
@@ -4,6 +4,6 @@ title: "DeleteEndUserRequest"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
\ No newline at end of file
diff --git a/docs/models/operations/getenduserrequest.mdx b/docs/models/operations/getenduserrequest.mdx
index dc4f8e92c..6940e1ffd 100644
--- a/docs/models/operations/getenduserrequest.mdx
+++ b/docs/models/operations/getenduserrequest.mdx
@@ -4,6 +4,6 @@ title: "GetEndUserRequest"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
\ No newline at end of file
diff --git a/docs/models/operations/listendusersrequest.mdx b/docs/models/operations/listendusersrequest.mdx
index d92582eaf..f4ff01448 100644
--- a/docs/models/operations/listendusersrequest.mdx
+++ b/docs/models/operations/listendusersrequest.mdx
@@ -4,9 +4,9 @@ title: "ListEndUsersRequest"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `Offset` | optionalnullable.OptionalNullable[`int64`] | ➖ | Number of records to skip for pagination | 0 |
-| `Limit` | `*int64` | ➖ | Maximum number of records to return (max 100) | 50 |
-| `User` | `*string` | ➖ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `IncludeInactive` | `*bool` | ➖ | Include deactivated registrations. | false |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `Offset` | optionalnullable.OptionalNullable[`int64`] | ➖ | Number of records to skip for pagination | 0 |
+| `Limit` | `*int64` | ➖ | Maximum number of records to return (max 100) | 50 |
+| `User` | `*string` | ➖ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `IncludeInactive` | `*bool` | ➖ | Include deactivated registrations. | false |
\ No newline at end of file
diff --git a/docs/models/operations/updateenduserrequest.mdx b/docs/models/operations/updateenduserrequest.mdx
index c93fd9f46..69d5214a0 100644
--- a/docs/models/operations/updateenduserrequest.mdx
+++ b/docs/models/operations/updateenduserrequest.mdx
@@ -4,7 +4,7 @@ title: "UpdateEndUserRequest"
## Fields
-| Field | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `UpdateEndUserRequest` | [components.UpdateEndUserRequest](../../models/components/updateenduserrequest.mdx) | ✅ | N/A | \{
"is_active": true
} |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `User` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `UpdateEndUserRequest` | [components.UpdateEndUserRequest](../../models/components/updateenduserrequest.mdx) | ✅ | N/A | \{
"is_active": true
} |
\ No newline at end of file
diff --git a/docs/sdks/endusers/README.mdx b/docs/sdks/endusers/README.mdx
index f5e4d00f0..2e65749d4 100644
--- a/docs/sdks/endusers/README.mdx
+++ b/docs/sdks/endusers/README.mdx
@@ -63,14 +63,14 @@ func main() {
### Parameters
-| Parameter | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
-| `offset` | optionalnullable.OptionalNullable[`int64`] | ➖ | Number of records to skip for pagination | 0 |
-| `limit` | `*int64` | ➖ | Maximum number of records to return (max 100) | 50 |
-| `user` | `*string` | ➖ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `includeInactive` | `*bool` | ➖ | Include deactivated registrations. | false |
-| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
+| Parameter | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
+| `offset` | optionalnullable.OptionalNullable[`int64`] | ➖ | Number of records to skip for pagination | 0 |
+| `limit` | `*int64` | ➖ | Maximum number of records to return (max 100) | 50 |
+| `user` | `*string` | ➖ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `includeInactive` | `*bool` | ➖ | Include deactivated registrations. | false |
+| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
### Response
@@ -177,11 +177,11 @@ func main() {
### Parameters
-| Parameter | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
-| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
+| Parameter | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
+| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
### Response
@@ -232,11 +232,11 @@ func main() {
### Parameters
-| Parameter | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
-| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
+| Parameter | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
+| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
### Response
@@ -290,12 +290,12 @@ func main() {
### Parameters
-| Parameter | Type | Required | Description | Example |
-| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
-| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths. | employee_123 |
-| `updateEndUserRequest` | [components.UpdateEndUserRequest](../../models/components/updateenduserrequest.mdx) | ✅ | N/A | \{
"is_active": true
} |
-| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
+| Parameter | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `ctx` | [context.Context](https://pkg.go.dev/context#Context) | ✅ | The context to use for the request. | |
+| `user` | `string` | ✅ | Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter. | employee_123 |
+| `updateEndUserRequest` | [components.UpdateEndUserRequest](../../models/components/updateenduserrequest.mdx) | ✅ | N/A | \{
"is_active": true
} |
+| `opts` | [][operations.Option](../../models/operations/option.mdx) | ➖ | The options for this request. | |
### Response
diff --git a/example_test.go b/example_test.go
index 2f55fdfb2..f8afdeca5 100644
--- a/example_test.go
+++ b/example_test.go
@@ -18,7 +18,7 @@ func ExampleNew() {
openrouter.WithSecurity("your-api-key"),
)
fmt.Println(sdk.SDKVersion)
- // Output: 0.9.36
+ // Output: 0.9.37
}
// Example demonstrates basic usage of the OpenRouter SDK for chat completions.
diff --git a/examples/README.md b/examples/README.md
index bce10c0da..de2141b25 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -43,7 +43,7 @@ cd ../generation && go run .
Each example pins a released SDK version in `go.mod`:
```go
-require github.com/OpenRouterTeam/go-sdk v0.9.36
+require github.com/OpenRouterTeam/go-sdk v0.9.37
```
This should match the version in [README.md](../README.md) and `.speakeasy/gen.lock` `releaseVersion`. CI runs `scripts/bump-examples.sh` after releases to keep these in sync.
@@ -51,7 +51,7 @@ This should match the version in [README.md](../README.md) and `.speakeasy/gen.l
To use a different version:
```bash
-go get github.com/OpenRouterTeam/go-sdk@v0.9.36
+go get github.com/OpenRouterTeam/go-sdk@v0.9.37
go run .
```
diff --git a/models/components/createenduserrequest.go b/models/components/createenduserrequest.go
index b2acc2282..196bd3776 100644
--- a/models/components/createenduserrequest.go
+++ b/models/components/createenduserrequest.go
@@ -3,7 +3,7 @@
package components
type CreateEndUserRequest struct {
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User string `json:"user"`
}
diff --git a/models/components/enduser.go b/models/components/enduser.go
index 29686a12a..74b83e87a 100644
--- a/models/components/enduser.go
+++ b/models/components/enduser.go
@@ -14,7 +14,7 @@ type EndUser struct {
IsActive bool `json:"is_active"`
// Last registration lifecycle update time.
UpdatedAt time.Time `json:"updated_at"`
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User string `json:"user"`
}
diff --git a/models/operations/deleteenduser.go b/models/operations/deleteenduser.go
index 6c9c95408..e50348f29 100644
--- a/models/operations/deleteenduser.go
+++ b/models/operations/deleteenduser.go
@@ -3,7 +3,7 @@
package operations
type DeleteEndUserRequest struct {
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User string `pathParam:"style=simple,explode=false,name=user"`
}
diff --git a/models/operations/getenduser.go b/models/operations/getenduser.go
index 0caffce69..748955cbd 100644
--- a/models/operations/getenduser.go
+++ b/models/operations/getenduser.go
@@ -3,7 +3,7 @@
package operations
type GetEndUserRequest struct {
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User string `pathParam:"style=simple,explode=false,name=user"`
}
diff --git a/models/operations/listendusers.go b/models/operations/listendusers.go
index e2bcd200f..2b552c4ca 100644
--- a/models/operations/listendusers.go
+++ b/models/operations/listendusers.go
@@ -13,7 +13,7 @@ type ListEndUsersRequest struct {
Offset optionalnullable.OptionalNullable[int64] `default:"0" queryParam:"style=form,explode=true,name=offset"`
// Maximum number of records to return (max 100)
Limit *int64 `default:"50" queryParam:"style=form,explode=true,name=limit"`
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User *string `queryParam:"style=form,explode=true,name=user"`
// Include deactivated registrations.
IncludeInactive *bool `default:"false" queryParam:"style=form,explode=true,name=include_inactive"`
diff --git a/models/operations/updateenduser.go b/models/operations/updateenduser.go
index 0c34e0c67..c337b4540 100644
--- a/models/operations/updateenduser.go
+++ b/models/operations/updateenduser.go
@@ -7,7 +7,7 @@ import (
)
type UpdateEndUserRequest struct {
- // Immutable case-sensitive tracking string supplied as user on inference requests. URL-encode it in resource paths.
+ // Immutable case-sensitive tracking string supplied as user on inference requests or as external.user on API keys: 1 to 512 characters, well-formed Unicode, no NUL, no surrounding whitespace. URL-encode it in resource paths; an ID of `.` or `..` cannot be addressed by path, so look it up with the list filter.
User string `pathParam:"style=simple,explode=false,name=user"`
UpdateEndUserRequest components.UpdateEndUserRequest `request:"mediaType=application/json"`
}
diff --git a/openrouter.go b/openrouter.go
index bfc05ca81..94e6e806d 100644
--- a/openrouter.go
+++ b/openrouter.go
@@ -234,9 +234,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
// New creates a new instance of the SDK with the provided options
func New(opts ...SDKOption) *OpenRouter {
sdk := &OpenRouter{
- SDKVersion: "0.9.36",
+ SDKVersion: "0.9.37",
sdkConfiguration: config.SDKConfiguration{
- UserAgent: "speakeasy-sdk/go 0.9.36 2.914.0 1.0.0 github.com/OpenRouterTeam/go-sdk",
+ UserAgent: "speakeasy-sdk/go 0.9.37 2.914.0 1.0.0 github.com/OpenRouterTeam/go-sdk",
Globals: globals.Globals{},
ServerList: ServerList,
},