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
132 changes: 75 additions & 57 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
python:
version: 1.3.247
version: 1.3.248
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
156 changes: 156 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43686,6 +43686,12 @@ paths:
start: '2025-01-01T00:00:00Z'
schema:
properties:
api_key_tag_key:
description: 'Tag key to group by when `dimensions` includes `api_key_tag`, e.g. `team`. Each API key has at most one value per tag key, so groups do not overlap: keys with the tag group under its value, and keys with the tag but no value under the key name. Keys without the tag are left out of the results. Without this field, each `key:value` tag is its own group and a key with several tags counts toward each.'
example: 'team'
maxLength: 32
minLength: 1
type: 'string'
classifier_dimensions:
description: 'Group results by custom classifier tags, breaking down metrics by the specified dimension values. Requires an active classifier on the workspace.'
properties:
Expand Down Expand Up @@ -56182,6 +56188,14 @@ paths:
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
format: 'uuid'
type: 'string'
- description: 'Only return API keys with this tag: `team` matches the tag key with any value, `team:billing` that exact value (case-insensitive).'
in: 'query'
name: 'tag'
required: false
schema:
description: 'Only return API keys with this tag: `team` matches the tag key with any value, `team:billing` that exact value (case-insensitive).'
example: 'team:billing'
type: 'string'
- description: 'Only return API keys created by this user ID (the `creator_user_id` on each key). Requires a management key that can view key creators.'
in: 'query'
name: 'creator_user_id'
Expand Down Expand Up @@ -56365,6 +56379,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -56418,6 +56456,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
type: 'array'
required:
Expand Down Expand Up @@ -56579,6 +56618,27 @@ paths:
maxLength: 256
minLength: 1
type: 'string'
tags:
description: 'Custom key-value tags for the API key (at most 5, each tag key at most once). Keys are 1-32 characters of letters, numbers, spaces and - _ . /; the optional value is 1-64 characters and may also contain '':''. Matching is case-insensitive. Your plan limits how many distinct tag keys your account uses and how many distinct values each key has.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
items:
properties:
key:
example: 'team'
type: 'string'
value:
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
type: 'object'
maxItems: 5
type: 'array'
workspace_id:
description: 'The workspace to create the API key in. Defaults to the default workspace for an organization-scoped management key, or to the management key''s own workspace for a workspace-scoped one, which cannot create keys elsewhere.'
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
Expand Down Expand Up @@ -56763,6 +56823,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -56816,6 +56900,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
key:
description: 'The actual API key string (only shown once)'
Expand Down Expand Up @@ -57154,6 +57239,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -57207,6 +57316,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
required:
- 'data'
Expand Down Expand Up @@ -57330,6 +57440,27 @@ paths:
maxLength: 256
minLength: 1
type: 'string'
tags:
description: 'Replace the API key''s tags with this set (at most 5). Send an empty array to remove all tags.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
items:
properties:
key:
example: 'team'
type: 'string'
value:
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
type: 'object'
maxItems: 5
type: 'array'
workspace_id:
description: 'Move the API key to this workspace. The key keeps its value; guardrail selections move with it, except direct guardrail assignments owned by the key''s current workspace, which are removed along with the selections derived from them, while other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. Sending the key''s current workspace is a no-op.'
example: '0df9e665-d932-5740-b2c7-b52af166bc11'
Expand Down Expand Up @@ -57509,6 +57640,30 @@ paths:
description: 'Name of the API key'
example: 'My Production Key'
type: 'string'
tags:
description: 'Custom key-value tags attached to this API key.'
example:
- key: 'team'
value: 'billing'
- key: 'beta'
value: null
items:
properties:
key:
description: 'Tag key, as it was entered.'
example: 'team'
type: 'string'
value:
description: 'Tag value, as it was entered, or null when the tag is just a key.'
example: 'billing'
type:
- 'string'
- 'null'
required:
- 'key'
- 'value'
type: 'object'
type: 'array'
updated_at:
description: 'ISO 8601 timestamp of when the API key was last updated'
example: '2025-08-24T15:45:00Z'
Expand Down Expand Up @@ -57562,6 +57717,7 @@ paths:
- 'external_user'
- 'creator_user_id'
- 'workspace_id'
- 'tags'
type: 'object'
required:
- 'data'
Expand Down
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.803.2
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:f39f4f0a46eaa08d7c1a289caab83ba05e55fbdca9fc5753048d6e651a0834e6
sourceBlobDigest: sha256:7a247bcaba4521169bc8525cc5dc877135c852bf9abac69c56b54d926d3ed200
sourceRevisionDigest: sha256:ef54628eec226fb9a27fb9f62f76b00199afae0ccb8cda126c2a3660f18cf07e
sourceBlobDigest: sha256:84db5b4d90dc3fc96f5774ea337beabaca528058d776a084cf8e920aa92d8710
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:f39f4f0a46eaa08d7c1a289caab83ba05e55fbdca9fc5753048d6e651a0834e6
sourceBlobDigest: sha256:7a247bcaba4521169bc8525cc5dc877135c852bf9abac69c56b54d926d3ed200
sourceRevisionDigest: sha256:ef54628eec226fb9a27fb9f62f76b00199afae0ccb8cda126c2a3660f18cf07e
sourceBlobDigest: sha256:84db5b4d90dc3fc96f5774ea337beabaca528058d776a084cf8e920aa92d8710
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:d8e5ce41b1cf9732455afc2cd2358680bd51960f4491aff83fcf1b02b68866a3
codeSamplesRevisionDigest: sha256:133780529bb319337ea0c3509deeb4e5551a755b43cd1e7a343780a3cdeec3e0
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.803.2
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5239,4 +5239,14 @@ Based on:
### Generated
- [python v1.3.247] .
### Releases
- [PyPI v1.3.247] https://pypi.org/project/openrouter/1.3.247 - .
- [PyPI v1.3.247] https://pypi.org/project/openrouter/1.3.247 - .

## 2026-12-04 23:49:21
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.248] .
### Releases
- [PyPI v1.3.248] https://pypi.org/project/openrouter/1.3.248 - .
Loading