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
8 changes: 4 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b6cd71c-ea04-44da-af45-e43968b5928d
management:
docChecksum: d991e451fa3b40458d9a8e2e16068801
docChecksum: f377d4ed11037a871b8c253c1d75f132
docVersion: 1.0.0
speakeasyVersion: 1.653.0
speakeasyVersion: 1.653.1
generationVersion: 2.748.0
releaseVersion: 0.1.8
configChecksum: c8eca5e6a16c0adf24b477cd8360e674
releaseVersion: 0.1.9
configChecksum: 7a9a57baedc1855f3964d13bf5247b93
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
typescript:
version: 0.1.8
version: 0.1.9
acceptHeaderEnum: false
additionalDependencies:
dependencies: {}
Expand Down
39 changes: 39 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7058,6 +7058,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7096,6 +7102,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: List of API keys
required:
- data
Expand All @@ -7119,6 +7126,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
'401':
description: Unauthorized - Missing or invalid authentication
content:
Expand Down Expand Up @@ -7173,13 +7181,20 @@ paths:
type: boolean
description: Whether to include BYOK usage in the limit
example: true
expires_at:
type: string
nullable: true
format: date-time
description: Optional ISO 8601 timestamp with timezone when the API key should expire
example: '2027-12-31T23:59:59Z'
required:
- name
example:
name: My New API Key
limit: 50
limit_reset: monthly
include_byok_in_limit: true
expires_at: '2027-12-31T23:59:59Z'
required: true
responses:
'201':
Expand Down Expand Up @@ -7268,6 +7283,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7306,6 +7327,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The created API key information
key:
type: string
Expand Down Expand Up @@ -7334,6 +7356,7 @@ paths:
byok_usage_monthly: 0
created_at: '2025-08-24T10:30:00Z'
updated_at: null
expires_at: '2027-12-31T23:59:59Z'
key: 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
'400':
description: Bad Request - Invalid request parameters
Expand Down Expand Up @@ -7503,6 +7526,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7541,6 +7570,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The updated API key information
required:
- data
Expand All @@ -7564,6 +7594,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T16:00:00Z'
expires_at: null
'400':
description: Bad Request - Invalid request parameters
content:
Expand Down Expand Up @@ -7753,6 +7784,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7791,6 +7828,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The API key information
required:
- data
Expand All @@ -7814,6 +7852,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
'401':
description: Unauthorized - Missing or invalid authentication
content:
Expand Down
39 changes: 39 additions & 0 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7065,6 +7065,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7103,6 +7109,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: List of API keys
required:
- data
Expand All @@ -7126,6 +7133,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
'401':
description: Unauthorized - Missing or invalid authentication
content:
Expand Down Expand Up @@ -7180,13 +7188,20 @@ paths:
type: boolean
description: Whether to include BYOK usage in the limit
example: true
expires_at:
type: string
nullable: true
format: date-time
description: Optional ISO 8601 timestamp with timezone when the API key should expire
example: '2027-12-31T23:59:59Z'
required:
- name
example:
name: My New API Key
limit: 50
limit_reset: monthly
include_byok_in_limit: true
expires_at: '2027-12-31T23:59:59Z'
required: true
responses:
'201':
Expand Down Expand Up @@ -7275,6 +7290,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7313,6 +7334,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The created API key information
key:
type: string
Expand Down Expand Up @@ -7341,6 +7363,7 @@ paths:
byok_usage_monthly: 0
created_at: '2025-08-24T10:30:00Z'
updated_at: null
expires_at: '2027-12-31T23:59:59Z'
key: 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
'400':
description: Bad Request - Invalid request parameters
Expand Down Expand Up @@ -7510,6 +7533,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7548,6 +7577,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The updated API key information
required:
- data
Expand All @@ -7571,6 +7601,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T16:00:00Z'
expires_at: null
'400':
description: Bad Request - Invalid request parameters
content:
Expand Down Expand Up @@ -7760,6 +7791,12 @@ paths:
nullable: true
description: ISO 8601 timestamp of when the API key was last updated
example: '2025-08-24T15:45:00Z'
expires_at:
type: string
nullable: true
format: date-time
description: ISO 8601 UTC timestamp when the API key expires, or null if no expiration
example: '2027-12-31T23:59:59Z'
required:
- hash
- name
Expand Down Expand Up @@ -7798,6 +7835,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
description: The API key information
required:
- data
Expand All @@ -7821,6 +7859,7 @@ paths:
byok_usage_monthly: 17.38
created_at: '2025-08-24T10:30:00Z'
updated_at: '2025-08-24T15:45:00Z'
expires_at: '2027-12-31T23:59:59Z'
'401':
description: Unauthorized - Missing or invalid authentication
content:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.653.0
speakeasyVersion: 1.653.1
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:684c9a95109635b087cc5ce05ce1dd1b63e55c85612ee25560c99cc85a6a1215
sourceBlobDigest: sha256:988834ac43d414bf263bc54e3474c11047540738ef32056269620d834f7ffac7
sourceRevisionDigest: sha256:505db4e808f899250c7fa8a9021fef1356f2e50b85cdd1bb0c9c8fb0c18ee70a
sourceBlobDigest: sha256:e9dacfcb19b3a3b855457d17b2fd129d604190b556d6510d103bcacd1da7010c
tags:
- latest
- staging
Expand All @@ -12,10 +12,10 @@ targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:684c9a95109635b087cc5ce05ce1dd1b63e55c85612ee25560c99cc85a6a1215
sourceBlobDigest: sha256:988834ac43d414bf263bc54e3474c11047540738ef32056269620d834f7ffac7
sourceRevisionDigest: sha256:505db4e808f899250c7fa8a9021fef1356f2e50b85cdd1bb0c9c8fb0c18ee70a
sourceBlobDigest: sha256:e9dacfcb19b3a3b855457d17b2fd129d604190b556d6510d103bcacd1da7010c
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:eec8ccd940cfc9e5072acaaee9380b17a8d7e35a75adf7da46a9727156f439c8
codeSamplesRevisionDigest: sha256:a742a45e54f5e7d04f4128327c7558221fc95b7e012710a526ed8ec76b45f5ef
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading
Loading