diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index e569e77d..0fc92f2b 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -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: @@ -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: @@ -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 @@ -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 @@ -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: @@ -3528,6 +3594,12 @@ components: type: 'array' id: type: 'string' + input_transformations: + items: + $ref: '#/components/schemas/AnthropicInputTransformation' + type: + - 'array' + - 'null' model: type: 'string' role: @@ -12933,6 +13005,8 @@ components: content: 'Hello, how are you?' role: 'user' properties: + clear_at: + $ref: '#/components/schemas/AnthropicSystemClearAt' content: anyOf: - type: 'string' @@ -13098,6 +13172,8 @@ components: - $ref: '#/components/schemas/MessagesShellToolResultBlock' - $ref: '#/components/schemas/MessagesBashToolResultBlock' type: 'array' + output_config: + $ref: '#/components/schemas/AnthropicMessageOutputConfig' role: enum: - 'user' @@ -13375,6 +13451,8 @@ components: thinking: oneOf: - properties: + block_binding: + $ref: '#/components/schemas/AnthropicThinkingBlockBinding' budget_tokens: type: 'integer' display: @@ -13396,6 +13474,8 @@ components: - 'type' type: 'object' - properties: + block_binding: + $ref: '#/components/schemas/AnthropicThinkingBlockBinding' display: $ref: '#/components/schemas/AnthropicThinkingDisplay' type: @@ -13833,6 +13913,12 @@ components: type: 'array' id: type: 'string' + input_transformations: + items: + $ref: '#/components/schemas/AnthropicInputTransformation' + type: + - 'array' + - 'null' model: type: 'string' provider: