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
29 changes: 14 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: c48cf606-fb42-4a45-9c23-8f0555307828
management:
docChecksum: ab563d6fdecfbe13dcf3cbc9ab8dce66
docChecksum: 122db02bec7df15e85fc7562309e1d18
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.92
configChecksum: f59a826b09f2db942e036c9a34ba0335
releaseVersion: 1.1.93
configChecksum: 44b673603f1c475e839a1ed96a7784ca
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 39a42826-0421-4da3-b325-b7f5e65099ba
pristine_commit_hash: a5143520b68e571cc440d714a7e21481fd52e5f3
pristine_tree_hash: 29251443bc728b6079719a982962da5c2761319d
generation_id: ea8e808b-cf7f-41b4-b274-0076065fc509
pristine_commit_hash: c10ce5c071b9ba0c6d4bb0316f476e7ddd472a23
pristine_tree_hash: fb3dcc0b69261d3e06a37def2016d08a5021ce03
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -7386,16 +7386,16 @@ trackedFiles:
pristine_git_object: b8a724406e6cacb0ecfef890499e727808961000
docs/sdks/workspaces/README.mdx:
id: 0c75d023ef6b
last_write_checksum: sha1:c079746a64ae6d17d275a869566c100b54d955bf
pristine_git_object: 4c3befc7aeb1c06281c65f81b9004b30c8bd05f7
last_write_checksum: sha1:bd87783f3d54c5768bc47ba24bc10578b7ec39c3
pristine_git_object: b97ae9d4fac980f1cab1db19c725ace8427b8e73
py.typed:
id: 258c3ed47ae4
last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:7e14ad37d06c962176aa31c9ba27b223cebc8749
pristine_git_object: f529fcb697a958f57c89c1eb669d55cd83f5abf9
last_write_checksum: sha1:e7f11b810acb218711005c3f6409383f2fcf0b96
pristine_git_object: 2d003e3ce8333bf350fecd15592bfa86f9628065
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7422,8 +7422,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:75965dae8cfe8e510c0ca59915c9ff8c915dee17
pristine_git_object: 083b61e7cfdbde7e41c52ac9781814d426710b0f
last_write_checksum: sha1:10dccc3c5bc5c98686e3aa678aa1397dba476515
pristine_git_object: 463fdf3f3d4f49c574d923700e2012c794090b7e
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -10622,8 +10622,8 @@ trackedFiles:
pristine_git_object: d7a5997d75ebb156d61342c8cf55c00cee9e210d
src/openrouter/workspaces.py:
id: cd6c533b1802
last_write_checksum: sha1:b796f38262144b21ebf8f77e0a842903b4098e24
pristine_git_object: 4c12e3e5bf324b810114aef2df30c822a0583f86
last_write_checksum: sha1:d816715530601b9de1e76a19cbfe689d7f7f2b75
pristine_git_object: b7d4b4cb83068c1d53ca7391ad157d3dc955a657
examples:
createResponses:
speakeasy-default-create-responses:
Expand Down Expand Up @@ -12465,4 +12465,3 @@ examples:
"503":
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(ShellCallOutputItem)` **Changed**\n"
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
python:
version: 1.1.92
version: 1.1.93
additionalDependencies:
dev: {}
main: {}
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39597,7 +39597,7 @@ paths:
- $ref: "#/components/parameters/AppCategories"
/workspaces/{id}:
delete:
description: 'Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
description: 'Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'deleteWorkspace'
parameters:
- description: 'The workspace ID (UUID) or slug'
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.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee
sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de
sourceRevisionDigest: sha256:3eef799c2f73ae373c9a2a72160190132f88e3939d983e57140f5d33fc611aa5
sourceBlobDigest: sha256:b0f485494548fc18e35e59f3180cb21383b01816a867de4eed19342e00580414
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:4969fdcceb23a0dfc67d4bf319c25082b63b909ca33eea71e08c616e4a79a9ee
sourceBlobDigest: sha256:745e1c7162567b2cce120234dd27b2346fc2eec7cb46136efba34339444d92de
sourceRevisionDigest: sha256:3eef799c2f73ae373c9a2a72160190132f88e3939d983e57140f5d33fc611aa5
sourceBlobDigest: sha256:b0f485494548fc18e35e59f3180cb21383b01816a867de4eed19342e00580414
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:59956dcd61f241a327c04454891da937342198a557e89b3875c69840a72d754a
codeSamplesRevisionDigest: sha256:7994cd38d2a3a7e3a6fc1e547eeaaec2109599dddb991fa7a9655fbe7d02b98a
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 @@ -1709,4 +1709,14 @@ Based on:
### Generated
- [python v1.1.92] .
### Releases
- [PyPI v1.1.92] https://pypi.org/project/openrouter/1.1.92 - .
- [PyPI v1.1.92] https://pypi.org/project/openrouter/1.1.92 - .

## 2026-08-26 17:32:11
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.93] .
### Releases
- [PyPI v1.1.93] https://pypi.org/project/openrouter/1.1.93 - .
2 changes: 1 addition & 1 deletion docs/sdks/workspaces/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ with OpenRouter(

## delete

Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.

### Example Usage

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
version = "1.1.92"
version = "1.1.93"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "openrouter"
__version__: str = "1.1.92"
__version__: str = "1.1.93"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.92 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.93 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ def delete(
) -> components.DeleteWorkspaceResponse:
r"""Delete a workspace

Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.

:param id: The workspace ID (UUID) or slug
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
Expand Down Expand Up @@ -832,7 +832,7 @@ async def delete_async(
) -> components.DeleteWorkspaceResponse:
r"""Delete a workspace

Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace is not yet generally available; callers not enabled for it receive a 403 while the capability rolls out. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Delete an existing workspace. Workspaces with active API keys cannot be deleted; remove the keys first. Deleting the default workspace requires confirm_default_workspace_deletion=true. Deleting any workspace permanently deletes its budgets and guardrails and disables its classifiers and broadcast destinations. [Management key](/docs/guides/overview/auth/management-api-keys) required.

:param id: The workspace ID (UUID) or slug
:param http_referer: The app identifier should be your app's URL and is used as the primary identifier for rankings.
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading