Skip to content
Merged
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
42 changes: 42 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29961,6 +29961,9 @@ components:
image_urls: true
max_completion_tokens: 16384
max_prompt_tokens: null
prompt_caching:
cache_control: false
prompt_cache_key: false
quantization: 'bf16'
reasoning:
return_mechanism: 'reasoning'
Expand Down Expand Up @@ -30226,6 +30229,24 @@ components:
- 'prompt'
- 'completion'
type: 'object'
PrivateEndpointPromptCaching:
description: 'Prompt-caching controls for an OpenAI-compatible private endpoint. Accepted fields default on after validation; explicit owner settings override the defaults.'
example:
cache_control: false
prompt_cache_key: false
properties:
cache_control:
description: 'Forward top-level, message, and tool cache_control markers. Defaults on after endpoint validation accepts these fields; otherwise off. Set false to opt out, or true to declare support explicitly.'
example: false
type: 'boolean'
prompt_cache_key:
description: 'Send an OpenRouter-derived, customer-isolated prompt_cache_key, not the caller-supplied key. Defaults on after endpoint validation accepts the field; otherwise off. Set false to opt out, or true to declare support explicitly. HIPAA and unknown workspace posture withhold OpenRouter caching directives and the derived key; this does not control upstream retention.'
example: false
type: 'boolean'
required:
- 'cache_control'
- 'prompt_cache_key'
type: 'object'
PrivateEndpointQuantization:
description: 'Weight precision the deployment runs at; `unknown` when not stated.'
enum:
Expand Down Expand Up @@ -30279,6 +30300,9 @@ components:
image_urls: true
max_completion_tokens: 16384
max_prompt_tokens: null
prompt_caching:
cache_control: false
prompt_cache_key: false
quantization: 'bf16'
reasoning:
return_mechanism: 'reasoning'
Expand Down Expand Up @@ -30394,6 +30418,8 @@ components:
type:
- 'integer'
- 'null'
prompt_caching:
$ref: '#/components/schemas/PrivateEndpointPromptCaching'
quantization:
$ref: '#/components/schemas/PrivateEndpointQuantization'
reasoning:
Expand Down Expand Up @@ -37361,6 +37387,20 @@ components:
required:
- 'is_filtered_model_catalog_enabled'
type: 'object'
UpdatePrivateEndpointPromptCaching:
description: 'Change only the named prompt-caching flags; omitted flags keep their stored value.'
example:
cache_control: true
properties:
cache_control:
description: 'Forward top-level, message, and tool cache_control markers. Defaults on after endpoint validation accepts these fields; otherwise off. Set false to opt out, or true to declare support explicitly.'
example: false
type: 'boolean'
prompt_cache_key:
description: 'Send an OpenRouter-derived, customer-isolated prompt_cache_key, not the caller-supplied key. Defaults on after endpoint validation accepts the field; otherwise off. Set false to opt out, or true to declare support explicitly. HIPAA and unknown workspace posture withhold OpenRouter caching directives and the derived key; this does not control upstream retention.'
example: false
type: 'boolean'
type: 'object'
UpdatePrivateEndpointRequest:
description: 'Only the fields present change. `base_url` and `upstream_model_id` are accepted on a draft only; `declared_zdr` and `declared_region` on drafts and active endpoints; `pricing` and `declared_parameters` replace their value; `settings` is itself a partial update where `null` clears a limit or restores the provider default.'
example:
Expand Down Expand Up @@ -37516,6 +37556,8 @@ components:
type:
- 'integer'
- 'null'
prompt_caching:
$ref: '#/components/schemas/UpdatePrivateEndpointPromptCaching'
quantization:
$ref: '#/components/schemas/PrivateEndpointQuantization'
reasoning:
Expand Down
Loading