From 47e088dbd018d308e9a6b1d6163c1bdaecfe6755 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 9 Sep 2026 22:52:06 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Speechify.AgentClient.Publish.g.cs | 4 +- .../Speechify.FlowClient.Publish.g.cs | 4 +- .../Speechify.FlowClient.Rollback.g.cs | 4 +- .../Speechify.IProjectsClient.Delete.g.cs | 90 +- ...Converters.EvaluationCaseVerdictFault.g.cs | 53 + ...rs.EvaluationCaseVerdictFaultNullable.g.cs | 60 + .../Speechify.JsonSerializerContext.g.cs | 22 +- .../Speechify.JsonSerializerContextTypes.g.cs | 1200 +++++++++-------- .../Speechify.Models.BillingEntitlements.g.cs | 42 + .../Speechify.Models.ConversationStats.g.cs | 20 + ...Speechify.Models.DeleteProjectRequest.g.cs | 23 +- ...chify.Models.DeleteProjectRequestMode.g.cs | 6 +- .../Generated/Speechify.Models.ErrorCode.g.cs | 12 + ...peechify.Models.EvaluationCaseVerdict.g.cs | 28 + ...ify.Models.EvaluationCaseVerdictFault.g.cs | 59 + .../Generated/Speechify.Models.Project.g.cs | 34 + ...peechify.Models.ProjectResourceCounts.g.cs | 96 +- .../Speechify.Models.ProjectStats.g.cs | 12 +- .../Speechify.Models.ProjectTeardown.g.cs | 9 +- ...Speechify.Models.ProjectTeardownGroup.g.cs | 6 +- .../Speechify.ProjectsClient.Delete.g.cs | 90 +- src/libs/Speechify/openapi.yaml | 2 +- 22 files changed, 1211 insertions(+), 665 deletions(-) create mode 100644 src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFault.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFaultNullable.g.cs create mode 100644 src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdictFault.g.cs diff --git a/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs b/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs index b0feaf75..ab64737e 100644 --- a/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs +++ b/src/libs/Speechify/Generated/Speechify.AgentClient.Publish.g.cs @@ -599,7 +599,7 @@ partial void ProcessPublishResponseContent( h => h.Key, h => h.Value)); } - // The publish gate refused the publish (`agent_publish_gate_failed`): the configuration did not pass its behavioral and/or adversarial red-team checks. `error.details` carries the verdict (per-case, per-criterion). Correct the agent and publish again, or publish with a recorded `gate_override_reason`. + // The publish gate refused the publish, on one of two codes the caller can FIX (neither is waited out): - `agent_publish_gate_failed`: the configuration did not pass its behavioral and/or adversarial red-team checks. `error.details` carries the verdict (per-case, per-criterion). Correct the agent and publish again, or publish with a recorded `gate_override_reason`. - `agent_publish_gate_tool_unreachable`: the checks never ran because a tool the agent is attached to could not be reached. Nothing about the agent was judged, and no retry helps while the endpoint is down; `error.message` names the tool, the endpoint and the reason. Fix or detach the connector, then publish again. The one publish failure that IS waited out is the `503`. if ((int)__response.StatusCode == 422) { string? __content_422 = null; @@ -673,7 +673,7 @@ partial void ProcessPublishResponseContent( h => h.Key, h => h.Value)); } - // The publish checks could not run (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the agent was judged. Not a verdict on the configuration; retry after `Retry-After`. `error.details` lists the probes that could not run. + // The publish checks could not run (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the agent was judged. This is OURS, and the only publish failure a caller waits out: not a verdict on the configuration, retry after `Retry-After`. `error.details` lists the probes that could not run. A check that could not run because of the agent's own configuration is the `422 agent_publish_gate_tool_unreachable` instead. if ((int)__response.StatusCode == 503) { string? __content_503 = null; diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs index 579c49f0..b937f887 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.Publish.g.cs @@ -509,7 +509,7 @@ partial void ProcessPublishResponseContent( h => h.Key, h => h.Value)); } - // The behavioral-eval publish gate refused the publish (`agent_publish_gate_failed`): the agent's configured suite did not pass. `error.details` carries the verdict (per-case, per-criterion). + // The behavioral-eval publish gate refused the publish, on one of two codes the caller can FIX (neither is waited out): - `agent_publish_gate_failed`: the agent's configured suite did not pass. `error.details` carries the verdict (per-case, per-criterion). - `agent_publish_gate_tool_unreachable`: the checks never ran because a tool the agent is attached to could not be reached. Nothing was judged, and no retry helps while the endpoint is down; `error.message` names the tool, the endpoint and the reason. The one publish failure that IS waited out is the `503`. if ((int)__response.StatusCode == 422) { string? __content_422 = null; @@ -583,7 +583,7 @@ partial void ProcessPublishResponseContent( h => h.Key, h => h.Value)); } - // The publish checks could not run (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the agent was judged. Not a verdict on the configuration; retry after `Retry-After`. `error.details` lists the cases that could not run. + // The publish checks could not run (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the agent was judged. This is OURS, and the only publish failure a caller waits out: not a verdict on the configuration, retry after `Retry-After`. `error.details` lists the cases that could not run. A check that could not run because of the agent's own configuration is the `422 agent_publish_gate_tool_unreachable` instead. if ((int)__response.StatusCode == 503) { string? __content_503 = null; diff --git a/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs b/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs index 6acbbffe..16538212 100644 --- a/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs +++ b/src/libs/Speechify/Generated/Speechify.FlowClient.Rollback.g.cs @@ -472,7 +472,7 @@ partial void ProcessRollbackResponseContent( h => h.Key, h => h.Value)); } - // The behavioral-eval publish gate refused the rollback (`agent_publish_gate_failed`): the target version did not pass the agent's configured suite. `error.details` carries the verdict. + // The behavioral-eval publish gate refused the rollback, on one of two codes the caller can FIX (neither is waited out): - `agent_publish_gate_failed`: the target version did not pass the agent's configured suite. `error.details` carries the verdict. - `agent_publish_gate_tool_unreachable`: the checks never ran because a tool the agent is attached to could not be reached; `error.message` names the tool, the endpoint and the reason. The one rollback failure that IS waited out is the `503`. if ((int)__response.StatusCode == 422) { string? __content_422 = null; @@ -546,7 +546,7 @@ partial void ProcessRollbackResponseContent( h => h.Key, h => h.Value)); } - // The gate's checks could not run on the rollback target (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the version was judged. Not a verdict on it; retry after `Retry-After`. `error.details` lists the cases that could not run. + // The gate's checks could not run on the rollback target (`agent_publish_gate_unavailable`): the eval worker, the judge or the probe corpus errored, so nothing about the version was judged. This is OURS, and the only rollback failure a caller waits out: not a verdict on it, retry after `Retry-After`. `error.details` lists the cases that could not run. A check that could not run because of the agent's own configuration is the `422 agent_publish_gate_tool_unreachable` instead. if ((int)__response.StatusCode == 503) { string? __content_503 = null; diff --git a/src/libs/Speechify/Generated/Speechify.IProjectsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.IProjectsClient.Delete.g.cs index d4d02d20..f943846f 100644 --- a/src/libs/Speechify/Generated/Speechify.IProjectsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.IProjectsClient.Delete.g.cs @@ -6,10 +6,22 @@ public partial interface IProjectsClient { /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -31,7 +43,13 @@ public partial interface IProjectsClient /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -64,10 +82,22 @@ public partial interface IProjectsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -89,7 +119,13 @@ public partial interface IProjectsClient /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -122,10 +158,22 @@ public partial interface IProjectsClient global::System.Threading.CancellationToken cancellationToken = default); /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -147,7 +195,13 @@ public partial interface IProjectsClient /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -168,9 +222,9 @@ public partial interface IProjectsClient /// /// /// - /// `detach` removes the grouping row only; `purge` removes the
- /// project with its contents.
- /// Default Value: detach + /// `detach` removes the grouping row only and moves every resource
+ /// to the Default project; `purge` removes the project with its
+ /// contents. Omitted, the delete removes only an empty project. /// /// /// Required for `purge`: the project's name, exactly as returned by
diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFault.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFault.g.cs new file mode 100644 index 00000000..adf57bc1 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFault.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Speechify.JsonConverters +{ + /// + public sealed class EvaluationCaseVerdictFaultJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Speechify.EvaluationCaseVerdictFault Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Speechify.EvaluationCaseVerdictFaultExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Speechify.EvaluationCaseVerdictFault)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Speechify.EvaluationCaseVerdictFault); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Speechify.EvaluationCaseVerdictFault value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Speechify.EvaluationCaseVerdictFaultExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFaultNullable.g.cs b/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFaultNullable.g.cs new file mode 100644 index 00000000..0df02e79 --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.JsonConverters.EvaluationCaseVerdictFaultNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Speechify.JsonConverters +{ + /// + public sealed class EvaluationCaseVerdictFaultNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Speechify.EvaluationCaseVerdictFault? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Speechify.EvaluationCaseVerdictFaultExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Speechify.EvaluationCaseVerdictFault)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Speechify.EvaluationCaseVerdictFault?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Speechify.EvaluationCaseVerdictFault? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Speechify.EvaluationCaseVerdictFaultExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs index b5606cc3..2197a555 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContext.g.cs @@ -137,6 +137,7 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentFlowGetSchemaResponse200))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PublishGateResultDecision), TypeInfoPropertyName = "PublishGateResultDecision2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCaseVerdictOutcome), TypeInfoPropertyName = "EvaluationCaseVerdictOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCaseVerdictFault), TypeInfoPropertyName = "EvaluationCaseVerdictFault2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCriterionVerdictStatus), TypeInfoPropertyName = "EvaluationCriterionVerdictStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCriterionVerdict))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCaseVerdict))] @@ -513,7 +514,6 @@ namespace Speechify [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PhoneNumber))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ListPhoneNumbersResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -526,6 +526,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex Converters = new global::System.Type[] { })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TwilioImportSpec))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.TelnyxImportSpec))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.ImportPhoneNumberRequest))] @@ -788,6 +789,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.AgentPhoneNumberReferenceResourceType?), TypeInfoPropertyName = "NullableAgentPhoneNumberReferenceResourceType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.PublishGateResultDecision?), TypeInfoPropertyName = "NullablePublishGateResultDecision2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCaseVerdictOutcome?), TypeInfoPropertyName = "NullableEvaluationCaseVerdictOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCaseVerdictFault?), TypeInfoPropertyName = "NullableEvaluationCaseVerdictFault2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.EvaluationCriterionVerdictStatus?), TypeInfoPropertyName = "NullableEvaluationCriterionVerdictStatus2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.DataCollectionFieldType?), TypeInfoPropertyName = "NullableDataCollectionFieldType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Speechify.DynamicVariableType?), TypeInfoPropertyName = "NullableDynamicVariableType2")] @@ -1024,8 +1026,6 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class SourceGenerationContextChunk1 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -1038,6 +1038,8 @@ internal sealed partial class SourceGenerationContextChunk1 : global::System.Tex Converters = new global::System.Type[] { })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -1251,6 +1253,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Speechify.EvaluationCaseVerdictOutcome?) + || typeToConvert == typeof(global::Speechify.EvaluationCaseVerdictFault) + + || typeToConvert == typeof(global::Speechify.EvaluationCaseVerdictFault?) + || typeToConvert == typeof(global::Speechify.EvaluationCriterionVerdictStatus) || typeToConvert == typeof(global::Speechify.EvaluationCriterionVerdictStatus?) @@ -2038,6 +2044,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Speechify.JsonConverters.EvaluationCaseVerdictOutcomeNullableJsonConverter(); } + if (typeToConvert == typeof(global::Speechify.EvaluationCaseVerdictFault)) + { + return new global::Speechify.JsonConverters.EvaluationCaseVerdictFaultJsonConverter(); + } + + if (typeToConvert == typeof(global::Speechify.EvaluationCaseVerdictFault?)) + { + return new global::Speechify.JsonConverters.EvaluationCaseVerdictFaultNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Speechify.EvaluationCriterionVerdictStatus)) { return new global::Speechify.JsonConverters.EvaluationCriterionVerdictStatusJsonConverter(); diff --git a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs index eefcdf22..d537ed45 100644 --- a/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs +++ b/src/libs/Speechify/Generated/Speechify.JsonSerializerContextTypes.g.cs @@ -513,2395 +513,2399 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Speechify.EvaluationCriterionVerdictStatus? Type120 { get; set; } + public global::Speechify.EvaluationCaseVerdictFault? Type120 { get; set; } /// /// /// - public global::Speechify.EvaluationCriterionVerdict? Type121 { get; set; } + public global::Speechify.EvaluationCriterionVerdictStatus? Type121 { get; set; } /// /// /// - public global::Speechify.EvaluationCaseVerdict? Type122 { get; set; } + public global::Speechify.EvaluationCriterionVerdict? Type122 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type123 { get; set; } + public global::Speechify.EvaluationCaseVerdict? Type123 { get; set; } /// /// /// - public global::Speechify.EvaluationVerdict? Type124 { get; set; } + public global::System.Collections.Generic.IList? Type124 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type125 { get; set; } + public global::Speechify.EvaluationVerdict? Type125 { get; set; } /// /// /// - public global::Speechify.PublishGateResult? Type126 { get; set; } + public global::System.Collections.Generic.IList? Type126 { get; set; } /// /// /// - public global::Speechify.FlowVersion? Type127 { get; set; } + public global::Speechify.PublishGateResult? Type127 { get; set; } /// /// /// - public global::Speechify.FlowGraphNodesItems? Type128 { get; set; } + public global::Speechify.FlowVersion? Type128 { get; set; } /// /// /// - public global::Speechify.FlowGraphEdgesItems? Type129 { get; set; } + public global::Speechify.FlowGraphNodesItems? Type129 { get; set; } /// /// /// - public global::Speechify.FlowGraphVariablesItems? Type130 { get; set; } + public global::Speechify.FlowGraphEdgesItems? Type130 { get; set; } /// /// /// - public global::Speechify.FlowGraph? Type131 { get; set; } + public global::Speechify.FlowGraphVariablesItems? Type131 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type132 { get; set; } + public global::Speechify.FlowGraph? Type132 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type133 { get; set; } + public global::System.Collections.Generic.IList? Type133 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type134 { get; set; } + public global::System.Collections.Generic.IList? Type134 { get; set; } /// /// /// - public global::Speechify.GetFlowResponse? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestNodesItems? Type136 { get; set; } + public global::Speechify.GetFlowResponse? Type136 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestEdgesItems? Type137 { get; set; } + public global::Speechify.PutFlowRequestNodesItems? Type137 { get; set; } /// /// /// - public global::Speechify.PutFlowRequestVariablesItems? Type138 { get; set; } + public global::Speechify.PutFlowRequestEdgesItems? Type138 { get; set; } /// /// /// - public global::Speechify.PutFlowRequest? Type139 { get; set; } + public global::Speechify.PutFlowRequestVariablesItems? Type139 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type140 { get; set; } + public global::Speechify.PutFlowRequest? Type140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type141 { get; set; } + public global::System.Collections.Generic.IList? Type141 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type142 { get; set; } + public global::System.Collections.Generic.IList? Type142 { get; set; } /// /// /// - public global::Speechify.FlowValidationIssue? Type143 { get; set; } + public global::System.Collections.Generic.IList? Type143 { get; set; } /// /// /// - public global::Speechify.FlowValidationError? Type144 { get; set; } + public global::Speechify.FlowValidationIssue? Type144 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type145 { get; set; } + public global::Speechify.FlowValidationError? Type145 { get; set; } /// /// /// - public global::Speechify.PublishFlowRequest? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::Speechify.RollbackFlowRequest? Type147 { get; set; } + public global::Speechify.PublishFlowRequest? Type147 { get; set; } /// /// /// - public global::Speechify.ListFlowVersionsResponse? Type148 { get; set; } + public global::Speechify.RollbackFlowRequest? Type148 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type149 { get; set; } + public global::Speechify.ListFlowVersionsResponse? Type149 { get; set; } /// /// /// - public global::Speechify.FlowTemplate? Type150 { get; set; } + public global::System.Collections.Generic.IList? Type150 { get; set; } /// /// /// - public global::Speechify.ListFlowTemplatesResponse? Type151 { get; set; } + public global::Speechify.FlowTemplate? Type151 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type152 { get; set; } + public global::Speechify.ListFlowTemplatesResponse? Type152 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputNodesItems? Type153 { get; set; } + public global::System.Collections.Generic.IList? Type153 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputEdgesItems? Type154 { get; set; } + public global::Speechify.FlowGraphInputNodesItems? Type154 { get; set; } /// /// /// - public global::Speechify.FlowGraphInputVariablesItems? Type155 { get; set; } + public global::Speechify.FlowGraphInputEdgesItems? Type155 { get; set; } /// /// /// - public global::Speechify.FlowGraphInput? Type156 { get; set; } + public global::Speechify.FlowGraphInputVariablesItems? Type156 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type157 { get; set; } + public global::Speechify.FlowGraphInput? Type157 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type158 { get; set; } + public global::System.Collections.Generic.IList? Type158 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::Speechify.CreateFlowTemplateRequest? Type160 { get; set; } + public global::System.Collections.Generic.IList? Type160 { get; set; } /// /// /// - public global::Speechify.CloneFlowTemplateRequest? Type161 { get; set; } + public global::Speechify.CreateFlowTemplateRequest? Type161 { get; set; } /// /// /// - public global::Speechify.EvaluationCriterion? Type162 { get; set; } + public global::Speechify.CloneFlowTemplateRequest? Type162 { get; set; } /// /// /// - public global::Speechify.DataCollectionFieldType? Type163 { get; set; } + public global::Speechify.EvaluationCriterion? Type163 { get; set; } /// /// /// - public global::Speechify.DataCollectionField? Type164 { get; set; } + public global::Speechify.DataCollectionFieldType? Type164 { get; set; } /// /// /// - public global::Speechify.EvaluationConfig? Type165 { get; set; } + public global::Speechify.DataCollectionField? Type165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type166 { get; set; } + public global::Speechify.EvaluationConfig? Type166 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type167 { get; set; } + public global::System.Collections.Generic.IList? Type167 { get; set; } /// /// /// - public global::Speechify.UpdateEvaluationConfigRequest? Type168 { get; set; } + public global::System.Collections.Generic.IList? Type168 { get; set; } /// /// /// - public global::Speechify.DynamicVariableType? Type169 { get; set; } + public global::Speechify.UpdateEvaluationConfigRequest? Type169 { get; set; } /// /// /// - public global::Speechify.DynamicVariable? Type170 { get; set; } + public global::Speechify.DynamicVariableType? Type170 { get; set; } /// /// /// - public global::Speechify.SystemVariableDoc? Type171 { get; set; } + public global::Speechify.DynamicVariable? Type171 { get; set; } /// /// /// - public global::Speechify.ListDynamicVariablesResponse? Type172 { get; set; } + public global::Speechify.SystemVariableDoc? Type172 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type173 { get; set; } + public global::Speechify.ListDynamicVariablesResponse? Type173 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::Speechify.UpdateDynamicVariablesRequest? Type175 { get; set; } + public global::System.Collections.Generic.IList? Type175 { get; set; } /// /// /// - public global::Speechify.CreateConversationOverrides? Type176 { get; set; } + public global::Speechify.UpdateDynamicVariablesRequest? Type176 { get; set; } /// /// /// - public global::Speechify.CreateConversationRequest? Type177 { get; set; } + public global::Speechify.CreateConversationOverrides? Type177 { get; set; } /// /// /// - public global::Speechify.ConversationStatus? Type178 { get; set; } + public global::Speechify.CreateConversationRequest? Type178 { get; set; } /// /// /// - public global::Speechify.ConversationTransport? Type179 { get; set; } + public global::Speechify.ConversationStatus? Type179 { get; set; } /// /// /// - public global::Speechify.ConversationEndReason? Type180 { get; set; } + public global::Speechify.ConversationTransport? Type180 { get; set; } /// /// /// - public global::Speechify.SkillPin? Type181 { get; set; } + public global::Speechify.ConversationEndReason? Type181 { get; set; } /// /// /// - public global::Speechify.AgentSnapshotInterruptionSensitivity? Type182 { get; set; } + public global::Speechify.SkillPin? Type182 { get; set; } /// /// /// - public global::Speechify.AgentSnapshotBackgroundNoisePreset? Type183 { get; set; } + public global::Speechify.AgentSnapshotInterruptionSensitivity? Type183 { get; set; } /// /// /// - public global::Speechify.AgentSnapshot? Type184 { get; set; } + public global::Speechify.AgentSnapshotBackgroundNoisePreset? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::Speechify.AgentSnapshot? Type185 { get; set; } /// /// /// - public global::Speechify.ConversationIvrSurrenderReason? Type186 { get; set; } + public global::System.Collections.Generic.IList? Type186 { get; set; } /// /// /// - public global::Speechify.Conversation? Type187 { get; set; } + public global::Speechify.ConversationIvrSurrenderReason? Type187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type188 { get; set; } + public global::Speechify.Conversation? Type188 { get; set; } /// /// /// - public global::Speechify.CreateConversationResponse? Type189 { get; set; } + public global::System.Collections.Generic.IList? Type189 { get; set; } /// /// /// - public global::Speechify.CreateSessionRequest? Type190 { get; set; } + public global::Speechify.CreateConversationResponse? Type190 { get; set; } /// /// /// - public global::Speechify.ListConversationsResponse? Type191 { get; set; } + public global::Speechify.CreateSessionRequest? Type191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type192 { get; set; } + public global::Speechify.ListConversationsResponse? Type192 { get; set; } /// /// /// - public global::Speechify.RecentCallee? Type193 { get; set; } + public global::System.Collections.Generic.IList? Type193 { get; set; } /// /// /// - public global::Speechify.ListRecentCalleesResponse? Type194 { get; set; } + public global::Speechify.RecentCallee? Type194 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type195 { get; set; } + public global::Speechify.ListRecentCalleesResponse? Type195 { get; set; } /// /// /// - public global::Speechify.ConversationStats? Type196 { get; set; } + public global::System.Collections.Generic.IList? Type196 { get; set; } /// /// /// - public global::Speechify.MessageRole? Type197 { get; set; } + public global::Speechify.ConversationStats? Type197 { get; set; } /// /// /// - public global::Speechify.Message? Type198 { get; set; } + public global::Speechify.MessageRole? Type198 { get; set; } /// /// /// - public global::Speechify.ListMessagesResponse? Type199 { get; set; } + public global::Speechify.Message? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::Speechify.ListMessagesResponse? Type200 { get; set; } /// /// /// - public global::Speechify.EvaluationKind? Type201 { get; set; } + public global::System.Collections.Generic.IList? Type201 { get; set; } /// /// /// - public global::Speechify.EvaluationStatus? Type202 { get; set; } + public global::Speechify.EvaluationKind? Type202 { get; set; } /// /// /// - public global::Speechify.Evaluation? Type203 { get; set; } + public global::Speechify.EvaluationStatus? Type203 { get; set; } /// /// /// - public global::Speechify.ListEvaluationsResponse? Type204 { get; set; } + public global::Speechify.Evaluation? Type204 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type205 { get; set; } + public global::Speechify.ListEvaluationsResponse? Type205 { get; set; } /// /// /// - public global::Speechify.Memory? Type206 { get; set; } + public global::System.Collections.Generic.IList? Type206 { get; set; } /// /// /// - public global::Speechify.ListMemoriesResponse? Type207 { get; set; } + public global::Speechify.Memory? Type207 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type208 { get; set; } + public global::Speechify.ListMemoriesResponse? Type208 { get; set; } /// /// /// - public global::Speechify.SearchHitRanking? Type209 { get; set; } + public global::System.Collections.Generic.IList? Type209 { get; set; } /// /// /// - public global::Speechify.RetrievalLogResult? Type210 { get; set; } + public global::Speechify.SearchHitRanking? Type210 { get; set; } /// /// /// - public global::Speechify.RetrievalCoverage? Type211 { get; set; } + public global::Speechify.RetrievalLogResult? Type211 { get; set; } /// /// /// - public global::Speechify.RetrievalLogEntry? Type212 { get; set; } + public global::Speechify.RetrievalCoverage? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::Speechify.RetrievalLogEntry? Type213 { get; set; } /// /// /// - public global::Speechify.ListRetrievalLogsResponse? Type214 { get; set; } + public global::System.Collections.Generic.IList? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::Speechify.ListRetrievalLogsResponse? Type215 { get; set; } /// /// /// - public global::Speechify.WebhookDeliveryStatus? Type216 { get; set; } + public global::System.Collections.Generic.IList? Type216 { get; set; } /// /// /// - public global::Speechify.WebhookDelivery? Type217 { get; set; } + public global::Speechify.WebhookDeliveryStatus? Type217 { get; set; } /// /// /// - public global::Speechify.ListWebhookDeliveriesResponse? Type218 { get; set; } + public global::Speechify.WebhookDelivery? Type218 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type219 { get; set; } + public global::Speechify.ListWebhookDeliveriesResponse? Type219 { get; set; } /// /// /// - public global::Speechify.ShadowConversationResponse? Type220 { get; set; } + public global::System.Collections.Generic.IList? Type220 { get; set; } /// /// /// - public global::Speechify.PublishAgentRequest? Type221 { get; set; } + public global::Speechify.ShadowConversationResponse? Type221 { get; set; } /// /// /// - public global::Speechify.PublishAgentResponse? Type222 { get; set; } + public global::Speechify.PublishAgentRequest? Type222 { get; set; } /// /// /// - public global::Speechify.PublishGateRunDecision? Type223 { get; set; } + public global::Speechify.PublishAgentResponse? Type223 { get; set; } /// /// /// - public global::Speechify.PublishGateRun? Type224 { get; set; } + public global::Speechify.PublishGateRunDecision? Type224 { get; set; } /// /// /// - public global::Speechify.LatestPublishGateRunResponse? Type225 { get; set; } + public global::Speechify.PublishGateRun? Type225 { get; set; } /// /// /// - public global::Speechify.CreateAgentRunRequest? Type226 { get; set; } + public global::Speechify.LatestPublishGateRunResponse? Type226 { get; set; } /// /// /// - public global::Speechify.AgentRunStatus? Type227 { get; set; } + public global::Speechify.CreateAgentRunRequest? Type227 { get; set; } /// /// /// - public global::Speechify.AgentRunInputDelegationTargetsItems? Type228 { get; set; } + public global::Speechify.AgentRunStatus? Type228 { get; set; } /// /// /// - public global::Speechify.AgentRunInput? Type229 { get; set; } + public global::Speechify.AgentRunInputDelegationTargetsItems? Type229 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type230 { get; set; } + public global::Speechify.AgentRunInput? Type230 { get; set; } /// /// /// - public global::Speechify.AgentRunOutputTranscriptItems? Type231 { get; set; } + public global::System.Collections.Generic.IList? Type231 { get; set; } /// /// /// - public global::Speechify.AgentRunOutput? Type232 { get; set; } + public global::Speechify.AgentRunOutputTranscriptItems? Type232 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type233 { get; set; } + public global::Speechify.AgentRunOutput? Type233 { get; set; } /// /// /// - public global::Speechify.AgentRunError? Type234 { get; set; } + public global::System.Collections.Generic.IList? Type234 { get; set; } /// /// /// - public global::Speechify.AgentRunIncompleteReason? Type235 { get; set; } + public global::Speechify.AgentRunError? Type235 { get; set; } /// /// /// - public global::Speechify.AgentRunUsageModelsItems? Type236 { get; set; } + public global::Speechify.AgentRunIncompleteReason? Type236 { get; set; } /// /// /// - public global::Speechify.AgentRunUsageToolsItems? Type237 { get; set; } + public global::Speechify.AgentRunUsageModelsItems? Type237 { get; set; } /// /// /// - public global::Speechify.AgentRunUsage? Type238 { get; set; } + public global::Speechify.AgentRunUsageToolsItems? Type238 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type239 { get; set; } + public global::Speechify.AgentRunUsage? Type239 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type240 { get; set; } + public global::System.Collections.Generic.IList? Type240 { get; set; } /// /// /// - public global::Speechify.PendingActionDefaultDecision? Type241 { get; set; } + public global::System.Collections.Generic.IList? Type241 { get; set; } /// /// /// - public global::Speechify.PendingAction? Type242 { get; set; } + public global::Speechify.PendingActionDefaultDecision? Type242 { get; set; } /// /// /// - public global::Speechify.AgentRun? Type243 { get; set; } + public global::Speechify.PendingAction? Type243 { get; set; } /// /// /// - public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type244 { get; set; } + public global::Speechify.AgentRun? Type244 { get; set; } /// /// /// - public global::Speechify.ListAgentRunsResponse? Type245 { get; set; } + public global::Speechify.V1AgentsAgentIdRunsGetParametersStatus? Type245 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type246 { get; set; } + public global::Speechify.ListAgentRunsResponse? Type246 { get; set; } /// /// /// - public global::Speechify.V1AgentsRunsGetParametersStatus? Type247 { get; set; } + public global::System.Collections.Generic.IList? Type247 { get; set; } /// /// /// - public global::Speechify.SubmitAgentRunRequestDecision? Type248 { get; set; } + public global::Speechify.V1AgentsRunsGetParametersStatus? Type248 { get; set; } /// /// /// - public global::Speechify.SubmitAgentRunRequest? Type249 { get; set; } + public global::Speechify.SubmitAgentRunRequestDecision? Type249 { get; set; } /// /// /// - public global::Speechify.AgentRunStepKind? Type250 { get; set; } + public global::Speechify.SubmitAgentRunRequest? Type250 { get; set; } /// /// /// - public global::Speechify.RunStepDelegationChildStatus? Type251 { get; set; } + public global::Speechify.AgentRunStepKind? Type251 { get; set; } /// /// /// - public global::Speechify.RunStepDelegation? Type252 { get; set; } + public global::Speechify.RunStepDelegationChildStatus? Type252 { get; set; } /// /// /// - public global::Speechify.AgentRunStep? Type253 { get; set; } + public global::Speechify.RunStepDelegation? Type253 { get; set; } /// /// /// - public global::Speechify.ListAgentRunStepsResponse? Type254 { get; set; } + public global::Speechify.AgentRunStep? Type254 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type255 { get; set; } + public global::Speechify.ListAgentRunStepsResponse? Type255 { get; set; } /// /// /// - public global::Speechify.AgentRunStepAddedEventKind? Type256 { get; set; } + public global::System.Collections.Generic.IList? Type256 { get; set; } /// /// /// - public global::Speechify.AgentRunStatusChangedEventStatus? Type257 { get; set; } + public global::Speechify.AgentRunStepAddedEventKind? Type257 { get; set; } /// /// /// - public global::Speechify.AgentRunEndedEventStatus? Type258 { get; set; } + public global::Speechify.AgentRunStatusChangedEventStatus? Type258 { get; set; } /// /// /// - public global::Speechify.AgentRunEndedEventOutput? Type259 { get; set; } + public global::Speechify.AgentRunEndedEventStatus? Type259 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEvent? Type260 { get; set; } + public global::Speechify.AgentRunEndedEventOutput? Type260 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant1? Type261 { get; set; } + public global::Speechify.AgentRunStreamEvent? Type261 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant1Type? Type262 { get; set; } + public global::Speechify.AgentRunStreamEventVariant1? Type262 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant2? Type263 { get; set; } + public global::Speechify.AgentRunStreamEventVariant1Type? Type263 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant2Type? Type264 { get; set; } + public global::Speechify.AgentRunStreamEventVariant2? Type264 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant3? Type265 { get; set; } + public global::Speechify.AgentRunStreamEventVariant2Type? Type265 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventVariant3Type? Type266 { get; set; } + public global::Speechify.AgentRunStreamEventVariant3? Type266 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventDiscriminator? Type267 { get; set; } + public global::Speechify.AgentRunStreamEventVariant3Type? Type267 { get; set; } /// /// /// - public global::Speechify.AgentRunStreamEventDiscriminatorType? Type268 { get; set; } + public global::Speechify.AgentRunStreamEventDiscriminator? Type268 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseInjection? Type269 { get; set; } + public global::Speechify.AgentRunStreamEventDiscriminatorType? Type269 { get; set; } /// /// /// - public global::Speechify.KnowledgeBase? Type270 { get; set; } + public global::Speechify.KnowledgeBaseInjection? Type270 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBasesResponse? Type271 { get; set; } + public global::Speechify.KnowledgeBase? Type271 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type272 { get; set; } + public global::Speechify.ListKnowledgeBasesResponse? Type272 { get; set; } /// /// /// - public global::Speechify.CreateKnowledgeBaseRequest? Type273 { get; set; } + public global::System.Collections.Generic.IList? Type273 { get; set; } /// /// /// - public global::Speechify.SearchKnowledgeBasesRequest? Type274 { get; set; } + public global::Speechify.CreateKnowledgeBaseRequest? Type274 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseSearchHit? Type275 { get; set; } + public global::Speechify.SearchKnowledgeBasesRequest? Type275 { get; set; } /// /// /// - public global::Speechify.SearchKnowledgeBasesResponse? Type276 { get; set; } + public global::Speechify.KnowledgeBaseSearchHit? Type276 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type277 { get; set; } + public global::Speechify.SearchKnowledgeBasesResponse? Type277 { get; set; } /// /// /// - public global::Speechify.UpdateKnowledgeBaseRequest? Type278 { get; set; } + public global::System.Collections.Generic.IList? Type278 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageHealth? Type279 { get; set; } + public global::Speechify.UpdateKnowledgeBaseRequest? Type279 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageGap? Type280 { get; set; } + public global::Speechify.KnowledgeBaseCoverageHealth? Type280 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentSourceKind? Type281 { get; set; } + public global::Speechify.KnowledgeBaseCoverageGap? Type281 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverageDocument? Type282 { get; set; } + public global::Speechify.KnowledgeBaseDocumentSourceKind? Type282 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseCoverage? Type283 { get; set; } + public global::Speechify.KnowledgeBaseCoverageDocument? Type283 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type284 { get; set; } + public global::Speechify.KnowledgeBaseCoverage? Type284 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type285 { get; set; } + public global::System.Collections.Generic.IList? Type285 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvalCase? Type286 { get; set; } + public global::System.Collections.Generic.IList? Type286 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type287 { get; set; } + public global::Speechify.KnowledgeBaseEvalCase? Type287 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type288 { get; set; } + public global::Speechify.ListKnowledgeBaseEvalCasesResponse? Type288 { get; set; } /// /// /// - public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type289 { get; set; } + public global::System.Collections.Generic.IList? Type289 { get; set; } /// /// /// - public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type290 { get; set; } + public global::Speechify.CreateKnowledgeBaseEvalCaseRequest? Type290 { get; set; } /// /// /// - public global::Speechify.JobStatus? Type291 { get; set; } + public global::Speechify.UpdateKnowledgeBaseEvalCaseRequest? Type291 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationResults? Type292 { get; set; } + public global::Speechify.JobStatus? Type292 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationMetrics? Type293 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationResults? Type293 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluation? Type294 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationMetrics? Type294 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type295 { get; set; } + public global::Speechify.KnowledgeBaseEvaluation? Type295 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type296 { get; set; } + public global::Speechify.ListKnowledgeBaseEvaluationsResponse? Type296 { get; set; } /// /// /// - public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type297 { get; set; } + public global::System.Collections.Generic.IList? Type297 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationHit? Type298 { get; set; } + public global::Speechify.StartKnowledgeBaseEvaluationRequest? Type298 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseEvaluationResult? Type299 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationHit? Type299 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type300 { get; set; } + public global::Speechify.KnowledgeBaseEvaluationResult? Type300 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type301 { get; set; } + public global::System.Collections.Generic.IList? Type301 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type302 { get; set; } + public global::Speechify.ListKnowledgeBaseEvaluationResultsResponse? Type302 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type303 { get; set; } + public global::System.Collections.Generic.IList? Type303 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentStatus? Type304 { get; set; } + public global::Speechify.KnowledgeBaseDocumentInjectionMode? Type304 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocument? Type305 { get; set; } + public global::Speechify.KnowledgeBaseDocumentStatus? Type305 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type306 { get; set; } + public global::Speechify.KnowledgeBaseDocument? Type306 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type307 { get; set; } + public global::Speechify.ListKnowledgeBaseDocumentsResponse? Type307 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type308 { get; set; } + public global::System.Collections.Generic.IList? Type308 { get; set; } /// /// /// - public global::Speechify.DependentAgent? Type309 { get; set; } + public global::Speechify.KnowledgeBaseDocumentDetailInjectionMode? Type309 { get; set; } /// /// /// - public global::Speechify.RefreshConfig? Type310 { get; set; } + public global::Speechify.DependentAgent? Type310 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseDocumentDetail? Type311 { get; set; } + public global::Speechify.RefreshConfig? Type311 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type312 { get; set; } + public global::Speechify.KnowledgeBaseDocumentDetail? Type312 { get; set; } /// /// /// - public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type313 { get; set; } + public global::System.Collections.Generic.IList? Type313 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseChunk? Type314 { get; set; } + public global::Speechify.V1AgentsKnowledgeBasesKbIdDocumentsDocumentIdPatchRequestBodyContentApplicationJsonSchemaInjectionMode? Type314 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseChunksResponse? Type315 { get; set; } + public global::Speechify.KnowledgeBaseChunk? Type315 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type316 { get; set; } + public global::Speechify.ListKnowledgeBaseChunksResponse? Type316 { get; set; } /// /// /// - public global::Speechify.CreateCrawlImportRequest? Type317 { get; set; } + public global::System.Collections.Generic.IList? Type317 { get; set; } /// /// /// - public global::Speechify.ImportJobKind? Type318 { get; set; } + public global::Speechify.CreateCrawlImportRequest? Type318 { get; set; } /// /// /// - public global::Speechify.ImportJob? Type319 { get; set; } + public global::Speechify.ImportJobKind? Type319 { get; set; } /// /// /// - public global::Speechify.CreateSitemapImportRequest? Type320 { get; set; } + public global::Speechify.ImportJob? Type320 { get; set; } /// /// /// - public global::Speechify.CreateTextDocumentRequest? Type321 { get; set; } + public global::Speechify.CreateSitemapImportRequest? Type321 { get; set; } /// /// /// - public global::Speechify.CreateURLDocumentRequest? Type322 { get; set; } + public global::Speechify.CreateTextDocumentRequest? Type322 { get; set; } /// /// /// - public global::Speechify.CreateURLBatchImportRequest? Type323 { get; set; } + public global::Speechify.CreateURLDocumentRequest? Type323 { get; set; } /// /// /// - public global::Speechify.BatchDeleteDocumentsRequest? Type324 { get; set; } + public global::Speechify.CreateURLBatchImportRequest? Type324 { get; set; } /// /// /// - public global::Speechify.BatchMoveDocumentsRequest? Type325 { get; set; } + public global::Speechify.BatchDeleteDocumentsRequest? Type325 { get; set; } /// /// /// - public global::Speechify.BatchMoveDocumentsResponse? Type326 { get; set; } + public global::Speechify.BatchMoveDocumentsRequest? Type326 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type327 { get; set; } + public global::Speechify.BatchMoveDocumentsResponse? Type327 { get; set; } /// /// /// - public global::Speechify.UpdateRefreshConfigRequest? Type328 { get; set; } + public global::System.Collections.Generic.IList? Type328 { get; set; } /// /// /// - public global::Speechify.RefreshHistoryEntryStatus? Type329 { get; set; } + public global::Speechify.UpdateRefreshConfigRequest? Type329 { get; set; } /// /// /// - public global::Speechify.RefreshHistoryEntry? Type330 { get; set; } + public global::Speechify.RefreshHistoryEntryStatus? Type330 { get; set; } /// /// /// - public global::Speechify.ListRefreshHistoryResponse? Type331 { get; set; } + public global::Speechify.RefreshHistoryEntry? Type331 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type332 { get; set; } + public global::Speechify.ListRefreshHistoryResponse? Type332 { get; set; } /// /// /// - public global::Speechify.KnowledgeBaseFolder? Type333 { get; set; } + public global::System.Collections.Generic.IList? Type333 { get; set; } /// /// /// - public global::Speechify.ListKnowledgeBaseFoldersResponse? Type334 { get; set; } + public global::Speechify.KnowledgeBaseFolder? Type334 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type335 { get; set; } + public global::Speechify.ListKnowledgeBaseFoldersResponse? Type335 { get; set; } /// /// /// - public global::Speechify.CreateFolderRequest? Type336 { get; set; } + public global::System.Collections.Generic.IList? Type336 { get; set; } /// /// /// - public global::Speechify.UpdateFolderRequest? Type337 { get; set; } + public global::Speechify.CreateFolderRequest? Type337 { get; set; } /// /// /// - public global::Speechify.ListImportJobsResponse? Type338 { get; set; } + public global::Speechify.UpdateFolderRequest? Type338 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type339 { get; set; } + public global::Speechify.ListImportJobsResponse? Type339 { get; set; } /// /// /// - public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type340 { get; set; } + public global::System.Collections.Generic.IList? Type340 { get; set; } /// /// /// - public global::Speechify.AttachedKnowledgeBasesResponse? Type341 { get; set; } + public global::Speechify.AttachedKnowledgeBasesResponseInjection? Type341 { get; set; } /// /// /// - public global::Speechify.ToolKind? Type342 { get; set; } + public global::Speechify.AttachedKnowledgeBasesResponse? Type342 { get; set; } /// /// /// - public global::Speechify.ToolParamType? Type343 { get; set; } + public global::Speechify.ToolKind? Type343 { get; set; } /// /// /// - public global::Speechify.ToolParam? Type344 { get; set; } + public global::Speechify.ToolParamType? Type344 { get; set; } /// /// /// - public global::Speechify.BuiltinToolConfig? Type345 { get; set; } + public global::Speechify.ToolParam? Type345 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type346 { get; set; } + public global::Speechify.BuiltinToolConfig? Type346 { get; set; } /// /// /// - public global::Speechify.WebhookToolConfigMethod? Type347 { get; set; } + public global::System.Collections.Generic.IList? Type347 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type348 { get; set; } + public global::Speechify.WebhookToolConfigMethod? Type348 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigWaitAudio? Type349 { get; set; } + public global::Speechify.LongRunningToolConfigWaitAudioPreset? Type349 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfigOnDuplicate? Type350 { get; set; } + public global::Speechify.LongRunningToolConfigWaitAudio? Type350 { get; set; } /// /// /// - public global::Speechify.LongRunningToolConfig? Type351 { get; set; } + public global::Speechify.LongRunningToolConfigOnDuplicate? Type351 { get; set; } /// /// /// - public global::Speechify.WebhookToolConfig? Type352 { get; set; } + public global::Speechify.LongRunningToolConfig? Type352 { get; set; } /// /// /// - public global::Speechify.ClientToolConfig? Type353 { get; set; } + public global::Speechify.WebhookToolConfig? Type353 { get; set; } /// /// /// - public global::Speechify.MCPTransport? Type354 { get; set; } + public global::Speechify.ClientToolConfig? Type354 { get; set; } /// /// /// - public global::Speechify.MCPAuth? Type355 { get; set; } + public global::Speechify.MCPTransport? Type355 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant1? Type356 { get; set; } + public global::Speechify.MCPAuth? Type356 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant1Type? Type357 { get; set; } + public global::Speechify.MCPAuthVariant1? Type357 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant2? Type358 { get; set; } + public global::Speechify.MCPAuthVariant1Type? Type358 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant2Type? Type359 { get; set; } + public global::Speechify.MCPAuthVariant2? Type359 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant3? Type360 { get; set; } + public global::Speechify.MCPAuthVariant2Type? Type360 { get; set; } /// /// /// - public global::Speechify.MCPAuthVariant3Type? Type361 { get; set; } + public global::Speechify.MCPAuthVariant3? Type361 { get; set; } /// /// /// - public global::Speechify.MCPAuthDiscriminator? Type362 { get; set; } + public global::Speechify.MCPAuthVariant3Type? Type362 { get; set; } /// /// /// - public global::Speechify.MCPAuthDiscriminatorType? Type363 { get; set; } + public global::Speechify.MCPAuthDiscriminator? Type363 { get; set; } /// /// /// - public global::Speechify.ToolActionClass? Type364 { get; set; } + public global::Speechify.MCPAuthDiscriminatorType? Type364 { get; set; } /// /// /// - public global::Speechify.MCPToolConfig? Type365 { get; set; } + public global::Speechify.ToolActionClass? Type365 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type366 { get; set; } + public global::Speechify.MCPToolConfig? Type366 { get; set; } /// /// /// - public global::Speechify.AgentToolConfig? Type367 { get; set; } + public global::System.Collections.Generic.Dictionary? Type367 { get; set; } /// /// /// - public global::Speechify.ToolApprovalClass? Type368 { get; set; } + public global::Speechify.AgentToolConfig? Type368 { get; set; } /// /// /// - public global::Speechify.AgentTool? Type369 { get; set; } + public global::Speechify.ToolApprovalClass? Type369 { get; set; } /// /// /// - public global::Speechify.ListAgentToolsResponse? Type370 { get; set; } + public global::Speechify.AgentTool? Type370 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type371 { get; set; } + public global::Speechify.ListAgentToolsResponse? Type371 { get; set; } /// /// /// - public global::Speechify.CreateAgentToolRequestConfig? Type372 { get; set; } + public global::System.Collections.Generic.IList? Type372 { get; set; } /// /// /// - public global::Speechify.CreateAgentToolRequest? Type373 { get; set; } + public global::Speechify.CreateAgentToolRequestConfig? Type373 { get; set; } /// /// /// - public global::Speechify.ToolNameHolderKind? Type374 { get; set; } + public global::Speechify.CreateAgentToolRequest? Type374 { get; set; } /// /// /// - public global::Speechify.ToolNameHolder? Type375 { get; set; } + public global::Speechify.ToolNameHolderKind? Type375 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenErrorDetailDetails? Type376 { get; set; } + public global::Speechify.ToolNameHolder? Type376 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenErrorDetail? Type377 { get; set; } + public global::Speechify.ToolNameTakenErrorDetailDetails? Type377 { get; set; } /// /// /// - public global::Speechify.ToolNameTakenError? Type378 { get; set; } + public global::Speechify.ToolNameTakenErrorDetail? Type378 { get; set; } /// /// /// - public global::Speechify.UpdateAgentToolRequestConfig? Type379 { get; set; } + public global::Speechify.ToolNameTakenError? Type379 { get; set; } /// /// /// - public global::Speechify.UpdateAgentToolRequest? Type380 { get; set; } + public global::Speechify.UpdateAgentToolRequestConfig? Type380 { get; set; } /// /// /// - public global::Speechify.ToolConfig? Type381 { get; set; } + public global::Speechify.UpdateAgentToolRequest? Type381 { get; set; } /// /// /// - public global::Speechify.Tool? Type382 { get; set; } + public global::Speechify.ToolConfig? Type382 { get; set; } /// /// /// - public global::Speechify.ListToolsResponse? Type383 { get; set; } + public global::Speechify.Tool? Type383 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type384 { get; set; } + public global::Speechify.ListToolsResponse? Type384 { get; set; } /// /// /// - public global::Speechify.CreateToolRequestConfig? Type385 { get; set; } + public global::System.Collections.Generic.IList? Type385 { get; set; } /// /// /// - public global::Speechify.CreateToolRequest? Type386 { get; set; } + public global::Speechify.CreateToolRequestConfig? Type386 { get; set; } /// /// /// - public global::Speechify.UpdateToolRequestConfig? Type387 { get; set; } + public global::Speechify.CreateToolRequest? Type387 { get; set; } /// /// /// - public global::Speechify.UpdateToolRequest? Type388 { get; set; } + public global::Speechify.UpdateToolRequestConfig? Type388 { get; set; } /// /// /// - public global::Speechify.ToolAttachedAgent? Type389 { get; set; } + public global::Speechify.UpdateToolRequest? Type389 { get; set; } /// /// /// - public global::Speechify.ListToolAttachedAgentsResponse? Type390 { get; set; } + public global::Speechify.ToolAttachedAgent? Type390 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type391 { get; set; } + public global::Speechify.ListToolAttachedAgentsResponse? Type391 { get; set; } /// /// /// - public global::Speechify.TestMCPConnectionRequest? Type392 { get; set; } + public global::System.Collections.Generic.IList? Type392 { get; set; } /// /// /// - public global::Speechify.MCPProbeTool? Type393 { get; set; } + public global::Speechify.TestMCPConnectionRequest? Type393 { get; set; } /// /// /// - public global::Speechify.McpProbeErrorDetailsStage? Type394 { get; set; } + public global::Speechify.MCPProbeTool? Type394 { get; set; } /// /// /// - public global::Speechify.MCPProbeErrorDetails? Type395 { get; set; } + public global::Speechify.McpProbeErrorDetailsStage? Type395 { get; set; } /// /// /// - public global::Speechify.MCPProbeResult? Type396 { get; set; } + public global::Speechify.MCPProbeErrorDetails? Type396 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type397 { get; set; } + public global::Speechify.MCPProbeResult? Type397 { get; set; } /// /// /// - public global::Speechify.TestWebhookConnectionRequest? Type398 { get; set; } + public global::System.Collections.Generic.IList? Type398 { get; set; } /// /// /// - public global::Speechify.WebhookProbeResult? Type399 { get; set; } + public global::Speechify.TestWebhookConnectionRequest? Type399 { get; set; } /// /// /// - public global::Speechify.SystemBuiltinInfoExecution? Type400 { get; set; } + public global::Speechify.WebhookProbeResult? Type400 { get; set; } /// /// /// - public global::Speechify.SystemBuiltinInfo? Type401 { get; set; } + public global::Speechify.SystemBuiltinInfoExecution? Type401 { get; set; } /// /// /// - public global::Speechify.ListSystemBuiltinsResponse? Type402 { get; set; } + public global::Speechify.SystemBuiltinInfo? Type402 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type403 { get; set; } + public global::Speechify.ListSystemBuiltinsResponse? Type403 { get; set; } /// /// /// - public global::Speechify.TestType? Type404 { get; set; } + public global::System.Collections.Generic.IList? Type404 { get; set; } /// /// /// - public global::Speechify.SimulationMessageRole? Type405 { get; set; } + public global::Speechify.TestType? Type405 { get; set; } /// /// /// - public global::Speechify.SimulationMessage? Type406 { get; set; } + public global::Speechify.SimulationMessageRole? Type406 { get; set; } /// /// /// - public global::Speechify.ReplyConfig? Type407 { get; set; } + public global::Speechify.SimulationMessage? Type407 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type408 { get; set; } + public global::Speechify.ReplyConfig? Type408 { get; set; } /// /// /// - public global::Speechify.ParameterCheckMode? Type409 { get; set; } + public global::System.Collections.Generic.IList? Type409 { get; set; } /// /// /// - public global::Speechify.ParameterCheck? Type410 { get; set; } + public global::Speechify.ParameterCheckMode? Type410 { get; set; } /// /// /// - public global::Speechify.ToolCallConfig? Type411 { get; set; } + public global::Speechify.ParameterCheck? Type411 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type412 { get; set; } + public global::Speechify.ToolCallConfig? Type412 { get; set; } /// /// /// - public global::Speechify.DataAssertionMode? Type413 { get; set; } + public global::System.Collections.Generic.IList? Type413 { get; set; } /// /// /// - public global::Speechify.DataAssertion? Type414 { get; set; } + public global::Speechify.DataAssertionMode? Type414 { get; set; } /// /// /// - public global::Speechify.SimulationConfig? Type415 { get; set; } + public global::Speechify.DataAssertion? Type415 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type416 { get; set; } + public global::Speechify.SimulationConfig? Type416 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestRequestConfig? Type417 { get; set; } + public global::System.Collections.Generic.IList? Type417 { get; set; } /// /// /// - public global::Speechify.MockingStrategy? Type418 { get; set; } + public global::Speechify.CreateAgentTestRequestConfig? Type418 { get; set; } /// /// /// - public global::Speechify.ToolMock? Type419 { get; set; } + public global::Speechify.MockingStrategy? Type419 { get; set; } /// /// /// - public global::Speechify.NoMatchBehavior? Type420 { get; set; } + public global::Speechify.ToolMock? Type420 { get; set; } /// /// /// - public global::Speechify.ToolMockConfig? Type421 { get; set; } + public global::Speechify.NoMatchBehavior? Type421 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type422 { get; set; } + public global::Speechify.ToolMockConfig? Type422 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestRequest? Type423 { get; set; } + public global::System.Collections.Generic.IList? Type423 { get; set; } /// /// /// - public global::Speechify.AgentTestConfig? Type424 { get; set; } + public global::Speechify.CreateAgentTestRequest? Type424 { get; set; } /// /// /// - public global::Speechify.AgentTest? Type425 { get; set; } + public global::Speechify.AgentTestConfig? Type425 { get; set; } /// /// /// - public global::Speechify.TestVerdict? Type426 { get; set; } + public global::Speechify.AgentTest? Type426 { get; set; } /// /// /// - public global::Speechify.ReplyResult? Type427 { get; set; } + public global::Speechify.TestVerdict? Type427 { get; set; } /// /// /// - public global::Speechify.ParameterCheckResult? Type428 { get; set; } + public global::Speechify.ReplyResult? Type428 { get; set; } /// /// /// - public global::Speechify.ToolCallResult? Type429 { get; set; } + public global::Speechify.ParameterCheckResult? Type429 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type430 { get; set; } + public global::Speechify.ToolCallResult? Type430 { get; set; } /// /// /// - public global::Speechify.SimulationToolCall? Type431 { get; set; } + public global::System.Collections.Generic.IList? Type431 { get; set; } /// /// /// - public global::Speechify.SimulationResultSentiment? Type432 { get; set; } + public global::Speechify.SimulationToolCall? Type432 { get; set; } /// /// /// - public global::Speechify.SimulationCriterionResultStatus? Type433 { get; set; } + public global::Speechify.SimulationResultSentiment? Type433 { get; set; } /// /// /// - public global::Speechify.SimulationCriterionResult? Type434 { get; set; } + public global::Speechify.SimulationCriterionResultStatus? Type434 { get; set; } /// /// /// - public global::Speechify.DataAssertionResultMode? Type435 { get; set; } + public global::Speechify.SimulationCriterionResult? Type435 { get; set; } /// /// /// - public global::Speechify.DataAssertionResult? Type436 { get; set; } + public global::Speechify.DataAssertionResultMode? Type436 { get; set; } /// /// /// - public global::Speechify.SimulationResult? Type437 { get; set; } + public global::Speechify.DataAssertionResult? Type437 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type438 { get; set; } + public global::Speechify.SimulationResult? Type438 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type439 { get; set; } + public global::System.Collections.Generic.IList? Type439 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type440 { get; set; } + public global::System.Collections.Generic.IList? Type440 { get; set; } /// /// /// - public global::Speechify.TestRunResult? Type441 { get; set; } + public global::System.Collections.Generic.IList? Type441 { get; set; } /// /// /// - public global::Speechify.AgentTestRun? Type442 { get; set; } + public global::Speechify.TestRunResult? Type442 { get; set; } /// /// /// - public global::Speechify.AgentTestWithLastRun? Type443 { get; set; } + public global::Speechify.AgentTestRun? Type443 { get; set; } /// /// /// - public global::Speechify.ListTestsResponse? Type444 { get; set; } + public global::Speechify.AgentTestWithLastRun? Type444 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type445 { get; set; } + public global::Speechify.ListTestsResponse? Type445 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestRequestConfig? Type446 { get; set; } + public global::System.Collections.Generic.IList? Type446 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestRequest? Type447 { get; set; } + public global::Speechify.UpdateAgentTestRequestConfig? Type447 { get; set; } /// /// /// - public global::Speechify.AgentTestFolder? Type448 { get; set; } + public global::Speechify.UpdateAgentTestRequest? Type448 { get; set; } /// /// /// - public global::Speechify.ListAgentTestFoldersResponse? Type449 { get; set; } + public global::Speechify.AgentTestFolder? Type449 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type450 { get; set; } + public global::Speechify.ListAgentTestFoldersResponse? Type450 { get; set; } /// /// /// - public global::Speechify.CreateAgentTestFolderRequest? Type451 { get; set; } + public global::System.Collections.Generic.IList? Type451 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTestFolderRequest? Type452 { get; set; } + public global::Speechify.CreateAgentTestFolderRequest? Type452 { get; set; } /// /// /// - public global::Speechify.ListAgentTestRunsResponse? Type453 { get; set; } + public global::Speechify.UpdateAgentTestFolderRequest? Type453 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type454 { get; set; } + public global::Speechify.ListAgentTestRunsResponse? Type454 { get; set; } /// /// /// - public global::Speechify.RunTarget? Type455 { get; set; } + public global::System.Collections.Generic.IList? Type455 { get; set; } /// /// /// - public global::Speechify.TestRunConfigOverride? Type456 { get; set; } + public global::Speechify.RunTarget? Type456 { get; set; } /// /// /// - public global::Speechify.RunTargetedTestsRequest? Type457 { get; set; } + public global::Speechify.TestRunConfigOverride? Type457 { get; set; } /// /// /// - public global::Speechify.SuiteRunTrigger? Type458 { get; set; } + public global::Speechify.RunTargetedTestsRequest? Type458 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunResults? Type459 { get; set; } + public global::Speechify.SuiteRunTrigger? Type459 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRun? Type460 { get; set; } + public global::Speechify.AgentTestSuiteRunResults? Type460 { get; set; } /// /// /// - public global::Speechify.RunAgentTestsResponse? Type461 { get; set; } + public global::Speechify.AgentTestSuiteRun? Type461 { get; set; } /// /// /// - public global::Speechify.BatchRunEntry? Type462 { get; set; } + public global::Speechify.RunAgentTestsResponse? Type462 { get; set; } /// /// /// - public global::Speechify.RunBatchRequest? Type463 { get; set; } + public global::Speechify.BatchRunEntry? Type463 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type464 { get; set; } + public global::Speechify.RunBatchRequest? Type464 { get; set; } /// /// /// - public global::Speechify.ListSuiteRunsResponse? Type465 { get; set; } + public global::System.Collections.Generic.IList? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::Speechify.ListSuiteRunsResponse? Type466 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunWithRunsResults? Type467 { get; set; } + public global::System.Collections.Generic.IList? Type467 { get; set; } /// /// /// - public global::Speechify.SuiteChildRun? Type468 { get; set; } + public global::Speechify.AgentTestSuiteRunWithRunsResults? Type468 { get; set; } /// /// /// - public global::Speechify.AgentTestSuiteRunWithRuns? Type469 { get; set; } + public global::Speechify.SuiteChildRun? Type469 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type470 { get; set; } + public global::Speechify.AgentTestSuiteRunWithRuns? Type470 { get; set; } /// /// /// - public global::Speechify.RunAllTestsRequest? Type471 { get; set; } + public global::System.Collections.Generic.IList? Type471 { get; set; } /// /// /// - public global::Speechify.TestStatsBucket? Type472 { get; set; } + public global::Speechify.RunAllTestsRequest? Type472 { get; set; } /// /// /// - public global::Speechify.TestStats? Type473 { get; set; } + public global::Speechify.TestStatsBucket? Type473 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type474 { get; set; } + public global::Speechify.TestStats? Type474 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type475 { get; set; } + public global::System.Collections.Generic.IList? Type475 { get; set; } /// /// /// - public global::Speechify.ShareLinkStatus? Type476 { get; set; } + public global::System.Collections.Generic.Dictionary? Type476 { get; set; } /// /// /// - public global::Speechify.ShareLink? Type477 { get; set; } + public global::Speechify.ShareLinkStatus? Type477 { get; set; } /// /// /// - public global::Speechify.ListShareLinksResponse? Type478 { get; set; } + public global::Speechify.ShareLink? Type478 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type479 { get; set; } + public global::Speechify.ListShareLinksResponse? Type479 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkRequest? Type480 { get; set; } + public global::System.Collections.Generic.IList? Type480 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkResponseStatus? Type481 { get; set; } + public global::Speechify.CreateShareLinkRequest? Type481 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkResponse? Type482 { get; set; } + public global::Speechify.CreateShareLinkResponseStatus? Type482 { get; set; } /// /// /// - public global::Speechify.RevealShareLinkTokenResponse? Type483 { get; set; } + public global::Speechify.CreateShareLinkResponse? Type483 { get; set; } /// /// /// - public global::Speechify.ShareLinkPreview? Type484 { get; set; } + public global::Speechify.RevealShareLinkTokenResponse? Type484 { get; set; } /// /// /// - public global::Speechify.CreateShareLinkSessionRequest? Type485 { get; set; } + public global::Speechify.ShareLinkPreview? Type485 { get; set; } /// /// /// - public global::Speechify.ShareLinkSession? Type486 { get; set; } + public global::Speechify.CreateShareLinkSessionRequest? Type486 { get; set; } /// /// /// - public global::Speechify.PhoneNumberProvider? Type487 { get; set; } + public global::Speechify.ShareLinkSession? Type487 { get; set; } /// /// /// - public global::Speechify.PhoneNumberRelayHealth? Type488 { get; set; } + public global::Speechify.PhoneNumberProvider? Type488 { get; set; } /// /// /// - public global::Speechify.PhoneNumberRelay? Type489 { get; set; } + public global::Speechify.PhoneNumberRelayHealth? Type489 { get; set; } /// /// /// - public global::Speechify.PhoneNumberCapability? Type490 { get; set; } + public global::Speechify.PhoneNumberRelay? Type490 { get; set; } /// /// /// - public global::Speechify.PhoneNumberReputationRisk? Type491 { get; set; } + public global::Speechify.PhoneNumberCapability? Type491 { get; set; } /// /// /// - public global::Speechify.PhoneNumberReputation? Type492 { get; set; } + public global::Speechify.PhoneNumberReputationRisk? Type492 { get; set; } /// /// /// - public global::Speechify.PhoneNumber? Type493 { get; set; } + public global::Speechify.PhoneNumberReputation? Type493 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type494 { get; set; } + public global::Speechify.PhoneNumber? Type494 { get; set; } /// /// /// - public global::Speechify.ListPhoneNumbersResponse? Type495 { get; set; } + public global::System.Collections.Generic.IList? Type495 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type496 { get; set; } + public global::Speechify.ListPhoneNumbersResponse? Type496 { get; set; } /// /// /// - public global::Speechify.TwilioImportSpec? Type497 { get; set; } + public global::System.Collections.Generic.IList? Type497 { get; set; } /// /// /// - public global::Speechify.TelnyxImportSpec? Type498 { get; set; } + public global::Speechify.TwilioImportSpec? Type498 { get; set; } /// /// /// - public global::Speechify.ImportPhoneNumberRequest? Type499 { get; set; } + public global::Speechify.TelnyxImportSpec? Type499 { get; set; } /// /// /// - public global::Speechify.PurchasedPhoneNumberProvider? Type500 { get; set; } + public global::Speechify.ImportPhoneNumberRequest? Type500 { get; set; } /// /// /// - public global::Speechify.AvailablePhoneNumber? Type501 { get; set; } + public global::Speechify.PurchasedPhoneNumberProvider? Type501 { get; set; } /// /// /// - public global::Speechify.SearchAvailablePhoneNumbersResponse? Type502 { get; set; } + public global::Speechify.AvailablePhoneNumber? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type503 { get; set; } + public global::Speechify.SearchAvailablePhoneNumbersResponse? Type503 { get; set; } /// /// /// - public global::Speechify.IntendedUseMarketingOrInformational? Type504 { get; set; } + public global::System.Collections.Generic.IList? Type504 { get; set; } /// /// /// - public global::Speechify.IntendedUse? Type505 { get; set; } + public global::Speechify.IntendedUseMarketingOrInformational? Type505 { get; set; } /// /// /// - public global::Speechify.PurchasePhoneNumberRequest? Type506 { get; set; } + public global::Speechify.IntendedUse? Type506 { get; set; } /// /// /// - public global::Speechify.UpdatePhoneNumberRequest? Type507 { get; set; } + public global::Speechify.PurchasePhoneNumberRequest? Type507 { get; set; } /// /// /// - public global::Speechify.CreateOutboundCallRequest? Type508 { get; set; } + public global::Speechify.UpdatePhoneNumberRequest? Type508 { get; set; } /// /// /// - public global::Speechify.CreateOutboundCallResponse? Type509 { get; set; } + public global::Speechify.CreateOutboundCallRequest? Type509 { get; set; } /// /// /// - public global::Speechify.BatchCall? Type510 { get; set; } + public global::Speechify.CreateOutboundCallResponse? Type510 { get; set; } /// /// /// - public global::Speechify.ListBatchCallsResponse? Type511 { get; set; } + public global::Speechify.BatchCall? Type511 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type512 { get; set; } + public global::Speechify.ListBatchCallsResponse? Type512 { get; set; } /// /// /// - public global::Speechify.BatchRecipientRequest? Type513 { get; set; } + public global::System.Collections.Generic.IList? Type513 { get; set; } /// /// /// - public global::Speechify.CreateBatchCallRequest? Type514 { get; set; } + public global::Speechify.BatchRecipientRequest? Type514 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type515 { get; set; } + public global::Speechify.CreateBatchCallRequest? Type515 { get; set; } /// /// /// - public global::Speechify.BatchRecipientStatus? Type516 { get; set; } + public global::System.Collections.Generic.IList? Type516 { get; set; } /// /// /// - public global::Speechify.BatchRecipient? Type517 { get; set; } + public global::Speechify.BatchRecipientStatus? Type517 { get; set; } /// /// /// - public global::Speechify.ListBatchRecipientsResponse? Type518 { get; set; } + public global::Speechify.BatchRecipient? Type518 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type519 { get; set; } + public global::Speechify.ListBatchRecipientsResponse? Type519 { get; set; } /// /// /// - public global::Speechify.IvrMenuListEntryMenuTree? Type520 { get; set; } + public global::System.Collections.Generic.IList? Type520 { get; set; } /// /// /// - public global::Speechify.IVRMenuListEntry? Type521 { get; set; } + public global::Speechify.IvrMenuListEntryMenuTree? Type521 { get; set; } /// /// /// - public global::Speechify.ListIVRMenusResponse? Type522 { get; set; } + public global::Speechify.IVRMenuListEntry? Type522 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type523 { get; set; } + public global::Speechify.ListIVRMenusResponse? Type523 { get; set; } /// /// /// - public global::Speechify.IvrMenuMenuTree? Type524 { get; set; } + public global::System.Collections.Generic.IList? Type524 { get; set; } /// /// /// - public global::Speechify.IVRMenu? Type525 { get; set; } + public global::Speechify.IvrMenuMenuTree? Type525 { get; set; } /// /// /// - public global::Speechify.UpdateIVRMenuLabelRequest? Type526 { get; set; } + public global::Speechify.IVRMenu? Type526 { get; set; } /// /// /// - public global::Speechify.InvalidateIVRMenuRequest? Type527 { get; set; } + public global::Speechify.UpdateIVRMenuLabelRequest? Type527 { get; set; } /// /// /// - public global::Speechify.SIPTrunkProvider? Type528 { get; set; } + public global::Speechify.InvalidateIVRMenuRequest? Type528 { get; set; } /// /// /// - public global::Speechify.SIPTrunkDirection? Type529 { get; set; } + public global::Speechify.SIPTrunkProvider? Type529 { get; set; } /// /// /// - public global::Speechify.SIPTransport? Type530 { get; set; } + public global::Speechify.SIPTrunkDirection? Type530 { get; set; } /// /// /// - public global::Speechify.SIPMediaEncryption? Type531 { get; set; } + public global::Speechify.SIPTransport? Type531 { get; set; } /// /// /// - public global::Speechify.SIPTrunk? Type532 { get; set; } + public global::Speechify.SIPMediaEncryption? Type532 { get; set; } /// /// /// - public global::Speechify.ListSIPTrunksResponse? Type533 { get; set; } + public global::Speechify.SIPTrunk? Type533 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type534 { get; set; } + public global::Speechify.ListSIPTrunksResponse? Type534 { get; set; } /// /// /// - public global::Speechify.CreateSipTrunkRequestCredentials? Type535 { get; set; } + public global::System.Collections.Generic.IList? Type535 { get; set; } /// /// /// - public global::Speechify.CreateSIPTrunkRequest? Type536 { get; set; } + public global::Speechify.CreateSipTrunkRequestCredentials? Type536 { get; set; } /// /// /// - public global::Speechify.Caller? Type537 { get; set; } + public global::Speechify.CreateSIPTrunkRequest? Type537 { get; set; } /// /// /// - public global::Speechify.ListCallersResponse? Type538 { get; set; } + public global::Speechify.Caller? Type538 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type539 { get; set; } + public global::Speechify.ListCallersResponse? Type539 { get; set; } /// /// /// - public global::Speechify.UpdateCallerRequest? Type540 { get; set; } + public global::System.Collections.Generic.IList? Type540 { get; set; } /// /// /// - public global::Speechify.DeleteCallerResponse? Type541 { get; set; } + public global::Speechify.UpdateCallerRequest? Type541 { get; set; } /// /// /// - public global::Speechify.ListCallerConversationsResponse? Type542 { get; set; } + public global::Speechify.DeleteCallerResponse? Type542 { get; set; } /// /// /// - public global::Speechify.ListCallerMemoriesResponse? Type543 { get; set; } + public global::Speechify.ListCallerConversationsResponse? Type543 { get; set; } /// /// /// - public global::Speechify.AudioAsset? Type544 { get; set; } + public global::Speechify.ListCallerMemoriesResponse? Type544 { get; set; } /// /// /// - public global::Speechify.ListAudioAssetsResponse? Type545 { get; set; } + public global::Speechify.AudioAsset? Type545 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type546 { get; set; } + public global::Speechify.ListAudioAssetsResponse? Type546 { get; set; } /// /// /// - public global::Speechify.TeamMember? Type547 { get; set; } + public global::System.Collections.Generic.IList? Type547 { get; set; } /// /// /// - public global::Speechify.Team? Type548 { get; set; } + public global::Speechify.TeamMember? Type548 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type549 { get; set; } + public global::Speechify.Team? Type549 { get; set; } /// /// /// - public global::Speechify.ListTeamsResponse? Type550 { get; set; } + public global::System.Collections.Generic.IList? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type551 { get; set; } + public global::Speechify.ListTeamsResponse? Type551 { get; set; } /// /// /// - public global::Speechify.TeamMemberInput? Type552 { get; set; } + public global::System.Collections.Generic.IList? Type552 { get; set; } /// /// /// - public global::Speechify.CreateTeamRequest? Type553 { get; set; } + public global::Speechify.TeamMemberInput? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::Speechify.CreateTeamRequest? Type554 { get; set; } /// /// /// - public global::Speechify.UpdateTeamRequest? Type555 { get; set; } + public global::System.Collections.Generic.IList? Type555 { get; set; } /// /// /// - public global::Speechify.CreateTeamRunRequest? Type556 { get; set; } + public global::Speechify.UpdateTeamRequest? Type556 { get; set; } /// /// /// - public global::Speechify.AgentTriggerType? Type557 { get; set; } + public global::Speechify.CreateTeamRunRequest? Type557 { get; set; } /// /// /// - public global::Speechify.TriggerRunSpec? Type558 { get; set; } + public global::Speechify.AgentTriggerType? Type558 { get; set; } /// /// /// - public global::Speechify.TriggerScheduleConfig? Type559 { get; set; } + public global::Speechify.TriggerRunSpec? Type559 { get; set; } /// /// /// - public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type560 { get; set; } + public global::Speechify.TriggerScheduleConfig? Type560 { get; set; } /// /// /// - public global::Speechify.TriggerWebhookConfig? Type561 { get; set; } + public global::Speechify.TriggerWebhookConfigUserIdentitySource? Type561 { get; set; } /// /// /// - public global::Speechify.AgentTriggerLastFireStatus? Type562 { get; set; } + public global::Speechify.TriggerWebhookConfig? Type562 { get; set; } /// /// /// - public global::Speechify.AgentTrigger? Type563 { get; set; } + public global::Speechify.AgentTriggerLastFireStatus? Type563 { get; set; } /// /// /// - public global::Speechify.ListAgentTriggersResponse? Type564 { get; set; } + public global::Speechify.AgentTrigger? Type564 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type565 { get; set; } + public global::Speechify.ListAgentTriggersResponse? Type565 { get; set; } /// /// /// - public global::Speechify.CreateAgentTriggerRequestType? Type566 { get; set; } + public global::System.Collections.Generic.IList? Type566 { get; set; } /// /// /// - public global::Speechify.CreateAgentTriggerRequest? Type567 { get; set; } + public global::Speechify.CreateAgentTriggerRequestType? Type567 { get; set; } /// /// /// - public global::Speechify.UpdateAgentTriggerRequest? Type568 { get; set; } + public global::Speechify.CreateAgentTriggerRequest? Type568 { get; set; } /// /// /// - public global::Speechify.AgentTriggerFireResponseStatus? Type569 { get; set; } + public global::Speechify.UpdateAgentTriggerRequest? Type569 { get; set; } /// /// /// - public global::Speechify.AgentTriggerFireResponse? Type570 { get; set; } + public global::Speechify.AgentTriggerFireResponseStatus? Type570 { get; set; } /// /// /// - public global::Speechify.Skill? Type571 { get; set; } + public global::Speechify.AgentTriggerFireResponse? Type571 { get; set; } /// /// /// - public global::Speechify.ListSkillsResponse? Type572 { get; set; } + public global::Speechify.Skill? Type572 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type573 { get; set; } + public global::Speechify.ListSkillsResponse? Type573 { get; set; } /// /// /// - public global::Speechify.CreateSkillRequest? Type574 { get; set; } + public global::System.Collections.Generic.IList? Type574 { get; set; } /// /// /// - public global::Speechify.UpdateSkillRequest? Type575 { get; set; } + public global::Speechify.CreateSkillRequest? Type575 { get; set; } /// /// /// - public global::Speechify.SkillVersion? Type576 { get; set; } + public global::Speechify.UpdateSkillRequest? Type576 { get; set; } /// /// /// - public global::Speechify.ListSkillVersionsResponse? Type577 { get; set; } + public global::Speechify.SkillVersion? Type577 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type578 { get; set; } + public global::Speechify.ListSkillVersionsResponse? Type578 { get; set; } /// /// /// - public global::Speechify.AgentSkill? Type579 { get; set; } + public global::System.Collections.Generic.IList? Type579 { get; set; } /// /// /// - public global::Speechify.ListAgentSkillsResponse? Type580 { get; set; } + public global::Speechify.AgentSkill? Type580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type581 { get; set; } + public global::Speechify.ListAgentSkillsResponse? Type581 { get; set; } /// /// /// - public global::Speechify.AttachSkillRequest? Type582 { get; set; } + public global::System.Collections.Generic.IList? Type582 { get; set; } /// /// /// - public global::Speechify.UpdateAgentSkillRequest? Type583 { get; set; } + public global::Speechify.AttachSkillRequest? Type583 { get; set; } /// /// /// - public global::Speechify.V1FilesGetParametersKind? Type584 { get; set; } + public global::Speechify.UpdateAgentSkillRequest? Type584 { get; set; } /// /// /// - public global::Speechify.FileKind? Type585 { get; set; } + public global::Speechify.V1FilesGetParametersKind? Type585 { get; set; } /// /// /// - public global::Speechify.FileSource? Type586 { get; set; } + public global::Speechify.FileKind? Type586 { get; set; } /// /// /// - public global::Speechify.File? Type587 { get; set; } + public global::Speechify.FileSource? Type587 { get; set; } /// /// /// - public global::Speechify.ListFilesResponse? Type588 { get; set; } + public global::Speechify.File? Type588 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type589 { get; set; } + public global::Speechify.ListFilesResponse? Type589 { get; set; } /// /// /// - public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type590 { get; set; } + public global::System.Collections.Generic.IList? Type590 { get; set; } /// /// /// - public global::Speechify.Store? Type591 { get; set; } + public global::Speechify.V1FilesPostRequestBodyContentMultipartFormDataSchemaKind? Type591 { get; set; } /// /// /// - public global::Speechify.ListStoresResponse? Type592 { get; set; } + public global::Speechify.Store? Type592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type593 { get; set; } + public global::Speechify.ListStoresResponse? Type593 { get; set; } /// /// /// - public global::Speechify.CreateStoreRequest? Type594 { get; set; } + public global::System.Collections.Generic.IList? Type594 { get; set; } /// /// /// - public global::Speechify.UpdateStoreRequest? Type595 { get; set; } + public global::Speechify.CreateStoreRequest? Type595 { get; set; } /// /// /// - public global::Speechify.StoreCollection? Type596 { get; set; } + public global::Speechify.UpdateStoreRequest? Type596 { get; set; } /// /// /// - public global::Speechify.ListStoreCollectionsResponse? Type597 { get; set; } + public global::Speechify.StoreCollection? Type597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type598 { get; set; } + public global::Speechify.ListStoreCollectionsResponse? Type598 { get; set; } /// /// /// - public global::Speechify.StoreDocumentSource? Type599 { get; set; } + public global::System.Collections.Generic.IList? Type599 { get; set; } /// /// /// - public global::Speechify.StoreDocument? Type600 { get; set; } + public global::Speechify.StoreDocumentSource? Type600 { get; set; } /// /// /// - public global::Speechify.QueryStoreDocumentsResponse? Type601 { get; set; } + public global::Speechify.StoreDocument? Type601 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type602 { get; set; } + public global::Speechify.QueryStoreDocumentsResponse? Type602 { get; set; } /// /// /// - public global::Speechify.WriteStoreDocumentRequest? Type603 { get; set; } + public global::System.Collections.Generic.IList? Type603 { get; set; } /// /// /// - public global::Speechify.StoreWhereClauseOp? Type604 { get; set; } + public global::Speechify.WriteStoreDocumentRequest? Type604 { get; set; } /// /// /// - public global::Speechify.StoreWhereClause? Type605 { get; set; } + public global::Speechify.StoreWhereClauseOp? Type605 { get; set; } /// /// /// - public global::Speechify.StoreOrderByDirection? Type606 { get; set; } + public global::Speechify.StoreWhereClause? Type606 { get; set; } /// /// /// - public global::Speechify.StoreOrderBy? Type607 { get; set; } + public global::Speechify.StoreOrderByDirection? Type607 { get; set; } /// /// /// - public global::Speechify.StoreDocumentQuery? Type608 { get; set; } + public global::Speechify.StoreOrderBy? Type608 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type609 { get; set; } + public global::Speechify.StoreDocumentQuery? Type609 { get; set; } /// /// /// - public global::Speechify.StoreBatchWriteOp? Type610 { get; set; } + public global::System.Collections.Generic.IList? Type610 { get; set; } /// /// /// - public global::Speechify.StoreBatchWrite? Type611 { get; set; } + public global::Speechify.StoreBatchWriteOp? Type611 { get; set; } /// /// /// - public global::Speechify.StoreBatchRequest? Type612 { get; set; } + public global::Speechify.StoreBatchWrite? Type612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type613 { get; set; } + public global::Speechify.StoreBatchRequest? Type613 { get; set; } /// /// /// - public global::Speechify.StoreBatchResultOp? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::Speechify.StoreBatchResult? Type615 { get; set; } + public global::Speechify.StoreBatchResultOp? Type615 { get; set; } /// /// /// - public global::Speechify.StoreBatchResponse? Type616 { get; set; } + public global::Speechify.StoreBatchResult? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::Speechify.StoreBatchResponse? Type617 { get; set; } /// /// /// - public global::Speechify.ListAgentStoresResponse? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } /// /// /// - public global::Speechify.HostedApiAuthMode? Type619 { get; set; } + public global::Speechify.ListAgentStoresResponse? Type619 { get; set; } /// /// /// - public global::Speechify.HostedAPI? Type620 { get; set; } + public global::Speechify.HostedApiAuthMode? Type620 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIsResponse? Type621 { get; set; } + public global::Speechify.HostedAPI? Type621 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type622 { get; set; } + public global::Speechify.ListHostedAPIsResponse? Type622 { get; set; } /// /// /// - public global::Speechify.CreateHostedApiRequestAuthMode? Type623 { get; set; } + public global::System.Collections.Generic.IList? Type623 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIRequest? Type624 { get; set; } + public global::Speechify.CreateHostedApiRequestAuthMode? Type624 { get; set; } /// /// /// - public global::Speechify.UpdateHostedApiRequestAuthMode? Type625 { get; set; } + public global::Speechify.CreateHostedAPIRequest? Type625 { get; set; } /// /// /// - public global::Speechify.UpdateHostedAPIRequest? Type626 { get; set; } + public global::Speechify.UpdateHostedApiRequestAuthMode? Type626 { get; set; } /// /// /// - public global::Speechify.HostedApiRouteMethod? Type627 { get; set; } + public global::Speechify.UpdateHostedAPIRequest? Type627 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverType? Type628 { get; set; } + public global::Speechify.HostedApiRouteMethod? Type628 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverWhereItemsOp? Type629 { get; set; } + public global::Speechify.HostedApiResolverType? Type629 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverWhereItems? Type630 { get; set; } + public global::Speechify.HostedApiResolverWhereItemsOp? Type630 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverOrderByDirection? Type631 { get; set; } + public global::Speechify.HostedApiResolverWhereItems? Type631 { get; set; } /// /// /// - public global::Speechify.HostedApiResolverOrderBy? Type632 { get; set; } + public global::Speechify.HostedApiResolverOrderByDirection? Type632 { get; set; } /// /// /// - public global::Speechify.HostedAPIResolver? Type633 { get; set; } + public global::Speechify.HostedApiResolverOrderBy? Type633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type634 { get; set; } + public global::Speechify.HostedAPIResolver? Type634 { get; set; } /// /// /// - public global::Speechify.HostedAPIRoute? Type635 { get; set; } + public global::System.Collections.Generic.IList? Type635 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIRoutesResponse? Type636 { get; set; } + public global::Speechify.HostedAPIRoute? Type636 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type637 { get; set; } + public global::Speechify.ListHostedAPIRoutesResponse? Type637 { get; set; } /// /// /// - public global::Speechify.CreateHostedApiRouteRequestMethod? Type638 { get; set; } + public global::System.Collections.Generic.IList? Type638 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIRouteRequest? Type639 { get; set; } + public global::Speechify.CreateHostedApiRouteRequestMethod? Type639 { get; set; } /// /// /// - public global::Speechify.UpdateHostedApiRouteRequestMethod? Type640 { get; set; } + public global::Speechify.CreateHostedAPIRouteRequest? Type640 { get; set; } /// /// /// - public global::Speechify.UpdateHostedAPIRouteRequest? Type641 { get; set; } + public global::Speechify.UpdateHostedApiRouteRequestMethod? Type641 { get; set; } /// /// /// - public global::Speechify.HostedAPIKey? Type642 { get; set; } + public global::Speechify.UpdateHostedAPIRouteRequest? Type642 { get; set; } /// /// /// - public global::Speechify.ListHostedAPIKeysResponse? Type643 { get; set; } + public global::Speechify.HostedAPIKey? Type643 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type644 { get; set; } + public global::Speechify.ListHostedAPIKeysResponse? Type644 { get; set; } /// /// /// - public global::Speechify.CreateHostedAPIKeyRequest? Type645 { get; set; } + public global::System.Collections.Generic.IList? Type645 { get; set; } /// /// /// - public global::Speechify.ContactIdentifierKind? Type646 { get; set; } + public global::Speechify.CreateHostedAPIKeyRequest? Type646 { get; set; } /// /// /// - public global::Speechify.ContactIdentifierAssertedBy? Type647 { get; set; } + public global::Speechify.ContactIdentifierKind? Type647 { get; set; } /// /// /// - public global::Speechify.ContactIdentifier? Type648 { get; set; } + public global::Speechify.ContactIdentifierAssertedBy? Type648 { get; set; } /// /// /// - public global::Speechify.Contact? Type649 { get; set; } + public global::Speechify.ContactIdentifier? Type649 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type650 { get; set; } + public global::Speechify.Contact? Type650 { get; set; } /// /// /// - public global::Speechify.ListContactsResponse? Type651 { get; set; } + public global::System.Collections.Generic.IList? Type651 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type652 { get; set; } + public global::Speechify.ListContactsResponse? Type652 { get; set; } /// /// /// - public global::Speechify.UpdateContactRequest? Type653 { get; set; } + public global::System.Collections.Generic.IList? Type653 { get; set; } /// /// /// - public global::Speechify.DeleteContactResponse? Type654 { get; set; } + public global::Speechify.UpdateContactRequest? Type654 { get; set; } /// /// /// - public global::Speechify.AttachContactIdentifierRequestKind? Type655 { get; set; } + public global::Speechify.DeleteContactResponse? Type655 { get; set; } /// /// /// - public global::Speechify.AttachContactIdentifierRequest? Type656 { get; set; } + public global::Speechify.AttachContactIdentifierRequestKind? Type656 { get; set; } /// /// /// - public global::Speechify.MergeContactsRequest? Type657 { get; set; } + public global::Speechify.AttachContactIdentifierRequest? Type657 { get; set; } /// /// /// - public global::Speechify.MergeContactsResponseMerged? Type658 { get; set; } + public global::Speechify.MergeContactsRequest? Type658 { get; set; } /// /// /// - public global::Speechify.MergeContactsResponse? Type659 { get; set; } + public global::Speechify.MergeContactsResponseMerged? Type659 { get; set; } /// /// /// - public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type660 { get; set; } + public global::Speechify.MergeContactsResponse? Type660 { get; set; } /// /// /// - public global::Speechify.BillingEntitlements? Type661 { get; set; } + public global::Speechify.BillingEntitlementsMaxLlmModelClass? Type661 { get; set; } /// /// /// - public global::Speechify.EntitlementsResponse? Type662 { get; set; } + public global::Speechify.BillingEntitlements? Type662 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type663 { get; set; } + public global::Speechify.EntitlementsResponse? Type663 { get; set; } /// /// /// - public global::Speechify.ContactResolver? Type664 { get; set; } + public global::System.Collections.Generic.Dictionary? Type664 { get; set; } /// /// /// - public global::Speechify.PutContactResolverRequest? Type665 { get; set; } + public global::Speechify.ContactResolver? Type665 { get; set; } /// /// /// - public global::Speechify.WebhookEndpoint? Type666 { get; set; } + public global::Speechify.PutContactResolverRequest? Type666 { get; set; } /// /// /// - public global::Speechify.ListWebhookEndpointsResponse? Type667 { get; set; } + public global::Speechify.WebhookEndpoint? Type667 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type668 { get; set; } + public global::Speechify.ListWebhookEndpointsResponse? Type668 { get; set; } /// /// /// - public global::Speechify.CreateWebhookEndpointRequest? Type669 { get; set; } + public global::System.Collections.Generic.IList? Type669 { get; set; } /// /// /// - public global::Speechify.UpdateWebhookEndpointRequest? Type670 { get; set; } + public global::Speechify.CreateWebhookEndpointRequest? Type670 { get; set; } /// /// /// - public global::Speechify.WebhookEndpointDelivery? Type671 { get; set; } + public global::Speechify.UpdateWebhookEndpointRequest? Type671 { get; set; } /// /// /// - public global::Speechify.ListWebhookEndpointDeliveriesResponse? Type672 { get; set; } + public global::Speechify.WebhookEndpointDelivery? Type672 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type673 { get; set; } + public global::Speechify.ListWebhookEndpointDeliveriesResponse? Type673 { get; set; } /// /// /// - public global::Speechify.Project? Type674 { get; set; } + public global::System.Collections.Generic.IList? Type674 { get; set; } /// /// /// - public global::Speechify.ListProjectsResponse? Type675 { get; set; } + public global::Speechify.Project? Type675 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type676 { get; set; } + public global::Speechify.ListProjectsResponse? Type676 { get; set; } /// /// /// - public global::Speechify.CreateProjectRequest? Type677 { get; set; } + public global::System.Collections.Generic.IList? Type677 { get; set; } /// /// /// - public global::Speechify.UpdateProjectRequest? Type678 { get; set; } + public global::Speechify.CreateProjectRequest? Type678 { get; set; } /// /// /// - public global::Speechify.DeleteProjectRequestMode? Type679 { get; set; } + public global::Speechify.UpdateProjectRequest? Type679 { get; set; } /// /// /// - public global::Speechify.DeleteProjectRequest? Type680 { get; set; } + public global::Speechify.DeleteProjectRequestMode? Type680 { get; set; } /// /// /// - public global::Speechify.ProjectRestoredCounts? Type681 { get; set; } + public global::Speechify.DeleteProjectRequest? Type681 { get; set; } /// /// /// - public global::Speechify.ProjectStillRevokedCounts? Type682 { get; set; } + public global::Speechify.ProjectRestoredCounts? Type682 { get; set; } /// /// /// - public global::Speechify.ProjectRestore? Type683 { get; set; } + public global::Speechify.ProjectStillRevokedCounts? Type683 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlockerKind? Type684 { get; set; } + public global::Speechify.ProjectRestore? Type684 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlockerBlocksItems? Type685 { get; set; } + public global::Speechify.ProjectTeardownBlockerKind? Type685 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownBlocker? Type686 { get; set; } + public global::Speechify.ProjectTeardownBlockerBlocksItems? Type686 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type687 { get; set; } + public global::Speechify.ProjectTeardownBlocker? Type687 { get; set; } /// /// /// - public global::Speechify.ProjectTeardownGroup? Type688 { get; set; } + public global::System.Collections.Generic.IList? Type688 { get; set; } /// /// /// - public global::Speechify.ProjectTeardown? Type689 { get; set; } + public global::Speechify.ProjectTeardownGroup? Type689 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type690 { get; set; } + public global::Speechify.ProjectTeardown? Type690 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type691 { get; set; } + public global::System.Collections.Generic.IList? Type691 { get; set; } /// /// /// - public global::Speechify.ProjectResourceCounts? Type692 { get; set; } + public global::System.Collections.Generic.IList? Type692 { get; set; } /// /// /// - public global::Speechify.ProjectStats? Type693 { get; set; } + public global::Speechify.ProjectResourceCounts? Type693 { get; set; } /// /// /// - public global::Speechify.PromoteProjectRequest? Type694 { get; set; } + public global::Speechify.ProjectStats? Type694 { get; set; } /// /// /// - public global::Speechify.PromoteCreated? Type695 { get; set; } + public global::Speechify.PromoteProjectRequest? Type695 { get; set; } /// /// /// - public global::Speechify.PromoteReused? Type696 { get; set; } + public global::Speechify.PromoteCreated? Type696 { get; set; } /// /// /// - public global::Speechify.PromoteAttentionKind? Type697 { get; set; } + public global::Speechify.PromoteReused? Type697 { get; set; } /// /// /// - public global::Speechify.PromoteAttentionReason? Type698 { get; set; } + public global::Speechify.PromoteAttentionKind? Type698 { get; set; } /// /// /// - public global::Speechify.PromoteAttention? Type699 { get; set; } + public global::Speechify.PromoteAttentionReason? Type699 { get; set; } /// /// /// - public global::Speechify.PromoteProjectResponse? Type700 { get; set; } + public global::Speechify.PromoteAttention? Type700 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type701 { get; set; } + public global::Speechify.PromoteProjectResponse? Type701 { get; set; } /// /// /// - public global::Speechify.ProjectAuditEventType? Type702 { get; set; } + public global::System.Collections.Generic.IList? Type702 { get; set; } /// /// /// - public global::Speechify.ProjectAuditEvent? Type703 { get; set; } + public global::Speechify.ProjectAuditEventType? Type703 { get; set; } /// /// /// - public global::Speechify.ProjectAuditResponse? Type704 { get; set; } + public global::Speechify.ProjectAuditEvent? Type704 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type705 { get; set; } + public global::Speechify.ProjectAuditResponse? Type705 { get; set; } /// /// /// - public global::Speechify.ProjectMember? Type706 { get; set; } + public global::System.Collections.Generic.IList? Type706 { get; set; } /// /// /// - public global::Speechify.ProjectMembersResponse? Type707 { get; set; } + public global::Speechify.ProjectMember? Type707 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type708 { get; set; } + public global::Speechify.ProjectMembersResponse? Type708 { get; set; } /// /// /// - public global::Speechify.GrantProjectMemberRequest? Type709 { get; set; } + public global::System.Collections.Generic.IList? Type709 { get; set; } /// /// /// - public global::Speechify.CreateRequest? Type710 { get; set; } + public global::Speechify.GrantProjectMemberRequest? Type710 { get; set; } /// /// /// - public global::Speechify.DetectRequest? Type711 { get; set; } + public global::Speechify.CreateRequest? Type711 { get; set; } /// /// /// - public global::Speechify.VerifyRequest? Type712 { get; set; } + public global::Speechify.DetectRequest? Type712 { get; set; } /// /// /// - public global::Speechify.UploadDocumentRequest? Type713 { get; set; } + public global::Speechify.VerifyRequest? Type713 { get; set; } /// /// /// - public global::Speechify.UpdateDocumentRequest? Type714 { get; set; } + public global::Speechify.UploadDocumentRequest? Type714 { get; set; } /// /// /// - public global::Speechify.RunTestRequest? Type715 { get; set; } + public global::Speechify.UpdateDocumentRequest? Type715 { get; set; } /// /// /// - public global::Speechify.UploadRequest? Type716 { get; set; } + public global::Speechify.RunTestRequest? Type716 { get; set; } /// /// /// - public global::Speechify.UploadRequest2? Type717 { get; set; } + public global::Speechify.UploadRequest? Type717 { get; set; } + /// + /// + /// + public global::Speechify.UploadRequest2? Type718 { get; set; } /// /// diff --git a/src/libs/Speechify/Generated/Speechify.Models.BillingEntitlements.g.cs b/src/libs/Speechify/Generated/Speechify.Models.BillingEntitlements.g.cs index 231b2c26..784db495 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.BillingEntitlements.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.BillingEntitlements.g.cs @@ -137,6 +137,29 @@ public sealed partial class BillingEntitlements [global::System.Text.Json.Serialization.JsonRequired] public required bool TextAgentAccess { get; set; } + /// + /// Text conversations the workspace may be ANSWERING at once, across
+ /// every channel that runs on the text runtime (the API text channel
+ /// and Slack alike); 0 means uncapped. A conversation consumes a slot
+ /// only while a turn is in flight and gives it back when the turn
+ /// finishes, so opening or holding open a conversation costs nothing
+ /// against this. Sending a message while the workspace is at the cap
+ /// returns 429 concurrency_limit_reached with `Retry-After`, and
+ /// retrying works: slots free as turns complete. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("text_agent_max_concurrent_conversations")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TextAgentMaxConcurrentConversations { get; set; } + + /// + /// Billed text turns the workspace may process per calendar month
+ /// (UTC); 0 means uncapped. Past it a turn returns 402
+ /// text_message_quota_exceeded until the month rolls over. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("text_agent_monthly_message_cap")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int TextAgentMonthlyMessageCap { get; set; } + /// /// Whether the workspace may start and read durable async agent runs,
/// including the approvals they raise and team runs. When false, those
@@ -338,6 +361,21 @@ public sealed partial class BillingEntitlements /// channel. When false, enabling the text channel or opening a text
/// conversation returns 402 text_channel_not_in_plan. /// + /// + /// Text conversations the workspace may be ANSWERING at once, across
+ /// every channel that runs on the text runtime (the API text channel
+ /// and Slack alike); 0 means uncapped. A conversation consumes a slot
+ /// only while a turn is in flight and gives it back when the turn
+ /// finishes, so opening or holding open a conversation costs nothing
+ /// against this. Sending a message while the workspace is at the cap
+ /// returns 429 concurrency_limit_reached with `Retry-After`, and
+ /// retrying works: slots free as turns complete. + /// + /// + /// Billed text turns the workspace may process per calendar month
+ /// (UTC); 0 means uncapped. Past it a turn returns 402
+ /// text_message_quota_exceeded until the month rolls over. + /// /// /// Whether the workspace may start and read durable async agent runs,
/// including the approvals they raise and team runs. When false, those
@@ -429,6 +467,8 @@ public BillingEntitlements( bool customLlmEndpoint, bool waymarkAccess, bool textAgentAccess, + int textAgentMaxConcurrentConversations, + int textAgentMonthlyMessageCap, bool durableRunsAccess, int maxRunTurns, bool slackChannelAccess, @@ -463,6 +503,8 @@ public BillingEntitlements( this.CustomLlmEndpoint = customLlmEndpoint; this.WaymarkAccess = waymarkAccess; this.TextAgentAccess = textAgentAccess; + this.TextAgentMaxConcurrentConversations = textAgentMaxConcurrentConversations; + this.TextAgentMonthlyMessageCap = textAgentMonthlyMessageCap; this.DurableRunsAccess = durableRunsAccess; this.MaxRunTurns = maxRunTurns; this.SlackChannelAccess = slackChannelAccess; diff --git a/src/libs/Speechify/Generated/Speechify.Models.ConversationStats.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ConversationStats.g.cs index c1567881..9573c8ea 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ConversationStats.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ConversationStats.g.cs @@ -43,6 +43,17 @@ public sealed partial class ConversationStats [global::System.Text.Json.Serialization.JsonRequired] public required long Pending { get; set; } + /// + /// Conversations that are a realtime session in progress - a call you
+ /// could listen to or end. A strict subset of `active` + `pending`,
+ /// and deliberately smaller: a text conversation stays non-terminal
+ /// for as long as the person might return to the thread, so it is
+ /// open rather than live and is not counted here. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("live")] + [global::System.Text.Json.Serialization.JsonRequired] + public required long Live { get; set; } + /// /// /// @@ -69,6 +80,13 @@ public sealed partial class ConversationStats /// /// /// + /// + /// Conversations that are a realtime session in progress - a call you
+ /// could listen to or end. A strict subset of `active` + `pending`,
+ /// and deliberately smaller: a text conversation stays non-terminal
+ /// for as long as the person might return to the thread, so it is
+ /// open rather than live and is not counted here. + /// /// /// #if NET7_0_OR_GREATER @@ -80,6 +98,7 @@ public ConversationStats( long failed, long active, long pending, + long live, double? avgDurationMs, double? avgCostCents) { @@ -88,6 +107,7 @@ public ConversationStats( this.Failed = failed; this.Active = active; this.Pending = pending; + this.Live = live; this.AvgDurationMs = avgDurationMs; this.AvgCostCents = avgCostCents; } diff --git a/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequest.g.cs b/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequest.g.cs index 19d43ca9..5d06397e 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequest.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequest.g.cs @@ -4,18 +4,19 @@ namespace Speechify { /// - /// Optional body for DELETE /v1/projects/{project_id}. Omit it, or send
- /// `mode: detach`, for the default delete that keeps every resource and
- /// moves it to the Default project. Send `mode: purge` with `confirm`
- /// equal to the project's exact name to remove the project with its
- /// contents. + /// Optional body for DELETE /v1/projects/{project_id}. Omit it to delete
+ /// a project that holds nothing - one that holds something is refused
+ /// with `409 project_not_empty` naming what is inside. Send
+ /// `mode: detach` to keep every resource and move it to the Default
+ /// project, or `mode: purge` with `confirm` equal to the project's exact
+ /// name to remove the project with its contents. ///
public sealed partial class DeleteProjectRequest { /// - /// `detach` removes the grouping row only; `purge` removes the
- /// project with its contents.
- /// Default Value: detach + /// `detach` removes the grouping row only and moves every resource
+ /// to the Default project; `purge` removes the project with its
+ /// contents. Omitted, the delete removes only an empty project. ///
[global::System.Text.Json.Serialization.JsonPropertyName("mode")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Speechify.JsonConverters.DeleteProjectRequestModeJsonConverter))] @@ -38,9 +39,9 @@ public sealed partial class DeleteProjectRequest /// Initializes a new instance of the class. ///
/// - /// `detach` removes the grouping row only; `purge` removes the
- /// project with its contents.
- /// Default Value: detach + /// `detach` removes the grouping row only and moves every resource
+ /// to the Default project; `purge` removes the project with its
+ /// contents. Omitted, the delete removes only an empty project. /// /// /// Required for `purge`: the project's name, exactly as returned by
diff --git a/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequestMode.g.cs b/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequestMode.g.cs index 6b13aa5b..4da699d4 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequestMode.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.DeleteProjectRequestMode.g.cs @@ -4,9 +4,9 @@ namespace Speechify { /// - /// `detach` removes the grouping row only; `purge` removes the
- /// project with its contents.
- /// Default Value: detach + /// `detach` removes the grouping row only and moves every resource
+ /// to the Default project; `purge` removes the project with its
+ /// contents. Omitted, the delete removes only an empty project. ///
public enum DeleteProjectRequestMode { diff --git a/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs index 8afe0440..2fcb5f38 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ErrorCode.g.cs @@ -44,6 +44,10 @@ public enum ErrorCode /// /// /// + AgentPublishGateToolUnreachable, + /// + /// + /// AgentPublishGateUnavailable, /// /// @@ -348,6 +352,10 @@ public enum ErrorCode /// /// /// + ProjectNotEmpty, + /// + /// + /// ProjectNotFound, /// /// @@ -606,6 +614,7 @@ public static string ToValueString(this ErrorCode value) ErrorCode.AgentNotFound => "agent_not_found", ErrorCode.AgentPublishGateFailed => "agent_publish_gate_failed", ErrorCode.AgentPublishGateRequired => "agent_publish_gate_required", + ErrorCode.AgentPublishGateToolUnreachable => "agent_publish_gate_tool_unreachable", ErrorCode.AgentPublishGateUnavailable => "agent_publish_gate_unavailable", ErrorCode.AgentRunActionStale => "agent_run_action_stale", ErrorCode.AgentRunNotFound => "agent_run_not_found", @@ -682,6 +691,7 @@ public static string ToValueString(this ErrorCode value) ErrorCode.ProjectLimitReached => "project_limit_reached", ErrorCode.ProjectNameTaken => "project_name_taken", ErrorCode.ProjectNotArchived => "project_not_archived", + ErrorCode.ProjectNotEmpty => "project_not_empty", ErrorCode.ProjectNotFound => "project_not_found", ErrorCode.ProjectNotPurged => "project_not_purged", ErrorCode.ProjectRestoreWindowExpired => "project_restore_window_expired", @@ -759,6 +769,7 @@ public static string ToValueString(this ErrorCode value) "agent_not_found" => ErrorCode.AgentNotFound, "agent_publish_gate_failed" => ErrorCode.AgentPublishGateFailed, "agent_publish_gate_required" => ErrorCode.AgentPublishGateRequired, + "agent_publish_gate_tool_unreachable" => ErrorCode.AgentPublishGateToolUnreachable, "agent_publish_gate_unavailable" => ErrorCode.AgentPublishGateUnavailable, "agent_run_action_stale" => ErrorCode.AgentRunActionStale, "agent_run_not_found" => ErrorCode.AgentRunNotFound, @@ -835,6 +846,7 @@ public static string ToValueString(this ErrorCode value) "project_limit_reached" => ErrorCode.ProjectLimitReached, "project_name_taken" => ErrorCode.ProjectNameTaken, "project_not_archived" => ErrorCode.ProjectNotArchived, + "project_not_empty" => ErrorCode.ProjectNotEmpty, "project_not_found" => ErrorCode.ProjectNotFound, "project_not_purged" => ErrorCode.ProjectNotPurged, "project_restore_window_expired" => ErrorCode.ProjectRestoreWindowExpired, diff --git a/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdict.g.cs b/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdict.g.cs index 40a4d7e1..33282e67 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdict.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdict.g.cs @@ -58,6 +58,21 @@ public sealed partial class EvaluationCaseVerdict [global::System.Text.Json.Serialization.JsonRequired] public required long DurationMs { get; set; } + /// + /// Who could not run this case, present only when `outcome` is
+ /// `errored` (a scored case has no fault to attribute). `platform`
+ /// is ours - the eval worker, the judge or the probe corpus - and is
+ /// the default, so an unattributed failure is never blamed on the
+ /// caller. `agent_config` is the agent's OWN configuration, today an
+ /// attached MCP server that could not be reached; waiting does not
+ /// fix it. A publish refused entirely by `agent_config` cases answers
+ /// `422 agent_publish_gate_tool_unreachable` rather than the
+ /// retryable `503 agent_publish_gate_unavailable`. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("fault")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Speechify.JsonConverters.EvaluationCaseVerdictFaultJsonConverter))] + public global::Speechify.EvaluationCaseVerdictFault? Fault { get; set; } + /// /// /// @@ -92,6 +107,17 @@ public sealed partial class EvaluationCaseVerdict /// /// /// + /// + /// Who could not run this case, present only when `outcome` is
+ /// `errored` (a scored case has no fault to attribute). `platform`
+ /// is ours - the eval worker, the judge or the probe corpus - and is
+ /// the default, so an unattributed failure is never blamed on the
+ /// caller. `agent_config` is the agent's OWN configuration, today an
+ /// attached MCP server that could not be reached; waiting does not
+ /// fix it. A publish refused entirely by `agent_config` cases answers
+ /// `422 agent_publish_gate_tool_unreachable` rather than the
+ /// retryable `503 agent_publish_gate_unavailable`. + /// /// /// Full per-type run detail (transcript, tool calls, per-type
/// result), for a consumer that needs the synthetic conversation.
@@ -109,6 +135,7 @@ public EvaluationCaseVerdict( string rationale, long durationMs, global::System.Collections.Generic.IList criteria, + global::Speechify.EvaluationCaseVerdictFault? fault, object? result) { this.CaseId = caseId ?? throw new global::System.ArgumentNullException(nameof(caseId)); @@ -118,6 +145,7 @@ public EvaluationCaseVerdict( this.Passed = passed; this.Rationale = rationale ?? throw new global::System.ArgumentNullException(nameof(rationale)); this.DurationMs = durationMs; + this.Fault = fault; this.Criteria = criteria ?? throw new global::System.ArgumentNullException(nameof(criteria)); this.Result = result; } diff --git a/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdictFault.g.cs b/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdictFault.g.cs new file mode 100644 index 00000000..a908e69d --- /dev/null +++ b/src/libs/Speechify/Generated/Speechify.Models.EvaluationCaseVerdictFault.g.cs @@ -0,0 +1,59 @@ + +#nullable enable + +namespace Speechify +{ + /// + /// Who could not run this case, present only when `outcome` is
+ /// `errored` (a scored case has no fault to attribute). `platform`
+ /// is ours - the eval worker, the judge or the probe corpus - and is
+ /// the default, so an unattributed failure is never blamed on the
+ /// caller. `agent_config` is the agent's OWN configuration, today an
+ /// attached MCP server that could not be reached; waiting does not
+ /// fix it. A publish refused entirely by `agent_config` cases answers
+ /// `422 agent_publish_gate_tool_unreachable` rather than the
+ /// retryable `503 agent_publish_gate_unavailable`. + ///
+ public enum EvaluationCaseVerdictFault + { + /// + /// + /// + AgentConfig, + /// + /// + /// + Platform, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class EvaluationCaseVerdictFaultExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this EvaluationCaseVerdictFault value) + { + return value switch + { + EvaluationCaseVerdictFault.AgentConfig => "agent_config", + EvaluationCaseVerdictFault.Platform => "platform", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static EvaluationCaseVerdictFault? ToEnum(string value) + { + return value switch + { + "agent_config" => EvaluationCaseVerdictFault.AgentConfig, + "platform" => EvaluationCaseVerdictFault.Platform, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Speechify/Generated/Speechify.Models.Project.g.cs b/src/libs/Speechify/Generated/Speechify.Models.Project.g.cs index 88eff24b..e5fde73e 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.Project.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.Project.g.cs @@ -137,6 +137,24 @@ public sealed partial class Project [global::System.Text.Json.Serialization.JsonRequired] public required string Name { get; set; } + /// + /// How many resources this project holds: agents and their tests,
+ /// knowledge bases, tools, audio assets, phone numbers, external
+ /// brains, skills, teams, channels, stores, hosted APIs and files.
+ /// Records of work that happened - conversations, runs, calls,
+ /// callers, memories - are not counted, and never hold a project
+ /// open.
+ /// It is the count the unqualified delete refuses on, so a project
+ /// reading `0` is one `DELETE /v1/projects/{project_id}` accepts
+ /// with no body. That is what makes an application's own cleanup a
+ /// single list call rather than a stats read per project. Use
+ /// `GET /v1/projects/{project_id}/stats` for the per-kind
+ /// breakdown. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("resource_count")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ResourceCount { get; set; } + /// /// /// @@ -166,6 +184,20 @@ public sealed partial class Project /// /// Human-readable label, unique per workspace (case-insensitive). /// + /// + /// How many resources this project holds: agents and their tests,
+ /// knowledge bases, tools, audio assets, phone numbers, external
+ /// brains, skills, teams, channels, stores, hosted APIs and files.
+ /// Records of work that happened - conversations, runs, calls,
+ /// callers, memories - are not counted, and never hold a project
+ /// open.
+ /// It is the count the unqualified delete refuses on, so a project
+ /// reading `0` is one `DELETE /v1/projects/{project_id}` accepts
+ /// with no body. That is what makes an application's own cleanup a
+ /// single list call rather than a stats read per project. Use
+ /// `GET /v1/projects/{project_id}/stats` for the per-kind
+ /// breakdown. + /// /// /// /// @@ -247,6 +279,7 @@ public sealed partial class Project public Project( string id, string name, + int resourceCount, global::System.DateTime createdAt, global::System.DateTime updatedAt, global::System.DateTime? archivedAt, @@ -266,6 +299,7 @@ public Project( this.MonthlySpend = monthlySpend; this.Id = id ?? throw new global::System.ArgumentNullException(nameof(id)); this.Name = name ?? throw new global::System.ArgumentNullException(nameof(name)); + this.ResourceCount = resourceCount; this.CreatedAt = createdAt; this.UpdatedAt = updatedAt; } diff --git a/src/libs/Speechify/Generated/Speechify.Models.ProjectResourceCounts.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ProjectResourceCounts.g.cs index 80d40582..41f0fe20 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ProjectResourceCounts.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ProjectResourceCounts.g.cs @@ -6,7 +6,11 @@ namespace Speechify /// /// Live counts of every resource kind grouped under one project. Each
/// count is zero, never absent, when the project holds none of that
- /// kind. + /// kind.
+ /// The resource kinds here are what the project's `resource_count`
+ /// totals, plus the records of work that happened (conversations,
+ /// callers, batch calls, suite runs, memories), which are counted but
+ /// never hold a project open. ///
public sealed partial class ProjectResourceCounts { @@ -95,6 +99,57 @@ public sealed partial class ProjectResourceCounts [global::System.Text.Json.Serialization.JsonRequired] public required int Memories { get; set; } + /// + /// Number of external brains in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("brains")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Brains { get; set; } + + /// + /// Number of skills in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("skills")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Skills { get; set; } + + /// + /// Number of agent teams in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("teams")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Teams { get; set; } + + /// + /// Number of channel instances (front doors) in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("channel_instances")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int ChannelInstances { get; set; } + + /// + /// Number of stores in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("stores")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Stores { get; set; } + + /// + /// Number of hosted APIs in the project. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("hosted_apis")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int HostedApis { get; set; } + + /// + /// Number of live uploaded files in the project. Files expire on
+ /// their own within a fortnight, so this count falls without
+ /// anyone deleting anything. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("files")] + [global::System.Text.Json.Serialization.JsonRequired] + public required int Files { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -145,6 +200,29 @@ public sealed partial class ProjectResourceCounts /// the same way as conversations. A count only; the extracted facts
/// themselves are never returned here. /// + /// + /// Number of external brains in the project. + /// + /// + /// Number of skills in the project. + /// + /// + /// Number of agent teams in the project. + /// + /// + /// Number of channel instances (front doors) in the project. + /// + /// + /// Number of stores in the project. + /// + /// + /// Number of hosted APIs in the project. + /// + /// + /// Number of live uploaded files in the project. Files expire on
+ /// their own within a fortnight, so this count falls without
+ /// anyone deleting anything. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -159,7 +237,14 @@ public ProjectResourceCounts( int agentTests, int batchCalls, int agentTestSuiteRuns, - int memories) + int memories, + int brains, + int skills, + int teams, + int channelInstances, + int stores, + int hostedApis, + int files) { this.Agents = agents; this.KnowledgeBases = knowledgeBases; @@ -172,6 +257,13 @@ public ProjectResourceCounts( this.BatchCalls = batchCalls; this.AgentTestSuiteRuns = agentTestSuiteRuns; this.Memories = memories; + this.Brains = brains; + this.Skills = skills; + this.Teams = teams; + this.ChannelInstances = channelInstances; + this.Stores = stores; + this.HostedApis = hostedApis; + this.Files = files; } /// diff --git a/src/libs/Speechify/Generated/Speechify.Models.ProjectStats.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ProjectStats.g.cs index 198b81b5..87638f11 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ProjectStats.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ProjectStats.g.cs @@ -15,7 +15,11 @@ public sealed partial class ProjectStats /// /// Live counts of every resource kind grouped under one project. Each
/// count is zero, never absent, when the project holds none of that
- /// kind. + /// kind.
+ /// The resource kinds here are what the project's `resource_count`
+ /// totals, plus the records of work that happened (conversations,
+ /// callers, batch calls, suite runs, memories), which are counted but
+ /// never hold a project open. ///
[global::System.Text.Json.Serialization.JsonPropertyName("resource_counts")] [global::System.Text.Json.Serialization.JsonRequired] @@ -33,7 +37,11 @@ public sealed partial class ProjectStats /// /// Live counts of every resource kind grouped under one project. Each
/// count is zero, never absent, when the project holds none of that
- /// kind. + /// kind.
+ /// The resource kinds here are what the project's `resource_count`
+ /// totals, plus the records of work that happened (conversations,
+ /// callers, batch calls, suite runs, memories), which are counted but
+ /// never hold a project open. /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] diff --git a/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardown.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardown.g.cs index c5c6ebab..8889cc4b 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardown.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardown.g.cs @@ -9,8 +9,13 @@ namespace Speechify /// holding the project open, with the modes each refuses, and
/// `blocker_count` is how many there are in total. `removes` is what a purge deletes or revokes, one
/// entry per kind in a fixed order (zero counts included). `retains` is
- /// the operational records a purge keeps (a conversation with its frozen
- /// attribution, the rest moved to the Default project). + /// everything a purge KEEPS, in two halves: the records of work that
+ /// happened (a conversation with its frozen attribution, runs, calls,
+ /// callers, memories - the rest moved to the Default project), and the
+ /// resources whose own lifecycle a purge does not reach (external
+ /// brains, skills, teams, channels, stores, hosted APIs, files), which
+ /// move to the Default project and stay readable. Both lists are in a
+ /// fixed order with zero counts included. ///
public sealed partial class ProjectTeardown { diff --git a/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardownGroup.g.cs b/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardownGroup.g.cs index 337b2817..4c568c2c 100644 --- a/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardownGroup.g.cs +++ b/src/libs/Speechify/Generated/Speechify.Models.ProjectTeardownGroup.g.cs @@ -6,7 +6,11 @@ namespace Speechify /// /// One resource kind a purge would remove or keep: a live count and, for
/// removed kinds, a bounded sample of names. Retained kinds carry no
- /// sample, because a caller identity or a memory is personal data. + /// sample, because a caller identity or a memory is personal data.
+ /// The same shape carries the contents of a project whose delete was
+ /// refused, under `error.details.contents` on a `409 project_not_empty`;
+ /// there the sample is a bounded list of names, so a caller reads what is
+ /// in the way rather than only how much. ///
public sealed partial class ProjectTeardownGroup { diff --git a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs index 4aaf9f32..a7d2247e 100644 --- a/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs +++ b/src/libs/Speechify/Generated/Speechify.ProjectsClient.Delete.g.cs @@ -47,10 +47,22 @@ partial void ProcessDeleteResponseContent( /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -72,7 +84,13 @@ partial void ProcessDeleteResponseContent( /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -117,10 +135,22 @@ partial void ProcessDeleteResponseContent( } /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -142,7 +172,13 @@ partial void ProcessDeleteResponseContent( /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -685,10 +721,22 @@ partial void ProcessDeleteResponseContent( } /// /// Delete Project
- /// Delete a project in one of two modes.
- /// **Detach** (the default, no body or `mode: detach`): only the
- /// grouping row is removed; every resource in the project moves to the
- /// implicit Default project. Refused with 409
+ /// Delete a project. With no body it deletes a project that holds
+ /// nothing, and refuses one that does; `mode` is how you say what should
+ /// happen to what it holds.
+ /// **Empty** (no body): the project is removed only while it holds no
+ /// resources. A project that holds any is refused with 409
+ /// `project_not_empty`, and the refusal enumerates what is inside:
+ /// `error.details.resource_count` is the total, and
+ /// `error.details.contents` names each kind with a count and up to five
+ /// names. Every project row also carries that total as `resource_count`,
+ /// so an application can find the projects it may delete in one list
+ /// call. Records of work - conversations, runs, calls, callers, memories
+ /// - never hold a project open and are not counted.
+ /// **Detach** (`mode: detach`): only the grouping row is removed; every
+ /// resource in the project moves to the implicit Default project, where
+ /// it stays readable and is listed by `?project_id=default`. This is what
+ /// an unqualified delete used to do silently. Refused with 409
/// `project_has_scoped_credentials` while an API key, service account,
/// vault credential, webhook endpoint, member grant or pending invite is
/// scoped to the project, because detaching any of those would silently
@@ -710,7 +758,13 @@ partial void ProcessDeleteResponseContent( /// memories are operational records and survive either mode, moving to
/// the Default project; a batch call survives the project the same way,
/// but not the agent it dialled for, so a purge's agents take their
- /// campaigns with them once they are permanently removed. Refused with 409 while a phone number is attached
+ /// campaigns with them once they are permanently removed. External brains,
+ /// skills, teams, channels, stores, hosted APIs and files are resources
+ /// with their own lifecycle and their own delete, so a purge does NOT
+ /// remove them either: they move to the Default project too, the teardown
+ /// preview lists every one of them under `retains`, and because they DO
+ /// hold a project open an unqualified delete refuses while any of them is
+ /// in the project. Refused with 409 while a phone number is attached
/// (release or move it first), while a member's only project grant is
/// this one, or while a live invite carries only this project (clearing
/// either would widen that person to the whole workspace, the invite one
@@ -731,9 +785,9 @@ partial void ProcessDeleteResponseContent( /// /// /// - /// `detach` removes the grouping row only; `purge` removes the
- /// project with its contents.
- /// Default Value: detach + /// `detach` removes the grouping row only and moves every resource
+ /// to the Default project; `purge` removes the project with its
+ /// contents. Omitted, the delete removes only an empty project. /// /// /// Required for `purge`: the project's name, exactly as returned by
diff --git a/src/libs/Speechify/openapi.yaml b/src/libs/Speechify/openapi.yaml index ce1d509f..209fbcbc 100644 --- a/src/libs/Speechify/openapi.yaml +++ b/src/libs/Speechify/openapi.yaml @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/v1/audio/speech":{"post":{"operationId":"speech","summary":"Create Speech","description":"Synthesize speech audio from text or SSML. Returns the complete audio\nfile plus billing and speech-mark metadata in a single JSON response.\nFor low-latency playback or long-form text, use POST /v1/audio/stream.\nSet `output_format` for explicit sample-rate/bitrate control (e.g.\n`pcm_16000` or `ulaw_8000` for telephony).","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Synthesized speech audio for the requested input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechRequest"}}}}}},"/v1/audio/stream":{"post":{"operationId":"stream","summary":"Stream Speech","description":"Synthesize speech and stream the audio back as it is generated, for\nlow-latency playback. Set `output_format` in the body for explicit\ncodec/sample-rate/bitrate control (e.g. `pcm_16000` or `ulaw_8000` for\ntelephony), or fall back to the Accept header for the container; the\nresponse is raw audio bytes (HTTP chunked). For Base64-encoded audio\nwith speech-mark metadata in a single JSON response, use\nPOST /v1/audio/speech.","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Accept","in":"header","description":"Selects the audio container/codec for the streamed response when\n`output_format` is not set in the request body. The response\nContent-Type echoes this value, except `audio/pcm` returns\n`audio/L16` with rate and channels parameters (raw 16-bit linear\nPCM, 24 kHz mono, little-endian). For explicit sample-rate/bitrate\ncontrol (e.g. `pcm_16000`, `ulaw_8000`), set `output_format` in the\nbody instead; it takes precedence over this header.","required":false,"schema":{"$ref":"#/components/schemas/V1AudioStreamPostParametersAccept"}}],"responses":{"200":{"description":"Streamed audio. When `output_format` is set it selects the\ncodec/sample rate; otherwise the Accept header does. The\nContent-Type reflects the selected format: it matches the Accept\nheader, except raw PCM returns `audio/L16` (with rate and channels\nparameters) and u-law returns `audio/basic`.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreamRequest"}}}}}},"/v1/audio/stream/with-timestamps":{"post":{"operationId":"streamWithTimestamps","summary":"Stream Speech With Timestamps","description":"Synthesize speech and stream it back together with word-level speech\nmarks, for text highlighting, captions and audio-text synchronization\nwhile the audio is still arriving.\n\nThe response is a Server-Sent Events stream. Each `speech.chunk` event\ncarries a Base64-encoded run of audio, the speech marks that became\nfinal with it, or both - a chunk may carry only one of the two, and the\nlast chunk of a stream is often marks-only. A terminal `speech.done`\nevent ends the stream; there is no `[DONE]` sentinel. Ignore any event\ntype you do not recognize, so that new event types do not break your\nintegration.\n\nSpeech-mark times are absolute milliseconds from the start of the\nsynthesis, so concatenate the audio chunks into one stream and apply the\nmarks against that single timeline. Which chunk a mark arrives on is a\ndelivery detail and carries no meaning. Times stay correct for every\n`output_format`: changing the codec or sample rate does not change the\nduration.\n\nSpeech marks are produced by the streaming-native models. The default\n`simba-3.0` and `simba-3.2` both serve this route. The legacy\n`simba-english` and `simba-multilingual` models never could: on a\nworkspace pinned before API version `2026-09-21` they return 400\n`speech_marks_unsupported` here, and from that version on they return\n400 `model_retired` on every synthesis route. Both are switched off\nentirely on 2026-11-21.\nFor Base64-encoded audio and speech marks in one non-streamed JSON\nresponse, on any model, use POST /v1/audio/speech.","tags":["audio"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Accept","in":"header","description":"Selects the audio container/codec carried inside the events when\n`output_format` is not set in the request body. The selected media\ntype is echoed on the `Speechify-Audio-Content-Type` response\nheader, since the response's own Content-Type is `text/event-stream`.","required":false,"schema":{"$ref":"#/components/schemas/V1AudioStreamWithTimestampsPostParametersAccept"}}],"responses":{"200":{"description":"A Server-Sent Events stream of `speech.chunk` events followed by one\nterminal `speech.done` event. A failure after the stream has started\nis delivered as a `speech.error` event carrying the standard error\nenvelope, because the status code is already committed.\n\nThe transport is `text/event-stream`: each event is an\n`event:`/`data:` pair whose `data` is one JSON payload matching the\nschema below. The payload's `type` field mirrors the `event:` name,\nso the stream is also parseable from `data:` lines alone. Ignore\nevent types you do not recognize.","content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/SpeechStreamEvent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetStreamRequest"}}}}}},"/v1/voices":{"get":{"operationId":"list","summary":"List Voices","description":"Lists the voices available to the caller - the shared voice\ncatalog plus the cloned voices they can reach, whichever member or\nservice-account key created them. A clone filed under a project is\nlisted only for a caller who can reach that project; a clone no\nproject filed is shared with the whole workspace and is listed for\neveryone in it. By default\nthe full catalogue is returned in one response. Pagination is\nopt-in: pass `limit` (and then `cursor` from the previous\nresponse) to page through the list while `has_more` is true. Max\npage size is 200. Narrow the list with the `type` and `locale`\nfilters.\n\nA page can come back with fewer than `limit` voices, and a short\npage - an empty one included - is not the end of the list. Keep\nfollowing `next_cursor` while `has_more` is true.","tags":["voices"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"type","in":"query","description":"Filter by voice type: `personal` (the workspace's cloned voices)\nor `shared` (the public catalogue). Omit to return both.","required":false,"schema":{"$ref":"#/components/schemas/V1VoicesGetParametersType"}},{"name":"locale","in":"query","description":"Filter to voices whose locale matches this BCP-47 language range,\nprefix-matched: `en` matches `en-US` and `en-GB`; `en-US` matches\nonly `en-US`. Case-insensitive. Omit to return all locales.","required":false,"schema":{"type":"string"}},{"name":"gender","in":"query","description":"Filter by voice gender. Omit to return all genders.","required":false,"schema":{"$ref":"#/components/schemas/V1VoicesGetParametersGender"}},{"name":"model","in":"query","description":"Filter to voices that support this model (as listed in each voice's\n`models[]`), e.g. `simba-3.2`. Omit to return voices for all models.","required":false,"schema":{"type":"string"}},{"name":"project_id","in":"query","description":"Filter cloned voices by workspace project: omit for every voice you\ncan reach, pass the literal `shared` for the clones no project\nfiled, or a `proj_...` id for the clones filed under that project.\nThe shared catalog carries no project and is returned either way.\n\nA clone is filed under a project when a project-pinned key created\nit. A clone with no project is shared with the whole workspace\nrather than sitting in a Default project, so the literal here is\n`shared`, never `default` - passing `default` is a 400. Returns 404\nproject_not_found for a malformed id and for any project outside\nyour reach: a project-pinned key reaches only its pinned project,\nand a member holding project grants reaches only the granted ones.\nThat 404 is the same in every case and does not reveal whether such\na project exists. `shared` is always inside your reach.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The voice catalogue (or a page of it when `limit` is set).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListVoicesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create","summary":"Create Voice","description":"Create a cloned voice for the workspace from a 10-30 second audio sample, with verified consent from the speaker.\n\nCloning requires proof that the speaker agreed to it. Create a consent challenge with `POST /v1/voices/consent-challenges`, show the returned `phrase` to the speaker, record them reading it aloud, and send that recording here as `consent_recording` together with the challenge's `consent_challenge_id`. Speechify transcribes the recording, checks it against the phrase it issued, checks that its speaker is the speaker in your `sample`, and keeps it as the consent record for the voice. The person consenting therefore has to be the person being cloned. A challenge is single use and short-lived, so record and submit in one sitting.\n\nThe clone belongs to the workspace rather than the member who created it, and access follows the caller's workspace role and API-key scopes exactly as for any other voice: voices scopes to list it, audio scopes to synthesize with it, and the content-management permission plus a write scope on the key to delete it. Cloned voices are usable self-serve on `simba-3.0` (and, on a workspace pinned before API version `2026-09-21`, on the retired `simba-english` and `simba-multilingual` until they are switched off on 2026-11-21). `simba-3.2` also serves cloned voices.\n\nCallers pinned before `Speechify-Version: 2026-09-13` use the previous flow instead: no challenge, and a `consent` form field carrying the speaker's name and email as a JSON string. That flow is deprecated and will be removed after a sunset window announced in the changelog.","tags":["voices"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"A created voice","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVoice"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the personal voice"},"locale":{"type":"string","default":"en-US","description":"Native language (locale) of the personal voice (e.g. en-US, es-ES, etc.)"},"gender":{"$ref":"#/components/schemas/V1VoicesPostRequestBodyContentMultipartFormDataSchemaGender","description":"Gender marker for the personal voice\nmale GenderMale\nfemale GenderFemale\nnot_specified GenderNotSpecified"},"sample":{"type":"string","format":"binary","description":"Audio sample of the voice to clone, 10-30 seconds of clean speech."},"avatar":{"type":"string","format":"binary","description":"Avatar image file"},"consent_challenge_id":{"type":"string","description":"The `id` of the consent challenge this create consumes, from\n`POST /v1/voices/consent-challenges`. Single use: once a\ncreate has consumed it, whether or not that create\nsucceeded, it cannot be used again."},"consent_recording":{"type":"string","format":"binary","description":"Recording of the speaker reading the challenge's `phrase`\naloud. This is the consent record for the voice, not a\nsecond voice sample: it must be the same person as in\n`sample`, and it is retained as evidence. 5-30 seconds, at\nmost 25 MB, in any common audio container."}},"required":["name","gender","sample","consent_challenge_id","consent_recording"]}}}}}},"/v1/voices/consent-challenges":{"post":{"operationId":"create","summary":"Create Consent Challenge","description":"Start the consent check for a voice clone.\n\nReturns a `phrase` for the speaker to read aloud and an `id` that identifies this challenge. Show the phrase to the speaker exactly as returned, record them reading it, then send the recording and the `id` to `POST /v1/voices`, which verifies the recording against the phrase and against the voice sample being cloned, then keeps it as the consent record.\n\nA challenge is single use, is bound to the workspace that created it, and expires at `expires_at` - it is proof that a speaker was in front of a microphone just now, so create it when you are ready to record, not at the start of your flow. If it expires, create another one and record again.\n\nChallenge creation is rate limited per workspace at a few dozen per hour, far more tightly than the rest of the voice surface, because each one precedes a person recording themselves - mint it when your speaker is ready, not speculatively. Read the live ceiling off `RateLimit-*` rather than hard-coding it. **On a `429`, always honour `Retry-After` rather than a fixed backoff of your own**: the wait is measured in minutes and can run to most of an hour. `RateLimit-*` are omitted rather than reporting a bucket that is not the one refusing.","tags":["consentChallenges"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created consent challenge.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentChallenge"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConsentChallengeRequest"}}}}}},"/v1/voices/{voice_id}":{"get":{"operationId":"get","summary":"Get Voice","description":"Fetch a single voice by id - a shared catalogue voice or one of\nthe workspace's cloned voices. A cloned voice that belongs to\nanother workspace returns 404, identical to an unknown id, so\nvoice inventory is never enumerable across tenants.","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to fetch","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The voice.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVoice"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"delete","summary":"Delete Voice","description":"Delete one of the workspace's cloned voices. Requires the\n`content.manage` permission (owner, admin, or member); a\nservice-account key is authorized by its scopes instead.","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to delete","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Voice deleted successfully","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/voices/{voice_id}/sample":{"get":{"operationId":"downloadSample","summary":"Download Voice Sample","description":"Download a personal (cloned) voice sample","tags":["voices"],"parameters":[{"name":"voice_id","in":"path","description":"The ID of the voice to download sample for","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Voice sample audio file","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"A downstream dependency is degraded or the endpoint is\nintentionally disabled (e.g. phone-number purchase before\nops setup).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/audio/models":{"get":{"operationId":"list","summary":"List Models","description":"List the text-to-speech models available for synthesis. Drive a model\npicker from this response, then pass a model `id` as the `model`\nparameter to POST /v1/audio/speech or /v1/audio/stream. The response\nmarks the default model (used when a request omits `model`), the\nroutes each model may be passed to, and which voices it accepts.\nMulti-speaker models arrive in a separate `dialogue_models` array\nbecause they are valid only on POST /v1/audio/dialogue. Returns\nthe full set in a single response: the model catalog is static\nplatform reference data, so it is intentionally not paginated.","tags":["models"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The available text-to-speech models.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModelsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/audio/watermark/detect":{"post":{"operationId":"detect","summary":"Detect Watermark","description":"Check whether a clip carries the watermark Speechify seals into audio it\ngenerates. Upload the audio as `audio`; nothing about it is stored, and\nno voice is read or written.\n\nRead the answer carefully in one direction. A `watermarked: true` is\npositive evidence that the audio came from Speechify synthesis. A\n`watermarked: false` is NOT proof that it did not: only models\nredeployed since the watermark shipped mark their output, the detector\nneeds at least three seconds of clear speech to judge, and re-encoding\nor changing the speed of a clip degrades the mark. Treat a negative as\nthe absence of evidence rather than as evidence of absence.\n\nChecks are rate-limited well below the synthesis budget: this is a\nforensic question, not a data-plane call.","tags":["watermark"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The clip was checked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatermarkDetectionResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"audio":{"type":"string","format":"binary","description":"The clip to check, at most 25MB. Give the detector at least\nthree seconds of clear speech; below that its confidence is\nnot worth acting on, and below half a second it always\nreports zero."}},"required":["audio"]}}}}}},"/v1/audio/watermark/verify":{"post":{"operationId":"verify","summary":"Verify Watermark","description":"The public AI detection tool. Ask whether a clip carries the watermark\nSpeechify seals into audio it generates, with no account, no API key and\nno credential of any kind.\n\n`verify` answers; `detect` measures. This route returns a bare yes or no,\nthe way verifying a signature does. Its sibling\n`POST /v1/audio/watermark/detect` takes an API key and returns the\ndetector's confidence alongside the verdict.\n\nThis is the programmatic half of the tool published at\n, and it exists so the tool can be invoked\nwithout visiting our website, as California's AI Transparency Act\n(BPC 22757.2) requires. Nothing about the clip is stored, and nothing\nidentifying about you is collected or retained.\n\nThe answer is a bare verdict. `watermarked: true` is positive evidence\nthat the audio came from Speechify synthesis. `watermarked: false` is\nNOT proof that it did not: only models redeployed since the watermark\nshipped mark their output, the detector needs at least three seconds of\nclear speech to judge, and re-encoding or changing the speed of a clip\ndegrades the mark. Treat a negative as the absence of evidence rather\nthan as evidence of absence.\n\nBecause the tool takes no credential, it is rate-limited per client\naddress and shares a platform-wide budget: expect a 429 under sustained\nautomated use, and retry after the interval the response advertises.\nUse `POST /v1/audio/watermark/detect` with an API key for the detector's\nconfidence score and a per-workspace allowance of its own.","tags":["watermark"],"parameters":[{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The clip was checked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatermarkVerificationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Request body exceeded a per-endpoint size limit (e.g. the file\nupload cap, KB document upload cap, batch-call CSV cap).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The request was well-formed but semantically rejected -\ntypically a referential integrity violation (e.g. flow node\nreferences an audio asset in another workspace) or a state\nmachine refusal.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"An upstream dependency (the TTS composer or voice-metadata\nservice) returned a 5xx. The raw upstream detail is not\nforwarded - the cause is in the server log; the response is a\nfixed `upstream_failure` envelope. Safe to retry.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"audio":{"type":"string","format":"binary","description":"The clip to check, at most 25MB. Give the detector at least\nthree seconds of clear speech; below that its answer is not\nworth acting on."}},"required":["audio"]}}}}}},"/v1/agents":{"get":{"operationId":"list","summary":"List Agents","description":"List voice agents owned by the caller. Cursor-paginated: omit\n`cursor` for the first page; walk pages while `has_more` is true\n(default page size 50, max 200).","tags":["agent"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of voice agents.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAgentsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"create","summary":"Create Agent","description":"Create a voice agent.\n\nThe agent lands in the project named by `project_id`, or in the\nimplicit Default project when none is given. Each project holds at\nmost a fixed number of live agents; a create past that answers\n`409 agent_limit_reached` naming the ceiling, and deleting an agent\nin that project - or creating this one in another - frees a slot.\n","tags":["agent"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"The created agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAgentRequest"}}}}}},"/v1/agents/voices":{"get":{"operationId":"listAgentVoices","summary":"List Agent Voices","description":"List the voice catalogue available for voice agents: the curated\nshared catalogue plus your workspace's own cloned voices, each\nmarked by `type` (`shared` or `personal`). The same slug set is\naccepted by POST/PATCH /v1/agents, so any voice listed here can be\nassigned to an agent. Cloned voices are workspace-owned only - a\npersonal voice scoped to an individual is not selectable on an\nagent, which is a workspace-shared resource. The JSON layout\nintentionally mirrors the TTS `/v1/voices` shape so a single voice\npicker can consume both endpoints.\n\nCursor-paginated: pass `cursor` + `limit` and walk pages while\n`has_more` is true. From API version `2026-08-07` an omitted `limit`\nreturns the first page (default 50, max 200); a caller pinned before\nthat date keeps the historical whole-catalogue response until it opts\nin. The shared catalogue is served first, then your cloned voices.\n","tags":["agent"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The curated agent voice catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListAgentVoicesResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/tts-models":{"get":{"operationId":"listTTSModels","summary":"List Agent TTS Models","description":"List the Simba text-to-speech models a voice agent can be pinned to\nwith `tts.model`.\n\nThe response is the whole catalog and is the same for every\nworkspace - which model serves an agent is a routing decision, not\nan entitlement, so nothing here is plan-gated. Whether a *particular*\nagent may select an entry depends on two facts this response\npublishes rather than resolving for you, because both change without\nthis list changing:\n\n- `english_only` - the model has no multilingual deployment, so an\n agent that declares `additional_languages` (or whose `language` is\n not English) cannot select it.\n- `requires_voice_curation` - deprecated and always false. No model\n asks a voice for a registration: every training conditions on the\n voice's own prompt audio, so every model is selectable on every\n voice we speak ourselves, cloned voices included.\n\nDrive a model picker from this and the agent's languages and it can\nonly offer combinations POST/PATCH /v1/agents will accept.\nReturns the full set in one response: bounded by the platform's\ncurated model catalog, so it is intentionally not paginated.\n","tags":["agent"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The TTS models selectable for voice agents.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTTSModelsResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}":{"delete":{"operationId":"delete","summary":"Delete Agent","description":"Delete an agent, and with it everything that belonged only to that\nagent.\n\n**Goes with the agent**, immediately unreadable through every\nendpoint: its runs and their step journals and approvals, its\nconversations and the transcripts, messages and recordings inside\nthem, what it learned about the people it spoke to, its triggers,\nshare links, channel bindings, team memberships and the batch\ncampaigns it dialled. A run that has not settled is asked to stop,\nincluding one parked waiting on a person or on a delegated child. These are removed for good 30 days\nlater; until then the delete can still be walked back by support.\n\n**Survives the agent**, because it belongs to the workspace rather\nthan to this agent: attached tools, knowledge bases, stores and\nskills (only the attachment is dropped), the agent's tests, phone\nnumbers, and the teams it belonged to.\n\n**Kept regardless**, because it is accounting rather than content:\nthe usage the workspace was billed for.\n\nRefused with `409 agent_in_use` while a live phone number still\nroutes to the agent, including the agent a webhook binding\nprovisioned for its number; `used_by` names the numbers. Unbind them\n(`DELETE /v1/agents/{agent_id}/phone-numbers/{phone_number_id}`,\nwhich also clears a webhook binding) and the delete proceeds.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Agent deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A live phone number still routes to the agent. `used_by` names\nthem so the caller can unbind first.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentInUseError"}}}}}},"get":{"operationId":"get","summary":"Get Agent","description":"Retrieve a voice agent by ID.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"update","summary":"Update Agent","description":"Update a voice agent. Only fields present on the request body are changed.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Agent"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAgentRequest"}}}}}},"/v1/agents/{agent_id}/widget-config":{"get":{"operationId":"getWidgetConfig","summary":"Get Agent Widget Config","description":"Return the embed-widget appearance config for an agent. Works\nunauthenticated for public agents; the body is cosmetic only.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's widget configuration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetConfig"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/schema":{"get":{"operationId":"getSchema","summary":"Get Flow Graph Schema","description":"Return the JSON Schema describing the flow graph node taxonomy.\nUnauthenticated; flow editors fetch it to validate graphs client-side.\n","tags":["flow"],"parameters":[{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A JSON Schema document for the flow graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/agent_flow_getSchema_Response_200"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow":{"get":{"operationId":"getFlow","summary":"Get Agent Flow","description":"Return the agent's flow graph: the current draft (if any), the\nactive published graph (if any), and the version history.\n","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The draft graph, active graph, and version history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFlowResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateFlow","summary":"Update Agent Flow Draft","description":"Replace the agent's draft flow graph. The graph is validated\nbefore it is stored; publish it separately to make it active.\n","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The stored draft graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/publish":{"post":{"operationId":"publish","summary":"Publish Agent Flow","description":"Publish the agent's draft graph as a new active flow version.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The newly published flow version.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowVersion"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The behavioral-eval publish gate refused the publish\n(`agent_publish_gate_failed`): the agent's configured suite did not\npass. `error.details` carries the verdict (per-case, per-criterion).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The publish checks could not run (`agent_publish_gate_unavailable`):\nthe eval worker, the judge or the probe corpus errored, so nothing\nabout the agent was judged. Not a verdict on the configuration; retry\nafter `Retry-After`. `error.details` lists the cases that could not\nrun.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/rollback":{"post":{"operationId":"rollback","summary":"Roll Back Agent Flow","description":"Publish a prior flow version as the active graph.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The flow version that is now active.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowVersion"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"The behavioral-eval publish gate refused the rollback\n(`agent_publish_gate_failed`): the target version did not pass the\nagent's configured suite. `error.details` carries the verdict.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"The gate's checks could not run on the rollback target\n(`agent_publish_gate_unavailable`): the eval worker, the judge or\nthe probe corpus errored, so nothing about the version was judged.\nNot a verdict on it; retry after `Retry-After`. `error.details`\nlists the cases that could not run.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackFlowRequest"}}}}}},"/v1/agents/{agent_id}/flow/deactivate":{"post":{"operationId":"deactivate","summary":"Deactivate Agent Flow","description":"Deactivate the agent's published flow so the agent runs the synthesized default flow.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Flow deactivated.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/draft":{"delete":{"operationId":"discardDraft","summary":"Discard Agent Flow Draft","description":"Discard the agent's unpublished draft flow graph.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Draft discarded.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/versions":{"get":{"operationId":"listVersions","summary":"List Agent Flow Versions","description":"List every published flow version for the agent, newest first.\nCursor-paginated: omit `cursor` for the first page; walk pages\nwhile `has_more` is true (default page size 50, max 200).","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's flow version history.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowVersionsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/{agent_id}/flow/versions/{version_id}":{"get":{"operationId":"getVersion","summary":"Get Agent Flow Version","description":"Return the full flow graph for a specific published version.","tags":["flow"],"parameters":[{"name":"agent_id","in":"path","description":"Prefixed agent id.","required":true,"schema":{"type":"string"}},{"name":"version_id","in":"path","description":"Prefixed flow version id (`fver_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested flow version's graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/templates":{"get":{"operationId":"listTemplates","summary":"List Flow Templates","description":"List the reusable flow templates available to the workspace.\nCursor-paginated: omit `cursor` for the first page; walk pages\nwhile `has_more` is true (default page size 50, max 200).","tags":["flow"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The available flow templates.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListFlowTemplatesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createTemplate","summary":"Create Flow Template","description":"Create a reusable flow template from a graph.","tags":["flow"],"parameters":[{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"201":{"description":"The created flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowTemplateRequest"}}}}}},"/v1/agents/flow/templates/{flow_template_id}":{"get":{"operationId":"getTemplate","summary":"Get Flow Template","description":"Retrieve a flow template by id.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateTemplate","summary":"Update Flow Template","description":"Replace a flow template. The whole template is replaced, not patched field-by-field.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated flow template.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTemplate"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFlowTemplateRequest"}}}}},"delete":{"operationId":"deleteTemplate","summary":"Delete Flow Template","description":"Delete a flow template.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"204":{"description":"Template deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/flow/templates/{flow_template_id}/clone":{"post":{"operationId":"cloneTemplate","summary":"Clone Flow Template","description":"Clone a flow template onto an agent as a new draft graph.","tags":["flow"],"parameters":[{"name":"flow_template_id","in":"path","description":"Flow template id (prefixed external id, `tmpl_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's new draft graph.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowGraph"}}}},"400":{"description":"Flow validation failed (or the request body was undecodable). The\nstandard `Error` envelope plus an `issues` array locating each problem\nfor the editor. See the `FlowValidationError` schema.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowValidationError"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"An unexpected server-side error occurred. Safe to retry with\nexponential backoff for idempotent requests.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloneFlowTemplateRequest"}}}}}},"/v1/agents/{agent_id}/evaluation-config":{"get":{"operationId":"getEvaluationConfig","summary":"Get Evaluation Config","description":"Retrieve the agent's post-call evaluation criteria + data-collection config.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The evaluation config for the agent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationConfig"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateEvaluationConfig","summary":"Update Evaluation Config","description":"Replace the agent's evaluation criteria + data-collection fields.","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated evaluation config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationConfig"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEvaluationConfigRequest"}}}}}},"/v1/agents/{agent_id}/variables":{"get":{"operationId":"getDynamicVariables","summary":"Get Dynamic Variables","description":"Retrieve the agent's customer-scope dynamic variables and the read-only\ncatalogue of reserved `system__*` keys. The system variables list is\nprovided so editor UIs can render the reference list without maintaining\na client-side copy of the catalogue.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The agent's variable catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDynamicVariablesResponse"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"updateDynamicVariables","summary":"Update Dynamic Variables","description":"Replace the agent's customer-scope dynamic variable definitions.\nThe supplied list overwrites the stored list wholesale (same\nsemantics as `updateEvaluationConfig`). Pass an empty array to\nclear all variables. Up to 20 variables per agent. Keys must\nmatch `[a-zA-Z0-9_]+` and must not start with the reserved\n`system__` prefix.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The updated variable catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListDynamicVariablesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDynamicVariablesRequest"}}}}}},"/v1/agents/{agent_id}/conversations":{"post":{"operationId":"createConversation","summary":"Create Conversation","description":"Start a new voice conversation with the agent. Returns a realtime\nvoice session + short-lived client token so the caller can\nconnect the audio pipeline directly. The agent is dispatched\nserver-side; no additional client action required.\n\nPass `dynamic_variables` to supply per-session values that override\nthe agent's stored variable defaults for this one conversation.\nKeys in the `system__` namespace are rejected at this boundary.\n\nPass `user_identity` as the stable caller key your application uses\nfor memory and caller correlation. It is kept separate from the\nopaque, per-session realtime participant identity.\n\n`overrides.voice_id` replaces the configured voice for the entire\nconversation, including every configured language the voice can\nserve. The request is rejected when the voice is unavailable or\ncannot cover the agent's configured language set; the rejection\nnames `overrides.voice_id` in the error envelope's `fields` map.\nThe override belongs to this conversation only: if the call is\ntransferred to another agent mid-conversation, that agent speaks\nwith its own configured voice.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created conversation with its realtime session token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationRequest"}}}}}},"/v1/agents/{agent_id}/sessions":{"post":{"operationId":"createSession","summary":"Create Session","description":"Mint a realtime voice session for the given agent. Widget-friendly\ncounterpart to `createConversation` \u2014 same response shape, dual\nauthentication:\n\n* **Authenticated (Bearer)**: works for any agent the caller\n owns. Typical server-to-server flow where the embedding\n site's backend mints a token and hands it to the browser so\n the API key never reaches the client.\n* **Unauthenticated**: works only when `agent.is_public = true`\n AND the request's `Origin` header matches `agent.allowed_origins`\n (or that list is empty). When `agent.hostname_allowlist` is\n non-empty, the `Origin` hostname must additionally be a\n member of that list. Used directly by the\n `` web component.\n\nResponds with the same `CreateConversationResponse` as\n`createConversation`.\n\n`Idempotency-Key` replay is scoped to the authenticated caller, so it\napplies to Bearer requests only: an unauthenticated mint has no scope\nto replay under, and retrying one mints a fresh session.\n","tags":["agent"],"parameters":[{"name":"agent_id","in":"path","description":"Agent id (prefixed external id, `agent_...`).","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"A client-generated key (an opaque string, max 255 chars) that makes a\nside-effect POST safe to retry: the server runs the operation exactly\nonce and replays the first response (its status and body) for 24 hours.\nReusing a key with a different request body, or while the first request\nis still in flight, returns `409 idempotency_conflict`. A replayed\nresponse carries the `Idempotent-Replayed: true` header.\n","required":false,"schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"The created session with its realtime token + URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConversationResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has insufficient credits, or the request needs a\nplan tier the workspace is not on (e.g. voice cloning). Distinct\nfrom `Forbidden` so SDK consumers can drive upgrade UX.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The credential authenticated, but is not authorised for this\nresource - typically a workspace-role gate (owner / admin\nrequired) or a cross-tenant access attempt.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The request conflicts with the current resource state - e.g.\nduplicate, optimistic-concurrency mismatch, or last-owner\nguard.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit or concurrency limit exceeded. `error.code` distinguishes\nrequest-rate limiting (`rate_limited`) from concurrency exhaustion\n(`concurrency_limit_reached`). Carries `Retry-After` and the\nrequest-rate budget headers; a concurrency-exhaustion 429 also carries\n`RateLimit-Remaining-Calls: 0`.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}}}}},"/v1/agents/conversations":{"get":{"operationId":"list","summary":"List Conversations","description":"List conversations owned by the caller, ordered by most recent.\nCursor-paginated: omit `cursor` to fetch the first page; pass the\nprevious response's `next_cursor` back to fetch the next page.\nWalk pages while `has_more` is true.\n\n`project_id` matches the project the call was DISPATCHED under, which\nis frozen when the conversation starts. Moving an agent to another\nproject therefore leaves its past calls attributed where they ran, the\nsame way per-project usage reports them.","tags":["conversations"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"agent_id","in":"query","description":"Filter to conversations for this agent.","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"Filter by conversation status.","required":false,"schema":{"$ref":"#/components/schemas/ConversationStatus"}},{"name":"transport","in":"query","description":"Filter by transport.","required":false,"schema":{"$ref":"#/components/schemas/ConversationTransport"}},{"name":"caller_identity","in":"query","description":"Filter by caller identity.","required":false,"schema":{"type":"string"}},{"name":"contact_id","in":"query","description":"Narrow to one person's conversations, whichever agent or channel\nreached them. Prefixed `contact_...` id.\n","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Free-text search across conversation content.","required":false,"schema":{"type":"string"}},{"name":"started_after","in":"query","description":"Only conversations started at or after this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"started_before","in":"query","description":"Only conversations started at or before this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"duration_min_ms","in":"query","description":"Minimum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"duration_max_ms","in":"query","description":"Maximum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"A list of conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConversationsResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}":{"get":{"operationId":"get","summary":"Get Conversation","description":"Retrieve a conversation by ID.","tags":["conversations"],"parameters":[{"name":"conversation_id","in":"path","description":"Conversation id (prefixed external id, `conv_...`).","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The requested conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Conversation"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/recent-callees":{"get":{"operationId":"recent_callees","summary":"List recent callees","description":"Distinct phone numbers the caller's workspace has dialled on\noutbound calls, ordered by most recent. Feeds the batch-calls\ncomposer's \"Suggested from history\" surface. Cursor-paginated:\nomit `cursor` to fetch the first page. Default page size is 50\nand max is 200. Walk pages while `has_more` is true.\n","tags":["conversations"],"parameters":[{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Recent callees for the caller's workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListRecentCalleesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/stats":{"get":{"operationId":"stats","summary":"Conversation stats","description":"Aggregated counts and averages over the caller's conversations, scoped\nby the same filters as the list endpoint, `project_id` included.","tags":["conversations"],"parameters":[{"name":"agent_id","in":"query","description":"Filter to conversations for this agent.","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"Filter by conversation status.","required":false,"schema":{"$ref":"#/components/schemas/ConversationStatus"}},{"name":"transport","in":"query","description":"Filter by transport.","required":false,"schema":{"$ref":"#/components/schemas/ConversationTransport"}},{"name":"caller_identity","in":"query","description":"Filter by caller identity.","required":false,"schema":{"type":"string"}},{"name":"contact_id","in":"query","description":"Narrow to one person's conversations, whichever agent or channel\nreached them. Prefixed `contact_...` id.\n","required":false,"schema":{"type":"string"}},{"name":"q","in":"query","description":"Free-text search across conversation content.","required":false,"schema":{"type":"string"}},{"name":"started_after","in":"query","description":"Only conversations started at or after this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"started_before","in":"query","description":"Only conversations started at or before this RFC 3339 timestamp.","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"duration_min_ms","in":"query","description":"Minimum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"duration_max_ms","in":"query","description":"Maximum conversation duration in milliseconds.","required":false,"schema":{"type":"integer"}},{"name":"project_id","in":"query","description":"Filter by workspace project: omit for every project you can reach,\npass the literal `default` for resources in the implicit Default\nproject only, or a `proj_...` id for that project's resources.\nReturns 404 project_not_found for a malformed id and for any filter\noutside your reach: a project-pinned API key or service-account key\nreaches only its pinned project, and a member holding project grants\nreaches only the granted projects, so neither can name `default`.\nThat 404 is the same in every case and does not reveal whether such\na project exists - outside your reach a project is answered as\nnonexistent, never as forbidden. Inside it, a well-formed id that\nmatches no project yields an empty page.\n","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stats for the matched conversations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationStats"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}/messages":{"get":{"operationId":"listMessages","summary":"List Messages","description":"Retrieve the transcript for a conversation in started_at order\n(oldest first). Cursor-paginated: omit `cursor` to fetch the\nfirst page. Default page size is 50 and max is 200. Walk pages\nwhile `has_more` is true.","tags":["conversations"],"parameters":[{"name":"conversation_id","in":"path","description":"Conversation id (prefixed external id, `conv_...`).","required":true,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Max items per page (default 50, max 200).","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"Authorization","in":"header","description":"Enter your API key with the `Bearer` prefix, e.g. 'Bearer sk_...'.","required":true,"schema":{"type":"string"}},{"name":"Speechify-Version","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The messages for the conversation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMessagesResponse"}}}},"400":{"description":"The request was malformed or failed validation. The response\nbody is the standard `Error` envelope; for validation\nfailures `error.fields` enumerates the offending fields as\na `path -> message` map (code = `validation_failed`).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Authentication is missing or invalid. The request did not\ncarry a recognised credential (console session token, API key,\nor worker JWT).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"The referenced resource does not exist or is not visible to\nthe caller's workspace.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/agents/conversations/{conversation_id}/recording":{"get":{"operationId":"streamRecording","summary":"Stream Recording","description":"Proxy the GCS-stored audio recording for a conversation through\nthe Cloud Run service identity. Returns OGG/Opus bytes (LiveKit\nroom-composite egress default). The response is streamed so a\nlong recording does not buffer in memory; `