Commits included in this export:

- 45687f423707f5838461585c568a024a19eb2f06
  - 3103d3ca68b6e42ccdb6136588ec2b6edc8dcab0
  - fd9f991606027cd86116317c71f8eb7b4e2aa3eb
  - 0f312019161edd76c1e5923d142c788d22f096d5
  - 5dbab2094bc744db4a90b3097520d897e5d0d634
  - 4c47d1af1735db18a1c1a7f463e801c7f71ad4e5

GitOrigin-RevId: 45687f423707f5838461585c568a024a19eb2f06
This commit is contained in:
OpenRouter Team
2026-02-20 19:10:44 +00:00
parent b2098ff28e
commit 9bd5d826d8
45 changed files with 755 additions and 332 deletions
+88 -15
View File
@@ -3593,6 +3593,7 @@ components:
- Inceptron
- InferenceNet
- Infermatic
- Io Net
- Inflection
- Liquid
- Mara
@@ -4097,6 +4098,23 @@ components:
maxLength: 128
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 128 characters.
trace:
type: object
properties:
trace_id:
type: string
trace_name:
type: string
span_name:
type: string
generation_name:
type: string
parent_span_id:
type: string
additionalProperties:
nullable: true
description: >-
Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
description: Request schema for Responses endpoint
example:
model: anthropic/claude-4.5-sonnet-20250929
@@ -7209,6 +7227,23 @@ components:
maxLength: 128
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 128 characters.
trace:
type: object
properties:
trace_id:
type: string
trace_name:
type: string
span_name:
type: string
generation_name:
type: string
parent_span_id:
type: string
additionalProperties:
nullable: true
description: >-
Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
models:
type: array
items:
@@ -7517,7 +7552,6 @@ components:
required:
- prompt
- completion
additionalProperties: false
description: Pricing information for the model
example:
prompt: '0.00003'
@@ -8031,7 +8065,6 @@ components:
required:
- prompt
- completion
additionalProperties: false
provider_name:
$ref: '#/components/schemas/ProviderName'
tag:
@@ -8350,6 +8383,7 @@ components:
- Inceptron
- InferenceNet
- Infermatic
- Io Net
- Inflection
- Liquid
- Mara
@@ -8536,6 +8570,20 @@ components:
type: string
maxLength: 128
__schema19:
type: object
properties:
trace_id:
type: string
trace_name:
type: string
span_name:
type: string
generation_name:
type: string
parent_span_id:
type: string
additionalProperties: {}
__schema20:
oneOf:
- type: object
properties:
@@ -8545,9 +8593,9 @@ components:
summary:
type: string
id:
$ref: '#/components/schemas/__schema20'
format:
$ref: '#/components/schemas/__schema21'
format:
$ref: '#/components/schemas/__schema22'
index:
$ref: '#/components/schemas/__schema11'
required:
@@ -8561,9 +8609,9 @@ components:
data:
type: string
id:
$ref: '#/components/schemas/__schema20'
format:
$ref: '#/components/schemas/__schema21'
format:
$ref: '#/components/schemas/__schema22'
index:
$ref: '#/components/schemas/__schema11'
required:
@@ -8583,19 +8631,19 @@ components:
- type: string
- type: 'null'
id:
$ref: '#/components/schemas/__schema20'
format:
$ref: '#/components/schemas/__schema21'
format:
$ref: '#/components/schemas/__schema22'
index:
$ref: '#/components/schemas/__schema11'
required:
- type
type: object
__schema20:
__schema21:
anyOf:
- type: string
- type: 'null'
__schema21:
__schema22:
anyOf:
- type: string
enum:
@@ -8607,7 +8655,7 @@ components:
- google-gemini-v1
x-speakeasy-unknown-values: allow
- type: 'null'
__schema25:
__schema26:
anyOf:
- $ref: '#/components/schemas/ChatCompletionFinishReason'
- type: 'null'
@@ -8986,7 +9034,7 @@ components:
reasoning_details:
type: array
items:
$ref: '#/components/schemas/__schema19'
$ref: '#/components/schemas/__schema20'
images:
type: array
items:
@@ -9062,6 +9110,8 @@ components:
- type: 'null'
required:
- name
cache_control:
$ref: '#/components/schemas/ChatMessageContentItemCacheControl'
required:
- type
- function
@@ -9118,6 +9168,10 @@ components:
description: >-
A unique identifier for grouping related requests (e.g., a conversation or agent workflow) for observability. If provided in both the request body and the x-session-id header, the body value takes precedence. Maximum of 128 characters.
$ref: '#/components/schemas/__schema18'
trace:
description: >-
Metadata for observability and tracing. Known keys (trace_id, trace_name, span_name, generation_name, parent_span_id) have special handling. Additional keys are passed through as custom metadata to configured broadcast destinations.
$ref: '#/components/schemas/__schema19'
messages:
minItems: 1
type: array
@@ -9249,6 +9303,10 @@ components:
minimum: 0
maximum: 2
- type: 'null'
parallel_tool_calls:
anyOf:
- type: boolean
- type: 'null'
tool_choice:
$ref: '#/components/schemas/ToolChoiceOption'
tools:
@@ -9295,7 +9353,7 @@ components:
type: object
properties:
finish_reason:
$ref: '#/components/schemas/__schema25'
$ref: '#/components/schemas/__schema26'
index:
type: number
message:
@@ -9353,14 +9411,14 @@ components:
reasoning_details:
type: array
items:
$ref: '#/components/schemas/__schema19'
$ref: '#/components/schemas/__schema20'
ChatStreamingChoice:
type: object
properties:
delta:
$ref: '#/components/schemas/ChatStreamingMessageChunk'
finish_reason:
$ref: '#/components/schemas/__schema25'
$ref: '#/components/schemas/__schema26'
index:
type: number
logprobs:
@@ -10587,6 +10645,7 @@ paths:
- Inceptron
- InferenceNet
- Infermatic
- Io Net
- Inflection
- Liquid
- Mara
@@ -13775,6 +13834,20 @@ paths:
nullable: true
format: date-time
description: Optional expiration time for the API key to be created
key_label:
type: string
maxLength: 100
description: Optional custom label for the API key. Defaults to the app name if not provided.
example: My Custom Key
usage_limit_type:
type: string
enum:
- daily
- weekly
- monthly
description: Optional credit limit reset interval. When set, the credit limit resets on this interval.
example: monthly
x-speakeasy-unknown-values: allow
required:
- callback_url
example: