Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
154 changes: 102 additions & 52 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
go:
version: 0.9.79
version: 0.9.80
additionalDependencies: {}
baseErrorName: OpenRouterError
clientServerStatusCodesAsErrors: true
Expand Down
248 changes: 246 additions & 2 deletions .speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9a252fab4b49b67f4a969532269b526bf3d378d6581377ec3c9da07a5d36b5bd
sourceBlobDigest: sha256:256d1b1cc0c51003479132cb195468507697c97c3ae139ad8bdc6374715fc712
sourceRevisionDigest: sha256:bafe162dd0b4da5f3f2d9ca231f9ed585362e4cf79561182acdeefd8e519f362
sourceBlobDigest: sha256:0862b68119e1b19e5684501ea80e848027bd8876c6a6f06269be12d3bcccc639
tags:
- latest
- 1.0.0
targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9a252fab4b49b67f4a969532269b526bf3d378d6581377ec3c9da07a5d36b5bd
sourceBlobDigest: sha256:256d1b1cc0c51003479132cb195468507697c97c3ae139ad8bdc6374715fc712
sourceRevisionDigest: sha256:bafe162dd0b4da5f3f2d9ca231f9ed585362e4cf79561182acdeefd8e519f362
sourceBlobDigest: sha256:0862b68119e1b19e5684501ea80e848027bd8876c6a6f06269be12d3bcccc639
codeSamplesNamespace: open-router-chat-completions-api-go-code-samples
codeSamplesRevisionDigest: sha256:0998d2e39ccdd195e57a70b27e4e4c77a341bc4f31b373878022a33c3b3c6037
codeSamplesRevisionDigest: sha256:b87cb258e2720b2b457897c4c09035eef3e0131118ff45864e82f13f9d30a7d0
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
2 changes: 1 addition & 1 deletion OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.79
go get github.com/OpenRouterTeam/go-sdk@v0.9.80
```

**Requirements:** Go 1.25 or higher
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.79
> go get github.com/OpenRouterTeam/go-sdk@v0.9.80
> ```

<!-- No Summary [summary] -->
Expand Down Expand Up @@ -356,6 +356,7 @@ func main() {
* [Activate](docs/sdks/privateendpoints/README.md#activate) - Activate a validated private endpoint
* [Disable](docs/sdks/privateendpoints/README.md#disable) - Disable a private endpoint
* [Enable](docs/sdks/privateendpoints/README.md#enable) - Enable a private endpoint
* [UpdateParameters](docs/sdks/privateendpoints/README.md#updateparameters) - Set private endpoint supported parameters
* [UpdatePricing](docs/sdks/privateendpoints/README.md#updatepricing) - Set private endpoint pricing
* [Validate](docs/sdks/privateendpoints/README.md#validate) - Validate a draft private endpoint

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3308,4 +3308,14 @@ Based on:
### Generated
- [go v0.9.79] .
### Releases
- [Go v0.9.79] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.79 - .
- [Go v0.9.79] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.79 - .

## 2026-10-27 13:51:15
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.9.80] .
### Releases
- [Go v0.9.80] https://github.com/OpenRouterTeam/go-sdk/releases/tag/v0.9.80 - .
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.79
go get github.com/OpenRouterTeam/go-sdk@v0.9.80

For full API documentation, visit: https://openrouter.ai/docs/client-sdks/go/overview

Expand Down
22 changes: 12 additions & 10 deletions docs/models/components/createprivateendpointrequest.mdx

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion docs/models/components/managedprivateendpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ title: "ManagedPrivateEndpoint"
| `ProviderName` | `string` | βœ… | Display name of the upstream provider. | Azure |
| `Status` | [components.PrivateEndpointStatus](../../models/components/privateendpointstatus.mdx) | βœ… | Lifecycle state. `draft` endpoints are not routable until validated and activated; `disabled` endpoints are activated but temporarily not routable. | active |
| `DeclaredRegion` | [*components.PrivateEndpointDeclaredRegion](../../models/components/privateendpointdeclaredregion.mdx) | βœ… | Where you attest this deployment processes data. `global` means not regional; `null` means undeclared. | us |
| `DeclaredZdr` | `*bool` | βœ… | Whether you attest this deployment retains no prompt or completion data. `null` means undeclared. | true |
| `DeclaredZdr` | `*bool` | βœ… | Whether you attest this deployment retains no prompt or completion data. `null` means undeclared. | true |
| `MaxCompletionTokens` | optionalnullable.OptionalNullable[`int64`] | βž– | Most completion tokens a request routed to this endpoint can produce, or `null` when the endpoint sets no cap beyond the model context length. | 131072 |
Loading