diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index fb3afb79..b5a96be2 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -26338,12 +26338,12 @@ components: prompt: '0.0000025' properties: cache_read: - description: 'USD per cache-read prompt token, as a decimal string. Omit it to bill cache reads at the provider pricing strategy''s default, which for most strategies is the prompt rate.' + description: 'USD per cache-read prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-read to prompt ratio, or left at the pricing strategy default when it publishes no cache-read rate. Required when there is no such endpoint and the provider bills cache reads.' example: '0.00000025' pattern: '^\d+(\.\d+)?$' type: 'string' cache_write: - description: 'USD per cache-write prompt token, as a decimal string. Omit it to bill cache writes at the provider pricing strategy''s default.' + description: 'USD per cache-write prompt token, as a decimal string. When omitted, inherited from the public endpoint of the same model and provider: scaled by its cache-write to prompt ratio, or left at the pricing strategy default when it publishes no cache-write rate. Required when there is no such endpoint and the provider bills cache writes.' example: '0.000003125' pattern: '^\d+(\.\d+)?$' type: 'string' @@ -40664,6 +40664,16 @@ paths: schema: $ref: '#/components/schemas/NotFoundResponse' description: 'Not Found - Resource does not exist' + '409': + content: + application/json: + example: + error: + code: 409 + message: 'Feedback was already submitted for this generation' + schema: + $ref: '#/components/schemas/ConflictResponse' + description: 'Conflict - Feedback was already submitted for this generation by this account. The first submission is kept.' '429': content: application/json: @@ -42353,7 +42363,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -42485,6 +42495,14 @@ paths: content: application/json: examples: + lifecycle_writes_disabled: + value: + error: + code: 403 + message: 'Intern lifecycle writes are not enabled for this account' + metadata: + reason: 'lifecycle_writes_disabled' + retryable: false no_acting_user: value: error: @@ -42503,7 +42521,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused.' + description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, lifecycle writes are not enabled for the caller, or regional access is refused.' '404': content: application/json: @@ -42516,7 +42534,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -42670,10 +42688,13 @@ paths: example: error: code: 403 - message: 'Forbidden' + message: 'Intern lifecycle writes are not enabled for this account' + metadata: + reason: 'lifecycle_writes_disabled' + retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The key owner no longer has access, or the request used a regional hostname.' + description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).' '404': content: application/json: @@ -42686,7 +42707,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -42840,7 +42861,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -42948,10 +42969,13 @@ paths: example: error: code: 403 - message: 'Forbidden' + message: 'Intern lifecycle writes are not enabled for this account' + metadata: + reason: 'lifecycle_writes_disabled' + retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The key owner no longer has access, or the request used a regional hostname.' + description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).' '404': content: application/json: @@ -42964,7 +42988,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43344,7 +43368,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43429,7 +43453,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43528,7 +43552,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43649,7 +43673,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43803,7 +43827,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -43943,7 +43967,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -44234,10 +44258,13 @@ paths: example: error: code: 403 - message: 'Forbidden' + message: 'Intern lifecycle writes are not enabled for this account' + metadata: + reason: 'lifecycle_writes_disabled' + retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The key owner no longer has access, or the request used a regional hostname.' + description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).' '404': content: application/json: @@ -44250,7 +44277,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: @@ -44386,10 +44413,13 @@ paths: example: error: code: 403 - message: 'Forbidden' + message: 'Intern lifecycle writes are not enabled for this account' + metadata: + reason: 'lifecycle_writes_disabled' + retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The key owner no longer has access, or the request used a regional hostname.' + description: 'The key owner no longer has access, the request used a regional hostname, or lifecycle writes are not enabled for the caller (`metadata.reason` is `lifecycle_writes_disabled`).' '404': content: application/json: @@ -44402,7 +44432,7 @@ paths: retryable: false schema: $ref: '#/components/schemas/InternLifecycleError' - description: 'The caller is outside the Intern API programme, the intern is hidden, or lifecycle writes are disabled.' + description: 'The caller is outside the Intern API programme, or the intern is hidden.' '408': content: application/json: