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
35 changes: 16 additions & 19 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: a419a773e84576dee3ea3d63771b24c6
docChecksum: ad6488bc4e963fce04369920028aae96
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.140
configChecksum: 41a1c52cad5c110bcfeaf13200432ae5
releaseVersion: 1.1.141
configChecksum: e03dd30da828d43dbe1b5c2f248b3d15
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 3c7f9333-5c0b-450e-8198-64d07bf6670f
pristine_commit_hash: c1273ddd90890baf1cb6297a9ac034b511f01651
pristine_tree_hash: 4aaa32abf599a02c3438691b551cb38d2cb9a429
generation_id: fb8b1837-bfaf-4476-8efc-a29da801c4f3
pristine_commit_hash: 0171f79709d387186a829a2d70ca42e45581fc54
pristine_tree_hash: 66f9ad2783396005b2f00591b3d3aaca27400a0b
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -7642,8 +7642,8 @@ trackedFiles:
pristine_git_object: 4620eda5cda464ad878f498b92604b435021e5fe
docs/sdks/scim/README.mdx:
id: fd6d8a91a053
last_write_checksum: sha1:bfa41cca8d71fe5ae3fbdc7462a1f13b402accca
pristine_git_object: bdfdb8fc68c3fc2377cc12ea0f6ee2a8d8c47427
last_write_checksum: sha1:4a44eb3431bd9590ff15e3d944309dcfbbcd551c
pristine_git_object: c7435646cf280b7b2fbb2805b2cde15b4c570896
docs/sdks/stt/README.mdx:
id: 190b0dc9a5d1
last_write_checksum: sha1:a9885710fd21bb71b4c80a10ad54a20bf47ddca7
Expand All @@ -7666,8 +7666,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:e470e79f9113582e7bee19bfb3cfffb5e41402a4
pristine_git_object: 26c7e6696c2f7ab35e9bcbac776607e7a5221902
last_write_checksum: sha1:d97c5b4ceb2287f922c06413d327b91bff03cf45
pristine_git_object: dfcc09ed2caac3ed8f8a6830fc59882a21ef61b1
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7694,8 +7694,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:4194998dd112c33b43cec17fae91de373ad9afee
pristine_git_object: 922892c14946dd4ab25df8a217ac5f4f0a99ba51
last_write_checksum: sha1:33f647d050604786103378e5e86c155fc45236a0
pristine_git_object: 8db2ec768f72e06aa77a53f3e4bb10bf7d8fee37
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -10894,12 +10894,12 @@ trackedFiles:
pristine_git_object: 209f35ce4bf4054b4a7735c742eb9e4b82207f9d
src/openrouter/scim.py:
id: 351afd6b616e
last_write_checksum: sha1:a26edbea830c109d7de62b14ebd5dab45892cbba
pristine_git_object: 716b78f3ab2001333f8386750621a35b4b76f622
last_write_checksum: sha1:7018e78ab1826c13e7b87bbc31890c7a4c272c44
pristine_git_object: 1bea5be2496b283307c037f131a45a25bcca3c6c
src/openrouter/sdk.py:
id: ee9846c4c9c5
last_write_checksum: sha1:d8eeaa771b4d51749dc9f3390793903e842fc0af
pristine_git_object: 98847019888bb61e4ed50f189d7c22107e0541a6
last_write_checksum: sha1:5558c4303448970c8727f5e91dd5cce3c2066301
pristine_git_object: b28878b68aa1c9d1c56fb35239d870227b2ccd3c
src/openrouter/sdkconfiguration.py:
id: 55773bb98d7c
last_write_checksum: sha1:c01826125c31a8b8bc99d9d679782c8758fae001
Expand Down Expand Up @@ -12918,6 +12918,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.video_generation.get_video_content()`: `error` **Changed**
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.140
version: 1.1.141
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 @@ -42040,7 +42040,7 @@ tags:
name: 'Rerank'
- description: 'OpenAI-compatible Responses API endpoints'
name: 'Responses'
- description: 'SCIM endpoints'
- description: 'Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning.'
name: 'SCIM'
- description: 'Speech-to-text endpoints'
name: 'STT'
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:9f2ba01ee62d193557c8475d5ed2a07aa6a30f22bff5e76982e41d81cab295aa
sourceBlobDigest: sha256:384cfc63322d6c5551c0acb7aa89723c83a70d7fefe597490d75ac584ad82fb2
sourceRevisionDigest: sha256:4613d303850d467ac94d8c70cff0216948789966aeff099c395c7aa187f653ab
sourceBlobDigest: sha256:c03ea0aac081a0fbe1a9c71887a064f5a3f42a492e086bfff9bf363b8bccc758
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9f2ba01ee62d193557c8475d5ed2a07aa6a30f22bff5e76982e41d81cab295aa
sourceBlobDigest: sha256:384cfc63322d6c5551c0acb7aa89723c83a70d7fefe597490d75ac584ad82fb2
sourceRevisionDigest: sha256:4613d303850d467ac94d8c70cff0216948789966aeff099c395c7aa187f653ab
sourceBlobDigest: sha256:c03ea0aac081a0fbe1a9c71887a064f5a3f42a492e086bfff9bf363b8bccc758
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:75fa5f382eb10149ba874e1a0ec4dd21d0b371b54e03f4c258cf360ae5420abb
codeSamplesRevisionDigest: sha256:1603d76b2c1aa69c6139cc5af3585f4d106f12842081d41243a744d29766a0f5
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 @@ -2189,4 +2189,14 @@ Based on:
### Generated
- [python v1.1.140] .
### Releases
- [PyPI v1.1.140] https://pypi.org/project/openrouter/1.1.140 - .
- [PyPI v1.1.140] https://pypi.org/project/openrouter/1.1.140 - .

## 2026-09-14 16:52:49
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.141] .
### Releases
- [PyPI v1.1.141] https://pypi.org/project/openrouter/1.1.141 - .
4 changes: 2 additions & 2 deletions docs/sdks/scim/README.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: "Scim"
description: "SCIM endpoints"
description: "Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning."
---

## Overview

SCIM endpoints
Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning.

### Available Operations

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.140"
version = "1.1.141"
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.140"
__version__: str = "1.1.141"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.140 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.141 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
2 changes: 1 addition & 1 deletion src/openrouter/scim.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class Scim(BaseSDK):
r"""SCIM endpoints"""
r"""Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning."""

def list_mappings(
self,
Expand Down
2 changes: 1 addition & 1 deletion src/openrouter/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class OpenRouter(BaseSDK):
r"""OpenAI-compatible Responses API endpoints"""
beta: "Beta"
scim: "Scim"
r"""SCIM endpoints"""
r"""Management endpoints for SCIM group-to-workspace mappings, authenticated with a management key. These are not the SCIM 2.0 connector endpoints for your identity provider. In your identity provider, enter the SCIM endpoint URL shown when you enable provisioning under Settings > Members > SCIM Mappings. See https://openrouter.ai/docs/guides/features/scim-mappings#set-up-provisioning."""
video_generation: "VideoGeneration"
r"""Video Generation endpoints"""
workspaces: "Workspaces"
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