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
346 changes: 272 additions & 74 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 @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
typescript:
version: 1.4.0
version: 1.4.1
acceptHeaderEnum: false
additionalDependencies:
dependencies:
Expand Down
356 changes: 333 additions & 23 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:a529cc2d3941bec2ea744863bc08f7a239d30b7e72033a2cccaf01e94b9d4bb3
sourceBlobDigest: sha256:fb9ecf2cce9df3d4e0c78943515eacfb28c95f13a12306535e7cf632290d61ff
sourceRevisionDigest: sha256:4a276d79b0f0aad6a714e25c3f8f7fe7e812f8dc4791653ee148242a283ca5f4
sourceBlobDigest: sha256:5ffe733d2a2d2d28e357d4687a6be62eca30fe9a1d24490c01416145ee0a23b9
tags:
- latest
- 1.0.0
targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:a529cc2d3941bec2ea744863bc08f7a239d30b7e72033a2cccaf01e94b9d4bb3
sourceBlobDigest: sha256:fb9ecf2cce9df3d4e0c78943515eacfb28c95f13a12306535e7cf632290d61ff
sourceRevisionDigest: sha256:4a276d79b0f0aad6a714e25c3f8f7fe7e812f8dc4791653ee148242a283ca5f4
sourceBlobDigest: sha256:5ffe733d2a2d2d28e357d4687a6be62eca30fe9a1d24490c01416145ee0a23b9
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:c5ec6edd5c4e93efdfc4143f121237e51f7b340f48434bfdcaa2107672446867
codeSamplesRevisionDigest: sha256:605403f5ec8c8833f004c2ed0224231f60501b6ea647f09a8e8d8e3099222cf7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4156,4 +4156,14 @@ Based on:
### Generated
- [typescript v1.4.0] .
### Releases
- [NPM v1.4.0] https://www.npmjs.com/package/@openrouter/sdk/v/1.4.0 - .
- [NPM v1.4.0] https://www.npmjs.com/package/@openrouter/sdk/v/1.4.0 - .

## 2026-09-29 02:08:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.4.1] .
### Releases
- [NPM v1.4.1] https://www.npmjs.com/package/@openrouter/sdk/v/1.4.1 - .
19 changes: 19 additions & 0 deletions docs/models/operations/listinterneffectivevaultsecretsglobals.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "ListInternEffectiveVaultSecretsGlobals"
---

## Example Usage

```typescript
import { ListInternEffectiveVaultSecretsGlobals } from "@openrouter/sdk/models/operations";

let value: ListInternEffectiveVaultSecretsGlobals = {};
```

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `httpReferer` | *string* | :heavy_minus_sign: | The app identifier should be your app's URL and is used as the primary identifier for rankings.<br/>This is used to track API usage per application.<br/> |
| `appTitle` | *string* | :heavy_minus_sign: | The app display name allows you to customize how your app appears in OpenRouter's dashboard.<br/> |
| `appCategories` | *string* | :heavy_minus_sign: | Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.<br/> |
25 changes: 25 additions & 0 deletions docs/models/operations/listinterneffectivevaultsecretsrequest.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: "ListInternEffectiveVaultSecretsRequest"
---

## Example Usage

```typescript
import { ListInternEffectiveVaultSecretsRequest } from "@openrouter/sdk/models/operations";

let value: ListInternEffectiveVaultSecretsRequest = {
internId: "7c9e6679-7425-40de-944b-e07fc1f90ae7",
limit: 50,
};
```

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| `httpReferer` | *string* | :heavy_minus_sign: | The app identifier should be your app's URL and is used as the primary identifier for rankings.<br/>This is used to track API usage per application.<br/> | |
| `appTitle` | *string* | :heavy_minus_sign: | The app display name allows you to customize how your app appears in OpenRouter's dashboard.<br/> | |
| `appCategories` | *string* | :heavy_minus_sign: | Comma-separated list of app categories (e.g. "cli-agent,cloud-agent"). Used for marketplace rankings.<br/> | |
| `internId` | *string* | :heavy_check_mark: | UUID of an intern in the workspace selected by the API key. | 7c9e6679-7425-40de-944b-e07fc1f90ae7 |
| `limit` | *number* | :heavy_minus_sign: | Page size, 1 to 100. Defaults to 100. | 50 |
| `offset` | *number* | :heavy_minus_sign: | Number of secrets to skip, 0 to 10000. Defaults to 0. | 0 |
19 changes: 0 additions & 19 deletions docs/models/scope.mdx

This file was deleted.

2 changes: 1 addition & 1 deletion docs/models/tokenexchangerequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ let value: TokenExchangeRequest = {
| `federationPolicyId` | *string* | :heavy_check_mark: | The federation policy to evaluate, from Settings β†’ Workload identity. Binds the exchange to one organization. | 4b2f7d1e-8c3a-4e5f-9a6b-1c2d3e4f5a6b |
| `grantType` | [models.GrantType](../models/granttype.mdx) | :heavy_check_mark: | Must be `urn:ietf:params:oauth:grant-type:token-exchange`. | urn:ietf:params:oauth:grant-type:token-exchange |
| `requestedTokenType` | [models.RequestedTokenType](../models/requestedtokentype.mdx) | :heavy_minus_sign: | Optional; when present must be `urn:ietf:params:oauth:token-type:access_token`. | urn:ietf:params:oauth:token-type:access_token |
| `scope` | [models.Scope](../models/scope.mdx) | :heavy_minus_sign: | Optional; only `inference` is available. | inference |
| `scope` | [models.TokenExchangeRequestScope](../models/tokenexchangerequestscope.mdx) | :heavy_minus_sign: | Optional; only `inference` is available. | inference |
| `subjectToken` | *string* | :heavy_check_mark: | The JWT issued by your identity provider. | \<jwt from your identity provider> |
| `subjectTokenType` | [models.SubjectTokenType](../models/subjecttokentype.mdx) | :heavy_check_mark: | Must be `urn:ietf:params:oauth:token-type:jwt`. | urn:ietf:params:oauth:token-type:jwt |
19 changes: 19 additions & 0 deletions docs/models/tokenexchangerequestscope.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: "TokenExchangeRequestScope"
---

Optional; only `inference` is available.

## Example Usage

```typescript
import { TokenExchangeRequestScope } from "@openrouter/sdk/models";

let value: TokenExchangeRequestScope = "inference";
```

## Values

```typescript
"inference"
```
Loading
Loading