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
20 changes: 10 additions & 10 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: f611bdab224d0286fbaa5c8d9ee788d3
docChecksum: 35f9eb4e0a148b569e1f379feaa02ee6
docVersion: 1.0.0
speakeasyVersion: 1.803.2
generationVersion: 2.950.13
releaseVersion: 1.3.167
configChecksum: 6f4174e9744dd1a79a9169c84bf46f7f
releaseVersion: 1.3.168
configChecksum: 592bef8f365f105df5b463a9f4256348
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 13e378c9-1e4e-4933-8b6f-740d4d09179e
pristine_commit_hash: 751a04fd6a50f7216cae4e29e6d9ff261f5abc57
pristine_tree_hash: 050ec9f9aacd7be4dbd8f55ec4abebb186f92339
generation_id: 39ab7c7c-7b9b-4089-b762-a98c6ae0e6e0
pristine_commit_hash: 0d6e1bab971b152935b1111d437dcda5e640a89c
pristine_tree_hash: b4183bb0750f923eb4a0ec7ce3ee24238b16e393
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -11620,8 +11620,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:1203dbc2c60a8c1ba4296f4619f203ed2de0ab7c
pristine_git_object: 47de851775601f74d2bccf94a92a722486a32121
last_write_checksum: sha1:cd59c06a8a0fe464eb0d8e3e6b6092307758de61
pristine_git_object: 7c65a07cefe1a4a3e3694bd79aa6e667f7becf4e
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -11648,8 +11648,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:d30bd7e48b70ac8fad34b1b243b17e93585c18d6
pristine_git_object: bb87867809391815626034883cd8f37e869e46e7
last_write_checksum: sha1:630e9bd9bb8dde4321c6bc4916d5559d4d2e9ebb
pristine_git_object: 53482733104881bfd573f859416dc6dd2cc35d05
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:80cc0f39649445431cc2247ed0e0765438467766
Expand Down
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.167
version: 1.3.168
additionalDependencies:
dev:
pytest: '>=8.3'
Expand Down
16 changes: 16 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43303,6 +43303,22 @@ paths:
- $ref: "#/components/parameters/AppDisplayName"
- $ref: "#/components/parameters/AppCategories"
/credits/purchases:
get:
operationId: 'getCreditPurchasesSetupGuide'
responses:
'200':
content:
text/markdown:
schema:
type: 'string'
description: 'Markdown document, readable without a key.'
security: []
summary: 'Agent setup guide, served at the purchases collection'
tags:
- 'Credits'
x-fern-ignore: true
x-hidden: true
x-speakeasy-ignore: true
post:
description: 'Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential: USDC on Tempo, or a card when one is offered. The first call answers `402` with one `WWW-Authenticate: Payment ...` challenge per payment option; pay one of them and retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast or the card was charged, and the payment is still being confirmed, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.'
operationId: 'createCreditsPurchases'
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:16d7ed4db920431d905f1a12e945b8f866f3f63622ee49e5fe7981d36b6bcb13
sourceBlobDigest: sha256:29d1d4a3143d0511f39920ff3e07c19c3fde928a7cbbefe29183066f0bb5390e
sourceRevisionDigest: sha256:e395c41e4590435ee6f39bca462e2b74134fb60a9bc5d52f9c44d7cfa26b014f
sourceBlobDigest: sha256:231d62118d02c387ce1192d5bf2478a9bbdd642a2316afdf4b7d6a8b56414b7f
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:16d7ed4db920431d905f1a12e945b8f866f3f63622ee49e5fe7981d36b6bcb13
sourceBlobDigest: sha256:29d1d4a3143d0511f39920ff3e07c19c3fde928a7cbbefe29183066f0bb5390e
sourceRevisionDigest: sha256:e395c41e4590435ee6f39bca462e2b74134fb60a9bc5d52f9c44d7cfa26b014f
sourceBlobDigest: sha256:231d62118d02c387ce1192d5bf2478a9bbdd642a2316afdf4b7d6a8b56414b7f
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:6ca132ff16bd92b74b90eec43b2d75d0ce91994ff2c62ae539ba207586b35622
codeSamplesRevisionDigest: sha256:5e2101072e7ccbf40318f61d321b775cef9a935d75acf44afd9fe5a1047e6c94
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 @@ -4439,4 +4439,14 @@ Based on:
### Generated
- [python v1.3.167] .
### Releases
- [PyPI v1.3.167] https://pypi.org/project/openrouter/1.3.167 - .
- [PyPI v1.3.167] https://pypi.org/project/openrouter/1.3.167 - .

## 2026-11-12 09:01:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.803.2 (2.950.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.168] .
### Releases
- [PyPI v1.3.168] https://pypi.org/project/openrouter/1.3.168 - .
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.167"
version = "1.3.168"
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.167"
__version__: str = "1.3.168"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.950.13"
__user_agent__: str = "speakeasy-sdk/python 1.3.167 2.950.13 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.3.168 2.950.13 1.0.0 openrouter"

try:
if __package__ is not None:
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