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
86 changes: 86 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,27 @@ components:
- 'type'
- 'value'
type: 'object'
AnthropicInputTransformation:
additionalProperties: {}
description: 'A server-side transformation Anthropic applied to the request input'
example:
path: 'messages.1.content.0'
reason: 'prefix_binding_mismatch'
type: 'thinking_dropped'
properties:
path:
type:
- 'string'
- 'null'
reason:
type:
- 'string'
- 'null'
type:
type: 'string'
required:
- 'type'
type: 'object'
AnthropicIterationCacheCreation:
default: null
example:
Expand All @@ -1545,6 +1566,16 @@ components:
type:
- 'object'
- 'null'
AnthropicMessageOutputConfig:
additionalProperties: false
example:
effort: 'low'
properties:
effort:
$ref: '#/components/schemas/AnthropicOutputEffort'
type:
- 'object'
- 'null'
AnthropicMessagesErrorResponse:
description: 'Error response from the Anthropic Messages API'
example:
Expand Down Expand Up @@ -1618,6 +1649,18 @@ components:
input_tokens: 100
output_tokens: 50
type: 'message'
AnthropicOutputEffort:
enum:
- 'low'
- 'medium'
- 'high'
- 'xhigh'
- 'max'
- null
example: 'high'
type:
- 'string'
- 'null'
AnthropicOutputTokensDetails:
example:
thinking_tokens: 0
Expand Down Expand Up @@ -1774,6 +1817,14 @@ components:
type:
- 'string'
- 'null'
AnthropicSystemClearAt:
enum:
- 'next_user_message'
- null
example: 'next_user_message'
type:
- 'string'
- 'null'
AnthropicTextBlock:
example:
citations: null
Expand Down Expand Up @@ -2046,10 +2097,25 @@ components:
- 'thinking'
- 'signature'
type: 'object'
AnthropicThinkingBlockBinding:
additionalProperties: false
example:
prefix_mismatch_behavior: 'drop_block'
properties:
prefix_mismatch_behavior:
enum:
- 'drop_block'
type: 'string'
required:
- 'prefix_mismatch_behavior'
type:
- 'object'
- 'null'
AnthropicThinkingDisplay:
enum:
- 'summarized'
- 'omitted'
- 'updates'
- null
example: 'summarized'
type:
Expand Down Expand Up @@ -3528,6 +3594,12 @@ components:
type: 'array'
id:
type: 'string'
input_transformations:
items:
$ref: '#/components/schemas/AnthropicInputTransformation'
type:
- 'array'
- 'null'
model:
type: 'string'
role:
Expand Down Expand Up @@ -12933,6 +13005,8 @@ components:
content: 'Hello, how are you?'
role: 'user'
properties:
clear_at:
$ref: '#/components/schemas/AnthropicSystemClearAt'
content:
anyOf:
- type: 'string'
Expand Down Expand Up @@ -13098,6 +13172,8 @@ components:
- $ref: '#/components/schemas/MessagesShellToolResultBlock'
- $ref: '#/components/schemas/MessagesBashToolResultBlock'
type: 'array'
output_config:
$ref: '#/components/schemas/AnthropicMessageOutputConfig'
role:
enum:
- 'user'
Expand Down Expand Up @@ -13375,6 +13451,8 @@ components:
thinking:
oneOf:
- properties:
block_binding:
$ref: '#/components/schemas/AnthropicThinkingBlockBinding'
budget_tokens:
type: 'integer'
display:
Expand All @@ -13396,6 +13474,8 @@ components:
- 'type'
type: 'object'
- properties:
block_binding:
$ref: '#/components/schemas/AnthropicThinkingBlockBinding'
display:
$ref: '#/components/schemas/AnthropicThinkingDisplay'
type:
Expand Down Expand Up @@ -13833,6 +13913,12 @@ components:
type: 'array'
id:
type: 'string'
input_transformations:
items:
$ref: '#/components/schemas/AnthropicInputTransformation'
type:
- 'array'
- 'null'
model:
type: 'string'
provider:
Expand Down
Loading