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
34 changes: 14 additions & 20 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: b8c8a75d05ef165f66db34adf0d2c51d
docChecksum: 0176c5e9eee82bc6fd9993fd6c36d51c
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.201
configChecksum: 1f2949c19cbea84b7386403957f03d8c
releaseVersion: 1.3.202
configChecksum: a7759b3f1d0bcd8b0899b28bb43fcfd0
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: c7a4cd8a-0a29-4a0f-954f-c69001f99e9a
pristine_commit_hash: cf09882af9ee31c2791d8bf353a8f1ebf426e591
pristine_tree_hash: 2b61dc5db96d20655d6d41c8aa0ae0c259164b25
generation_id: d44a7d97-d3a6-47d1-a240-38566a9fa295
pristine_commit_hash: 2b7d4810eb38a487e0b4a3c87b4f8a2c20a9bcf5
pristine_tree_hash: 564a67ca766b9e4034399fbb6123b2c14beeead4
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -11792,8 +11792,8 @@ trackedFiles:
pristine_git_object: 65eb984d913d1196f223e1c2f8004891d1a53058
docs/sdks/scim/README.mdx:
id: fd6d8a91a053
last_write_checksum: sha1:e6b58a1fabf91f5250a84f696203e2756a66a9ea
pristine_git_object: 6b829448efce633995225efd4cb68ab138381afb
last_write_checksum: sha1:17aed0f7075e1d49ac535e4f5daff614cded3185
pristine_git_object: ce476289a048bc348f9871361ffe21f760b74458
docs/sdks/stt/README.mdx:
id: 190b0dc9a5d1
last_write_checksum: sha1:a72a850312d8c2f8d6b00c588d35b48af7978f15
Expand Down Expand Up @@ -11828,8 +11828,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:576cb4920986226e3cfbd4c6ab7967cde4f70c53
pristine_git_object: 92812803a2ed544137b749cfd92056867facb7e3
last_write_checksum: sha1:7868ea8d29d3919ab50e0d6343ea480c1d243499
pristine_git_object: c0873300becac8f6ca47327ca3518b7ef3e238bf
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -11856,8 +11856,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:bec638bd53d093932603eb1da5477e152b36beb9
pristine_git_object: 162c544f558433deb5f9496be513ef19608a9da1
last_write_checksum: sha1:611b0816a6629e2a9aca7b97bd5ed286f5f309d5
pristine_git_object: 8714b594f53158478617c69de3a99f2478ba820f
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand Down Expand Up @@ -16712,8 +16712,8 @@ trackedFiles:
pristine_git_object: 6583a0b59f3ede8c72897bb922c1f85de280e8e0
src/openrouter/scim.py:
id: 351afd6b616e
last_write_checksum: sha1:82ff1258584f0d018e5d0ccf75387c2464d5de1b
pristine_git_object: 3ad8fa3fcac805a3ef5b0b63cf21386a03f2488a
last_write_checksum: sha1:ac8e98f5a61b1f801958f0f96248dfdde620f009
pristine_git_object: 7cb6b342ac2c59ab51605ad02664b4f2169b9b38
src/openrouter/sdk.py:
id: ee9846c4c9c5
last_write_checksum: sha1:e2ac234f50cf2fa57417f0be1c9222dc8cfcf947
Expand Down Expand Up @@ -21959,9 +21959,3 @@ examples:
"503":
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.workspaces.list()`: `response.data[]` **Changed**
* `open_router.workspaces.create()`: `response.data` **Changed**
* `open_router.workspaces.get()`: `response.data` **Changed**
* `open_router.workspaces.update()`: `response.data` **Changed**
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.201
version: 1.3.202
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
27 changes: 12 additions & 15 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59619,8 +59619,7 @@ paths:
- $ref: "#/components/parameters/AppCategories"
/scim/group-mappings/{id}:
delete:
deprecated: true
description: 'Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.'
description: 'Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'deleteScimGroupMapping'
parameters:
- in: 'path'
Expand Down Expand Up @@ -59649,7 +59648,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/DeleteScimGroupMappingResponse'
description: 'SCIM group mapping deleted. Not returned: this operation is disabled. The schema is kept for SDK compatibility.'
description: 'SCIM group mapping deleted'
'400':
content:
application/json:
Expand All @@ -59676,10 +59675,10 @@ paths:
example:
error:
code: 403
message: 'Management keys cannot change SCIM group mappings or start syncs. Use the organization settings in the dashboard.'
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - SCIM writes are dashboard-only'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -59766,8 +59765,7 @@ paths:
- 'SCIM'
x-speakeasy-name-override: 'read'
patch:
deprecated: true
description: 'Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.'
description: 'Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'updateScimGroupMapping'
parameters:
- in: 'path'
Expand All @@ -59788,7 +59786,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/UpdateScimGroupMappingResponse'
description: 'SCIM group mapping updated. Not returned: this operation is disabled. The schema is kept for SDK compatibility.'
description: 'SCIM group mapping updated'
'400':
content:
application/json:
Expand All @@ -59815,10 +59813,10 @@ paths:
example:
error:
code: 403
message: 'Management keys cannot change SCIM group mappings or start syncs. Use the organization settings in the dashboard.'
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - SCIM writes are dashboard-only'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
Expand Down Expand Up @@ -59960,16 +59958,15 @@ paths:
- $ref: "#/components/parameters/AppCategories"
/scim/sync-jobs:
post:
deprecated: true
description: 'Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.'
description: 'Start a SCIM directory sync. [Management key](/docs/guides/overview/auth/management-api-keys) required.'
operationId: 'createScimSyncJob'
responses:
'202':
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScimSyncJobResponse'
description: 'SCIM directory sync job queued. Not returned: this operation is disabled. The schema is kept for SDK compatibility.'
description: 'SCIM directory sync job queued'
headers:
Location:
description: 'Poll URL for the created sync job.'
Expand All @@ -59993,10 +59990,10 @@ paths:
example:
error:
code: 403
message: 'Management keys cannot change SCIM group mappings or start syncs. Use the organization settings in the dashboard.'
message: 'Only management keys can perform this operation'
schema:
$ref: '#/components/schemas/ForbiddenResponse'
description: 'Forbidden - SCIM writes are dashboard-only'
description: 'Forbidden - Authentication successful but insufficient permissions'
'404':
content:
application/json:
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:5a22507656dbea6f0a9d26cf5f47e6481b036e2cdd1bb07e2b7faaed44ef63e6
sourceBlobDigest: sha256:9639101991c3a5379daa7473f3e0b28c36e1844e591c5e2f4341e8c08c2f21cb
sourceRevisionDigest: sha256:45f77a990c2b72ec856f3013d502dde381724a29aa7d289852d8f35bc46d244d
sourceBlobDigest: sha256:3b27131c0feb4c1ab22c2b629963f2ff07f5a41a0019d16c2b268b50d568f9f1
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:5a22507656dbea6f0a9d26cf5f47e6481b036e2cdd1bb07e2b7faaed44ef63e6
sourceBlobDigest: sha256:9639101991c3a5379daa7473f3e0b28c36e1844e591c5e2f4341e8c08c2f21cb
sourceRevisionDigest: sha256:45f77a990c2b72ec856f3013d502dde381724a29aa7d289852d8f35bc46d244d
sourceBlobDigest: sha256:3b27131c0feb4c1ab22c2b629963f2ff07f5a41a0019d16c2b268b50d568f9f1
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:887616a04efb67899de4513809245d0af3c3c2c634c4b559e2ac272052ee8f98
codeSamplesRevisionDigest: sha256:7f5caab8a67e50034c55c3367964e047df30fc85c6c495d3db39fcb8d874eda8
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 @@ -4779,4 +4779,14 @@ Based on:
### Generated
- [python v1.3.201] .
### Releases
- [PyPI v1.3.201] https://pypi.org/project/openrouter/1.3.201 - .
- [PyPI v1.3.201] https://pypi.org/project/openrouter/1.3.201 - .

## 2026-11-21 00:28:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.202] .
### Releases
- [PyPI v1.3.202] https://pypi.org/project/openrouter/1.3.202 - .
24 changes: 9 additions & 15 deletions docs/sdks/scim/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Management endpoints for SCIM group-to-workspace mappings, authenticated with a

* [list_mappings](#list_mappings) - List SCIM group mappings
* [~~create~~](#create) - Create a SCIM group mapping ⚠️ **Deprecated**
* [~~delete~~](#delete) - Delete a SCIM group mapping ⚠️ **Deprecated**
* [delete](#delete) - Delete a SCIM group mapping
* [read](#read) - Get a SCIM group mapping
* [~~update~~](#update) - Update a SCIM group mapping ⚠️ **Deprecated**
* [update](#update) - Update a SCIM group mapping
* [list_groups](#list_groups) - List SCIM groups
* [~~create_sync_job~~](#create_sync_job) - Start a SCIM directory sync ⚠️ **Deprecated**
* [create_sync_job](#create_sync_job) - Start a SCIM directory sync
* [get_sync_job](#get_sync_job) - Get SCIM directory sync status

## list_mappings
Expand Down Expand Up @@ -125,11 +125,9 @@ with OpenRouter(
| errors.InternalServerResponseError | 500 | application/json |
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |

## ~~delete~~
## delete

Delete a SCIM group-to-workspace mapping. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.

> ⚠️ **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
Delete a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.

### Example Usage

Expand Down Expand Up @@ -227,11 +225,9 @@ with OpenRouter(
| errors.InternalServerResponseError | 500 | application/json |
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |

## ~~update~~

Update a SCIM group mapping role. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
## update

> ⚠️ **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
Update a SCIM group mapping role. [Management key](/docs/guides/overview/auth/management-api-keys) required.

### Example Usage

Expand Down Expand Up @@ -334,11 +330,9 @@ with OpenRouter(
| errors.InternalServerResponseError | 500 | application/json |
| errors.OpenRouterDefaultError | 4XX, 5XX | \*/\* |

## ~~create_sync_job~~

Start a SCIM directory sync. Disabled: no API key can perform this write, including management keys. Use the organization settings in the dashboard, which require step-up verification. A valid management key for an organization with SCIM access receives 403; an invalid key still receives 401 and an organization without SCIM access receives 404.
## create_sync_job

> ⚠️ **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
Start a SCIM directory sync. [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.3.201"
version = "1.3.202"
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.3.201"
__version__: str = "1.3.202"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.950.13"
__user_agent__: str = "speakeasy-sdk/python 1.3.201 2.950.13 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.202 2.950.13 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
Loading
Loading