From 7d0b7ace0248d77564e9e3a4eeb29cc73c5a2d7c Mon Sep 17 00:00:00 2001 From: Jose Arriaga Maldonado Date: Fri, 7 Nov 2025 14:51:32 -0800 Subject: [PATCH] Add support for included properties in Responses --- api/OpenAI.net8.0.cs | 32 +- api/OpenAI.netstandard2.0.cs | 31 +- .../base/typespec/responses/operations.tsp | 13 +- .../Responses/IncludedResponseProperty.cs | 11 + .../Responses/Internal/InternalIncludable.cs | 7 - .../OpenAIResponseClient.Protocol.cs | 35 - src/Custom/Responses/OpenAIResponseClient.cs | 68 +- .../Responses/ResponseCreationOptions.cs | 8 +- .../Responses/IncludedResponseProperty.cs | 53 + .../Models/Responses/InternalIncludable.cs | 55 - .../ResponseCreationOptions.Serialization.cs | 16 +- .../Responses/ResponseCreationOptions.cs | 4 +- src/Generated/OpenAIModelFactory.cs | 31 + .../OpenAIResponseClient.RestClient.cs | 10 +- src/Generated/OpenAIResponseClient.cs | 17 + tests/Responses/ResponsesTests.cs | 29 + .../ReasoningWithStoreDisabled.json | 299 +++ .../ReasoningWithStoreDisabledAsync.json | 299 +++ tspCodeModel.json | 2353 +++++++++-------- 19 files changed, 2052 insertions(+), 1319 deletions(-) create mode 100644 src/Custom/Responses/IncludedResponseProperty.cs delete mode 100644 src/Custom/Responses/Internal/InternalIncludable.cs delete mode 100644 src/Custom/Responses/OpenAIResponseClient.Protocol.cs create mode 100644 src/Generated/Models/Responses/IncludedResponseProperty.cs delete mode 100644 src/Generated/Models/Responses/InternalIncludable.cs create mode 100644 tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabled.json create mode 100644 tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabledAsync.json diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index eb58847b9..a554f2b3a 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -5373,6 +5373,25 @@ public class ImageGenerationToolInputImageMask : IJsonModel { + public IncludedResponseProperty(string value); + public static IncludedResponseProperty CodeInterpreterCallOutputs { get; } + public static IncludedResponseProperty ComputerCallOutputImageUri { get; } + public static IncludedResponseProperty FileSearchCallResults { get; } + public static IncludedResponseProperty MessageInputImageUri { get; } + public static IncludedResponseProperty ReasoningEncryptedContent { get; } + public readonly bool Equals(IncludedResponseProperty other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(IncludedResponseProperty left, IncludedResponseProperty right); + public static implicit operator IncludedResponseProperty(string value); + public static implicit operator IncludedResponseProperty?(string value); + public static bool operator !=(IncludedResponseProperty left, IncludedResponseProperty right); + public override readonly string ToString(); + } + [Experimental("OPENAI001")] public class McpTool : ResponseTool, IJsonModel, IPersistableModel { public McpTool(string serverLabel, McpToolConnectorId connectorId); public McpTool(string serverLabel, Uri serverUri); @@ -5589,16 +5608,16 @@ public class OpenAIResponseClient { public virtual ClientResult DeleteResponse(string responseId, CancellationToken cancellationToken = default); public virtual Task DeleteResponseAsync(string responseId, RequestOptions options); public virtual Task> DeleteResponseAsync(string responseId, CancellationToken cancellationToken = default); - public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options); - public virtual ClientResult GetResponse(string responseId, CancellationToken cancellationToken = default); - public virtual Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options); - public virtual Task> GetResponseAsync(string responseId, CancellationToken cancellationToken = default); + public virtual ClientResult GetResponse(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options); + public virtual ClientResult GetResponse(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); + public virtual Task GetResponseAsync(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options); + public virtual Task> GetResponseAsync(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, int? limit, string order, string after, string before, RequestOptions options); - public virtual CollectionResult GetResponseStreaming(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); - public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); + public virtual CollectionResult GetResponseStreaming(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); + public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); } [Experimental("OPENAI001")] public static class OpenAIResponsesModelFactory { @@ -5696,6 +5715,7 @@ public enum ResponseContentPartKind { public class ResponseCreationOptions : IJsonModel, IPersistableModel { public bool? BackgroundModeEnabled { get; set; } public string EndUserId { get; set; } + public IList IncludedProperties { get; } public string Instructions { get; set; } public int? MaxOutputTokenCount { get; set; } public IDictionary Metadata { get; } diff --git a/api/OpenAI.netstandard2.0.cs b/api/OpenAI.netstandard2.0.cs index 776ad49be..760bc3604 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -4705,6 +4705,24 @@ public class ImageGenerationToolInputImageMask : IJsonModel { + public IncludedResponseProperty(string value); + public static IncludedResponseProperty CodeInterpreterCallOutputs { get; } + public static IncludedResponseProperty ComputerCallOutputImageUri { get; } + public static IncludedResponseProperty FileSearchCallResults { get; } + public static IncludedResponseProperty MessageInputImageUri { get; } + public static IncludedResponseProperty ReasoningEncryptedContent { get; } + public readonly bool Equals(IncludedResponseProperty other); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly bool Equals(object obj); + [EditorBrowsable(EditorBrowsableState.Never)] + public override readonly int GetHashCode(); + public static bool operator ==(IncludedResponseProperty left, IncludedResponseProperty right); + public static implicit operator IncludedResponseProperty(string value); + public static implicit operator IncludedResponseProperty?(string value); + public static bool operator !=(IncludedResponseProperty left, IncludedResponseProperty right); + public override readonly string ToString(); + } public class McpTool : ResponseTool, IJsonModel, IPersistableModel { public McpTool(string serverLabel, McpToolConnectorId connectorId); public McpTool(string serverLabel, Uri serverUri); @@ -4902,16 +4920,16 @@ public class OpenAIResponseClient { public virtual ClientResult DeleteResponse(string responseId, CancellationToken cancellationToken = default); public virtual Task DeleteResponseAsync(string responseId, RequestOptions options); public virtual Task> DeleteResponseAsync(string responseId, CancellationToken cancellationToken = default); - public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options); - public virtual ClientResult GetResponse(string responseId, CancellationToken cancellationToken = default); - public virtual Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options); - public virtual Task> GetResponseAsync(string responseId, CancellationToken cancellationToken = default); + public virtual ClientResult GetResponse(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options); + public virtual ClientResult GetResponse(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); + public virtual Task GetResponseAsync(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options); + public virtual Task> GetResponseAsync(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetResponseInputItems(string responseId, int? limit, string order, string after, string before, RequestOptions options); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, ResponseItemCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetResponseInputItemsAsync(string responseId, int? limit, string order, string after, string before, RequestOptions options); - public virtual CollectionResult GetResponseStreaming(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); - public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default); + public virtual CollectionResult GetResponseStreaming(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); + public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, IEnumerable include = null, int? startingAfter = null, bool? includeObfuscation = null, CancellationToken cancellationToken = default); } public static class OpenAIResponsesModelFactory { public static MessageResponseItem MessageResponseItem(string id = null, MessageRole role = MessageRole.Assistant, MessageStatus? status = null); @@ -4998,6 +5016,7 @@ public enum ResponseContentPartKind { public class ResponseCreationOptions : IJsonModel, IPersistableModel { public bool? BackgroundModeEnabled { get; set; } public string EndUserId { get; set; } + public IList IncludedProperties { get; } public string Instructions { get; set; } public int? MaxOutputTokenCount { get; set; } public IDictionary Metadata { get; } diff --git a/specification/base/typespec/responses/operations.tsp b/specification/base/typespec/responses/operations.tsp index 5b70b7fda..bc3fe8b7a 100644 --- a/specification/base/typespec/responses/operations.tsp +++ b/specification/base/typespec/responses/operations.tsp @@ -36,14 +36,19 @@ interface Responses { @route("{response_id}") getResponse( @path - @example("resp_677efb5139a88190b512bc3fef8e535d") response_id: string, @query(#{ name: "include[]", explode: true }) - includables?: Includable[] = #[], + include?: Includable[], + + @query(#{ explode: true }) + stream?: boolean, + + @query(#{ explode: true }) + starting_after?: int32, - @query stream?: boolean = false, - @query starting_after?: int32, + @query(#{ explode: true }) + include_obfuscation?: boolean, ): Response | SseResponseOf | ResponseErrorResponse; @delete diff --git a/src/Custom/Responses/IncludedResponseProperty.cs b/src/Custom/Responses/IncludedResponseProperty.cs new file mode 100644 index 000000000..b9da5b141 --- /dev/null +++ b/src/Custom/Responses/IncludedResponseProperty.cs @@ -0,0 +1,11 @@ +namespace OpenAI.Responses; + +[CodeGenType("Includable")] +public readonly partial struct IncludedResponseProperty +{ + [CodeGenMember("MessageInputImageImageUrl")] + public static IncludedResponseProperty MessageInputImageUri { get; } = new IncludedResponseProperty(MessageInputImageImageUrlValue); + + [CodeGenMember("ComputerCallOutputOutputImageUrl")] + public static IncludedResponseProperty ComputerCallOutputImageUri { get; } = new IncludedResponseProperty(ComputerCallOutputOutputImageUrlValue); +} \ No newline at end of file diff --git a/src/Custom/Responses/Internal/InternalIncludable.cs b/src/Custom/Responses/Internal/InternalIncludable.cs deleted file mode 100644 index 2dfe8e92a..000000000 --- a/src/Custom/Responses/Internal/InternalIncludable.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace OpenAI.Responses; - -[CodeGenType("Includable")] -internal readonly partial struct InternalIncludable -{ - public static implicit operator string(InternalIncludable self) => self.ToString(); -} \ No newline at end of file diff --git a/src/Custom/Responses/OpenAIResponseClient.Protocol.cs b/src/Custom/Responses/OpenAIResponseClient.Protocol.cs deleted file mode 100644 index 234711a31..000000000 --- a/src/Custom/Responses/OpenAIResponseClient.Protocol.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.ClientModel; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.ComponentModel; -using System.Threading.Tasks; - -namespace OpenAI.Responses; - -[CodeGenSuppress("GetResponse", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("CancelResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("CancelResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("GetResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(RequestOptions))] -public partial class OpenAIResponseClient -{ - public virtual async Task GetResponseAsync(string responseId, bool? stream, int? startingAfter, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); - - using PipelineMessage message = CreateGetResponseRequest(responseId, [], stream, startingAfter, options); - - PipelineResponse protocolResponse = await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false); - return ClientResult.FromResponse(protocolResponse); - } - - public virtual ClientResult GetResponse(string responseId, bool? stream, int? startingAfter, RequestOptions options) - { - Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); - - using PipelineMessage message = CreateGetResponseRequest(responseId, [], stream, startingAfter, options); - PipelineResponse protocolResponse = Pipeline.ProcessMessage(message, options); - return ClientResult.FromResponse(protocolResponse); - } -} \ No newline at end of file diff --git a/src/Custom/Responses/OpenAIResponseClient.cs b/src/Custom/Responses/OpenAIResponseClient.cs index 57183d55c..ed5dce769 100644 --- a/src/Custom/Responses/OpenAIResponseClient.cs +++ b/src/Custom/Responses/OpenAIResponseClient.cs @@ -15,14 +15,14 @@ namespace OpenAI.Responses; [CodeGenType("Responses")] [CodeGenSuppress("CreateResponseAsync", typeof(ResponseCreationOptions), typeof(CancellationToken))] [CodeGenSuppress("CreateResponse", typeof(ResponseCreationOptions), typeof(CancellationToken))] -[CodeGenSuppress("GetResponse", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] -[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] +[CodeGenSuppress("GetResponse", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] +[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] [CodeGenSuppress("DeleteResponse", typeof(string), typeof(string), typeof(CancellationToken))] [CodeGenSuppress("DeleteResponseAsync", typeof(string), typeof(string), typeof(CancellationToken))] -[CodeGenSuppress("CancelResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] -[CodeGenSuppress("CancelResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] -[CodeGenSuppress("GetResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] -[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] +[CodeGenSuppress("CancelResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] +[CodeGenSuppress("CancelResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(CancellationToken))] +[CodeGenSuppress("GetResponse", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(bool?), typeof(CancellationToken))] +[CodeGenSuppress("GetResponseAsync", typeof(string), typeof(IEnumerable), typeof(bool?), typeof(int?), typeof(bool?), typeof(CancellationToken))] public partial class OpenAIResponseClient { private readonly string _model; @@ -125,11 +125,6 @@ protected internal OpenAIResponseClient(ClientPipeline pipeline, string model, O [Experimental("OPENAI001")] public string Model => _model; - public virtual Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) - { - return CreateResponseAsync(inputItems, options, cancellationToken.ToRequestOptions() ?? new RequestOptions()); - } - internal async Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options, RequestOptions requestOptions) { Argument.AssertNotNullOrEmpty(inputItems, nameof(inputItems)); @@ -145,6 +140,11 @@ internal async Task> CreateResponseAsync(IEnumerabl return ClientResult.FromValue(convenienceValue, protocolResult.GetRawResponse()); } + public virtual Task> CreateResponseAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) + { + return CreateResponseAsync(inputItems, options, cancellationToken.ToRequestOptions() ?? new RequestOptions()); + } + public virtual ClientResult CreateResponse(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(inputItems, nameof(inputItems)); @@ -176,11 +176,6 @@ public virtual ClientResult CreateResponse(string userInputText, cancellationToken); } - public virtual AsyncCollectionResult CreateResponseStreamingAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) - { - return CreateResponseStreamingAsync(inputItems, options, cancellationToken.ToRequestOptions(streaming: true)); - } - internal AsyncCollectionResult CreateResponseStreamingAsync(IEnumerable inputItems, ResponseCreationOptions options, RequestOptions requestOptions) { Argument.AssertNotNullOrEmpty(inputItems, nameof(inputItems)); @@ -197,6 +192,11 @@ internal AsyncCollectionResult CreateResponseStreamingA requestOptions.CancellationToken); } + public virtual AsyncCollectionResult CreateResponseStreamingAsync(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) + { + return CreateResponseStreamingAsync(inputItems, options, cancellationToken.ToRequestOptions(streaming: true)); + } + public virtual CollectionResult CreateResponseStreaming(IEnumerable inputItems, ResponseCreationOptions options = null, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(inputItems, nameof(inputItems)); @@ -228,12 +228,7 @@ public virtual CollectionResult CreateResponseStreaming cancellationToken); } - public virtual Task> GetResponseAsync(string responseId, CancellationToken cancellationToken = default) - { - return GetResponseAsync(responseId, cancellationToken.ToRequestOptions() ?? new RequestOptions()); - } - - internal async Task> GetResponseAsync(string responseId, RequestOptions requestOptions) + internal async Task> GetResponseAsync(string responseId, IEnumerable include, int? startingAfter, bool? includeObfuscation, RequestOptions requestOptions) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); Argument.AssertNotNull(requestOptions, nameof(requestOptions)); @@ -242,26 +237,26 @@ internal async Task> GetResponseAsync(string respon throw new InvalidOperationException("'requestOptions.BufferResponse' must be 'true' when calling 'GetResponseAsync'."); } - ClientResult protocolResult = await GetResponseAsync(responseId, stream: null, startingAfter: null, requestOptions).ConfigureAwait(false); + ClientResult protocolResult = await GetResponseAsync(responseId, include, stream: null, startingAfter, includeObfuscation, requestOptions).ConfigureAwait(false); OpenAIResponse convenienceResult = (OpenAIResponse)protocolResult; return ClientResult.FromValue(convenienceResult, protocolResult.GetRawResponse()); } - public virtual ClientResult GetResponse(string responseId, CancellationToken cancellationToken = default) + public virtual Task> GetResponseAsync(string responseId, IEnumerable include = default, int? startingAfter = default, bool? includeObfuscation = default, CancellationToken cancellationToken = default) + { + return GetResponseAsync(responseId, include, startingAfter, includeObfuscation, cancellationToken.ToRequestOptions() ?? new RequestOptions()); + } + + public virtual ClientResult GetResponse(string responseId, IEnumerable include = default, int? startingAfter = default, bool? includeObfuscation = default, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); - ClientResult protocolResult = GetResponse(responseId, stream: null, startingAfter: null, cancellationToken.ToRequestOptions()); + ClientResult protocolResult = GetResponse(responseId, include, stream: null, startingAfter, includeObfuscation, cancellationToken.ToRequestOptions()); OpenAIResponse convenienceResult = (OpenAIResponse)protocolResult; return ClientResult.FromValue(convenienceResult, protocolResult.GetRawResponse()); } - public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default) - { - return GetResponseStreamingAsync(responseId, cancellationToken.ToRequestOptions(streaming: true), startingAfter); - } - - internal AsyncCollectionResult GetResponseStreamingAsync(string responseId, RequestOptions requestOptions, int? startingAfter = null) + internal AsyncCollectionResult GetResponseStreamingAsync(string responseId, IEnumerable include, int? startingAfter, bool? includeObfuscation, RequestOptions requestOptions) { Argument.AssertNotNull(responseId, nameof(responseId)); Argument.AssertNotNull(requestOptions, nameof(requestOptions)); @@ -271,17 +266,22 @@ internal AsyncCollectionResult GetResponseStreamingAsyn } return new AsyncSseUpdateCollection( - async () => await GetResponseAsync(responseId, stream: true, startingAfter, requestOptions).ConfigureAwait(false), + async () => await GetResponseAsync(responseId, include, stream: true, startingAfter, includeObfuscation, requestOptions).ConfigureAwait(false), StreamingResponseUpdate.DeserializeStreamingResponseUpdate, requestOptions.CancellationToken); } - public virtual CollectionResult GetResponseStreaming(string responseId, int? startingAfter = null, CancellationToken cancellationToken = default) + public virtual AsyncCollectionResult GetResponseStreamingAsync(string responseId, IEnumerable include = default, int? startingAfter = default, bool? includeObfuscation = default, CancellationToken cancellationToken = default) + { + return GetResponseStreamingAsync(responseId, include, startingAfter, includeObfuscation, cancellationToken.ToRequestOptions(streaming: true)); + } + + public virtual CollectionResult GetResponseStreaming(string responseId, IEnumerable include = default, int? startingAfter = default, bool? includeObfuscation = default, CancellationToken cancellationToken = default) { Argument.AssertNotNull(responseId, nameof(responseId)); return new SseUpdateCollection( - () => GetResponse(responseId, stream: true, startingAfter, cancellationToken.ToRequestOptions(streaming: true)), + () => GetResponse(responseId, include, stream: true, startingAfter, includeObfuscation, cancellationToken.ToRequestOptions(streaming: true)), StreamingResponseUpdate.DeserializeStreamingResponseUpdate, cancellationToken); } diff --git a/src/Custom/Responses/ResponseCreationOptions.cs b/src/Custom/Responses/ResponseCreationOptions.cs index 82005e8b8..540e1fc36 100644 --- a/src/Custom/Responses/ResponseCreationOptions.cs +++ b/src/Custom/Responses/ResponseCreationOptions.cs @@ -14,10 +14,6 @@ namespace OpenAI.Responses; [CodeGenSuppress(nameof(ResponseCreationOptions), typeof(IEnumerable))] public partial class ResponseCreationOptions { - // CUSTOM: Temporarily made internal. - [CodeGenMember("Include")] - internal IList Include { get; set; } - // CUSTOM: // - Made internal. This value comes from a parameter on the client method. // - Added setter. @@ -69,6 +65,10 @@ public partial class ResponseCreationOptions [CodeGenMember("ToolChoice")] public ResponseToolChoice ToolChoice { get; set; } + // CUSTOM: Renamed. + [CodeGenMember("Include")] + public IList IncludedProperties { get; } + // CUSTOM: Apply get-only collection pattern [CodeGenMember("Tools")] public IList Tools { get; } diff --git a/src/Generated/Models/Responses/IncludedResponseProperty.cs b/src/Generated/Models/Responses/IncludedResponseProperty.cs new file mode 100644 index 000000000..f76ecce93 --- /dev/null +++ b/src/Generated/Models/Responses/IncludedResponseProperty.cs @@ -0,0 +1,53 @@ +// + +#nullable disable + +using System; +using System.ComponentModel; +using System.Diagnostics.CodeAnalysis; +using OpenAI; + +namespace OpenAI.Responses +{ + [Experimental("OPENAI001")] + public readonly partial struct IncludedResponseProperty : IEquatable + { + private readonly string _value; + private const string FileSearchCallResultsValue = "file_search_call.results"; + private const string MessageInputImageImageUrlValue = "message.input_image.image_url"; + private const string ComputerCallOutputOutputImageUrlValue = "computer_call_output.output.image_url"; + private const string ReasoningEncryptedContentValue = "reasoning.encrypted_content"; + private const string CodeInterpreterCallOutputsValue = "code_interpreter_call.outputs"; + + public IncludedResponseProperty(string value) + { + Argument.AssertNotNull(value, nameof(value)); + + _value = value; + } + + public static IncludedResponseProperty FileSearchCallResults { get; } = new IncludedResponseProperty(FileSearchCallResultsValue); + + public static IncludedResponseProperty ReasoningEncryptedContent { get; } = new IncludedResponseProperty(ReasoningEncryptedContentValue); + + public static IncludedResponseProperty CodeInterpreterCallOutputs { get; } = new IncludedResponseProperty(CodeInterpreterCallOutputsValue); + + public static bool operator ==(IncludedResponseProperty left, IncludedResponseProperty right) => left.Equals(right); + + public static bool operator !=(IncludedResponseProperty left, IncludedResponseProperty right) => !left.Equals(right); + + public static implicit operator IncludedResponseProperty(string value) => new IncludedResponseProperty(value); + + public static implicit operator IncludedResponseProperty?(string value) => value == null ? null : new IncludedResponseProperty(value); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is IncludedResponseProperty other && Equals(other); + + public bool Equals(IncludedResponseProperty other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + + public override string ToString() => _value; + } +} diff --git a/src/Generated/Models/Responses/InternalIncludable.cs b/src/Generated/Models/Responses/InternalIncludable.cs deleted file mode 100644 index 180691347..000000000 --- a/src/Generated/Models/Responses/InternalIncludable.cs +++ /dev/null @@ -1,55 +0,0 @@ -// - -#nullable disable - -using System; -using System.ComponentModel; -using OpenAI; - -namespace OpenAI.Responses -{ - internal readonly partial struct InternalIncludable : IEquatable - { - private readonly string _value; - private const string FileSearchCallResultsValue = "file_search_call.results"; - private const string MessageInputImageImageUrlValue = "message.input_image.image_url"; - private const string ComputerCallOutputOutputImageUrlValue = "computer_call_output.output.image_url"; - private const string ReasoningEncryptedContentValue = "reasoning.encrypted_content"; - private const string CodeInterpreterCallOutputsValue = "code_interpreter_call.outputs"; - - public InternalIncludable(string value) - { - Argument.AssertNotNull(value, nameof(value)); - - _value = value; - } - - internal static InternalIncludable FileSearchCallResults { get; } = new InternalIncludable(FileSearchCallResultsValue); - - internal static InternalIncludable MessageInputImageImageUrl { get; } = new InternalIncludable(MessageInputImageImageUrlValue); - - internal static InternalIncludable ComputerCallOutputOutputImageUrl { get; } = new InternalIncludable(ComputerCallOutputOutputImageUrlValue); - - internal static InternalIncludable ReasoningEncryptedContent { get; } = new InternalIncludable(ReasoningEncryptedContentValue); - - internal static InternalIncludable CodeInterpreterCallOutputs { get; } = new InternalIncludable(CodeInterpreterCallOutputsValue); - - public static bool operator ==(InternalIncludable left, InternalIncludable right) => left.Equals(right); - - public static bool operator !=(InternalIncludable left, InternalIncludable right) => !left.Equals(right); - - public static implicit operator InternalIncludable(string value) => new InternalIncludable(value); - - public static implicit operator InternalIncludable?(string value) => value == null ? null : new InternalIncludable(value); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is InternalIncludable other && Equals(other); - - public bool Equals(InternalIncludable other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - - public override string ToString() => _value; - } -} diff --git a/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs index 7b2d7dd8d..06a5fafa6 100644 --- a/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs @@ -189,17 +189,17 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteRawValue(Patch.GetJson("$.include"u8)); } } - else if (Optional.IsCollectionDefined(Include)) + else if (Optional.IsCollectionDefined(IncludedProperties)) { writer.WritePropertyName("include"u8); writer.WriteStartArray(); - for (int i = 0; i < Include.Count; i++) + for (int i = 0; i < IncludedProperties.Count; i++) { if (Patch.IsRemoved(Encoding.UTF8.GetBytes($"$.include[{i}]"))) { continue; } - writer.WriteStringValue(Include[i].ToString()); + writer.WriteStringValue(IncludedProperties[i].ToString()); } Patch.WriteTo(writer, "$.include"u8); writer.WriteEndArray(); @@ -259,7 +259,7 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE ResponseToolChoice toolChoice = default; ResponseTruncationMode? truncationMode = default; IList input = default; - IList include = default; + IList includedProperties = default; bool? parallelToolCallsEnabled = default; bool? storedOutputEnabled = default; bool? stream = default; @@ -436,12 +436,12 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE { continue; } - List array = new List(); + List array = new List(); foreach (var item in prop.Value.EnumerateArray()) { - array.Add(new InternalIncludable(item.GetString())); + array.Add(new IncludedResponseProperty(item.GetString())); } - include = array; + includedProperties = array; continue; } if (prop.NameEquals("parallel_tool_calls"u8)) @@ -493,7 +493,7 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE toolChoice, truncationMode, input, - include ?? new ChangeTrackingList(), + includedProperties ?? new ChangeTrackingList(), parallelToolCallsEnabled, storedOutputEnabled, stream, diff --git a/src/Generated/Models/Responses/ResponseCreationOptions.cs b/src/Generated/Models/Responses/ResponseCreationOptions.cs index efd29f51f..4e7df8720 100644 --- a/src/Generated/Models/Responses/ResponseCreationOptions.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.cs @@ -17,7 +17,7 @@ public partial class ResponseCreationOptions private JsonPatch _patch; #pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates. - internal ResponseCreationOptions(IDictionary metadata, float? temperature, float? topP, string endUserId, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, string instructions, ResponseTextOptions textOptions, IList tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, IList input, IList include, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, bool? stream, in JsonPatch patch) + internal ResponseCreationOptions(IDictionary metadata, float? temperature, float? topP, string endUserId, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? backgroundModeEnabled, int? maxOutputTokenCount, string instructions, ResponseTextOptions textOptions, IList tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, IList input, IList includedProperties, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, bool? stream, in JsonPatch patch) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary(); @@ -36,7 +36,7 @@ internal ResponseCreationOptions(IDictionary metadata, float? te ToolChoice = toolChoice; TruncationMode = truncationMode; Input = input ?? new ChangeTrackingList(); - Include = include ?? new ChangeTrackingList(); + IncludedProperties = includedProperties ?? new ChangeTrackingList(); ParallelToolCallsEnabled = parallelToolCallsEnabled; StoredOutputEnabled = storedOutputEnabled; Stream = stream; diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index dd942fb56..560bfae7c 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -574,6 +574,37 @@ public static McpToolFilter McpToolFilter(IEnumerable toolNames = defaul return new McpToolFilter(toolNames.ToList(), isReadOnly, default); } + public static ResponseCreationOptions ResponseCreationOptions(IDictionary metadata = default, float? temperature = default, float? topP = default, string endUserId = default, ResponseServiceTier? serviceTier = default, string previousResponseId = default, string model = default, ResponseReasoningOptions reasoningOptions = default, bool? backgroundModeEnabled = default, int? maxOutputTokenCount = default, string instructions = default, ResponseTextOptions textOptions = default, IEnumerable tools = default, ResponseToolChoice toolChoice = default, ResponseTruncationMode? truncationMode = default, IEnumerable input = default, IEnumerable includedProperties = default, bool? parallelToolCallsEnabled = default, bool? storedOutputEnabled = default, bool? stream = default) + { + metadata ??= new ChangeTrackingDictionary(); + tools ??= new ChangeTrackingList(); + input ??= new ChangeTrackingList(); + includedProperties ??= new ChangeTrackingList(); + + return new ResponseCreationOptions( + metadata, + temperature, + topP, + endUserId, + serviceTier, + previousResponseId, + model, + reasoningOptions, + backgroundModeEnabled, + maxOutputTokenCount, + instructions, + textOptions, + tools.ToList(), + toolChoice, + truncationMode, + input.ToList(), + includedProperties.ToList(), + parallelToolCallsEnabled, + storedOutputEnabled, + stream, + default); + } + public static ResponseTextOptions ResponseTextOptions(ResponseTextFormat textFormat = default) { return new ResponseTextOptions(textFormat, default); diff --git a/src/Generated/OpenAIResponseClient.RestClient.cs b/src/Generated/OpenAIResponseClient.RestClient.cs index fd253274d..772a6e322 100644 --- a/src/Generated/OpenAIResponseClient.RestClient.cs +++ b/src/Generated/OpenAIResponseClient.RestClient.cs @@ -29,15 +29,15 @@ internal virtual PipelineMessage CreateCreateResponseRequest(BinaryContent conte return message; } - internal virtual PipelineMessage CreateGetResponseRequest(string responseId, IEnumerable includables, bool? stream, int? startingAfter, RequestOptions options) + internal virtual PipelineMessage CreateGetResponseRequest(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/responses/", false); uri.AppendPath(responseId, true); - if (includables != null && !(includables is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined)) + if (include != null && !(include is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined)) { - foreach (var @param in includables) + foreach (var @param in include) { uri.AppendQuery("include[]", @param.ToString(), true); } @@ -50,6 +50,10 @@ internal virtual PipelineMessage CreateGetResponseRequest(string responseId, IEn { uri.AppendQuery("starting_after", TypeFormatters.ConvertToString(startingAfter), true); } + if (includeObfuscation != null) + { + uri.AppendQuery("include_obfuscation", TypeFormatters.ConvertToString(includeObfuscation), true); + } PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); PipelineRequest request = message.Request; request.Headers.Set("Accept", "application/json, text/event-stream"); diff --git a/src/Generated/OpenAIResponseClient.cs b/src/Generated/OpenAIResponseClient.cs index 435f2c153..f10ed8f1e 100644 --- a/src/Generated/OpenAIResponseClient.cs +++ b/src/Generated/OpenAIResponseClient.cs @@ -5,6 +5,7 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; @@ -45,6 +46,22 @@ public virtual async Task CreateResponseAsync(BinaryContent conten return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } + public virtual ClientResult GetResponse(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); + + using PipelineMessage message = CreateGetResponseRequest(responseId, include, stream, startingAfter, includeObfuscation, options); + return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); + } + + public virtual async Task GetResponseAsync(string responseId, IEnumerable include, bool? stream, int? startingAfter, bool? includeObfuscation, RequestOptions options) + { + Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); + + using PipelineMessage message = CreateGetResponseRequest(responseId, include, stream, startingAfter, includeObfuscation, options); + return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); + } + public virtual ClientResult DeleteResponse(string responseId, RequestOptions options) { Argument.AssertNotNullOrEmpty(responseId, nameof(responseId)); diff --git a/tests/Responses/ResponsesTests.cs b/tests/Responses/ResponsesTests.cs index cecde07da..b57246fb2 100644 --- a/tests/Responses/ResponsesTests.cs +++ b/tests/Responses/ResponsesTests.cs @@ -403,6 +403,35 @@ public async Task ResponsesWithReasoning() Assert.That(messageItem.Content?.FirstOrDefault().Text, Has.Length.GreaterThan(0)); } + [RecordedTest] + public async Task ReasoningWithStoreDisabled() + { + OpenAIResponseClient client = GetTestClient("gpt-5-mini"); + + ResponseCreationOptions options = new() + { + StoredOutputEnabled = false, + IncludedProperties = { IncludedResponseProperty.ReasoningEncryptedContent } + }; + + // First turn. + List inputItems = [ResponseItem.CreateUserMessageItem("Hello, world!")]; + OpenAIResponse response1 = await client.CreateResponseAsync(inputItems, options); + Assert.That(response1, Is.Not.Null); + Assert.That(response1.OutputItems.OfType().Any(), Is.True); + + // Propagate the output items into the next turn. + inputItems.AddRange(response1.OutputItems); + + // Add the next user input. + inputItems.Add(ResponseItem.CreateUserMessageItem("Say that again, but dramatically")); + + // Second turn. + OpenAIResponse response2 = await client.CreateResponseAsync(inputItems, options); + Assert.That(response2, Is.Not.Null); + Assert.That(response2.GetOutputText(), Is.Not.Null.Or.Empty); + } + [RecordedTest] [TestCase("computer-use-preview-2025-03-11")] [TestCase("gpt-4o-mini")] diff --git a/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabled.json b/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabled.json new file mode 100644 index 000000000..71a40582a --- /dev/null +++ b/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabled.json @@ -0,0 +1,299 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/responses", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json, text/event-stream", + "Authorization": "Sanitized", + "Content-Length": "178", + "Content-Type": "application/json", + "User-Agent": "OpenAI/2.6.0 (.NET 9.0.10; Microsoft Windows 10.0.26200)" + }, + "RequestBody": { + "model": "gpt-5-mini", + "input": [ + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Hello, world!" + } + ] + } + ], + "include": [ + "reasoning.encrypted_content" + ], + "store": false + }, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99b04b227cbfdeea-SEA", + "Connection": "keep-alive", + "Content-Length": "3903", + "Content-Type": "application/json", + "Date": "Fri, 07 Nov 2025 22:33:43 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "3966", + "openai-project": "Sanitized", + "openai-version": "2020-10-01", + "Server": "cloudflare", + "Set-Cookie": [ + "Sanitized", + "Sanitized" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "3973", + "x-ratelimit-limit-requests": "30000", + "x-ratelimit-limit-tokens": "180000000", + "x-ratelimit-remaining-requests": "29999", + "x-ratelimit-remaining-tokens": "179999982", + "x-ratelimit-reset-requests": "2ms", + "x-ratelimit-reset-tokens": "0s", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "id": "resp_0db947136a1ec83f01690e73c309e88196a8ea71ae9c7b8fc0", + "object": "response", + "created_at": 1762554819, + "status": "completed", + "background": false, + "billing": { + "payer": "developer" + }, + "error": null, + "incomplete_details": null, + "instructions": null, + "max_output_tokens": null, + "max_tool_calls": null, + "model": "gpt-5-mini-2025-08-07", + "output": [ + { + "id": "rs_0db947136a1ec83f01690e73c38a2c8196ab914e083aacd509", + "type": "reasoning", + "encrypted_content": "gAAAAABpDnPGRfmz64tKPHug5BHba1B5kFpdXVgfOhJRjHZZetqqFShinbi9vwTI7uGsXErpSSiNlajYLtYZkkv_KXrDcIJVf9Hrfp_JVCjjHXOHRxTxngnWEd8Tca-_vH4GI3ON34W2M1Rr0oMv54-QzkoTCXlkBXC2ZiI21-5qfSIe2jzT5H44eI-DnkZrCeTKCqDoReoyNSqwxsly5JS_rrBqg-SYpU0SJhFgaM-RB8OxcPN7eeiRU0iUABnWBnzW4PE-RnTJqd9mg2fmkNBW7aWhf7vyZ2KW2LQLq0pG7oiLK1b3OZ9BMAsazja77M7f8jzYjNDJw-iice3NlP0-QbjRkWKa2lLuGySkFDL3ZhC3YF5E45zbOx-rwEDBwQwTxG8qEX5FSX5VmyRd0LuqOQqF0VcKRhhubJ3H1rUpH67IlZStymp0lCOBMqOQ8QW03ThEb389Ksl5DA_o5UkFm5VQoG9EcxIjB0WLdAQhSObplCIm5YbTMKhzt5NLIX9MY3Rr2ypFmfvcjJ5FW9h_F7gjyQjqGedjpFPCCmd15UEpLxmHWMBgCxcKx82e6w4MThqwPy1gbA_exboCh3ND3o1tvhB4JvyLOoxQ2VZNeCIig-Rs_nksOV-9CAuAhxp4I0YwDKHyF8BD__VshkNDA-RryrZKeevcJ-2ytDDflfZ_AYsV1KaVfw6FPEYxOJn3RjqF9OVEEcFfYBwhZimOttAhbZHPmGrb1NNZWQTM-BJlufDCEGADG_djXmPP4PH60gozkiKY8CEyzEgHUL6bmR4fshcatLzPnP4e3vET8Wh3BnkRMuFK_Kk9s1autyUL4ctqDCauGhqQV3Khc9xVkaYb7FUIr5BLKroJpKkWKRBbJ76bUvVtWxpQmkh__JhwB2rjkqVKFY3pvqKVPdRIRGO2vSgauywZ7r-jLobPGNsJR-d2l8A5MYT48fCkQUVTjMgt8Dql5PbvGZCtXNGF95MQR1oaV_PrPxMcs5K0E2TwbgK6U03_TF89AHo3tpJEd8gCG2LjIjtINwdmwrYuvovGUpIGukCr7Nnp6e5R_tTPhIF5yW-qqv71buX9w5T2o8Aj-x7dzXxFQZ1_2-eIDhwlm1Z_MRi3m1GLeRCyZuSU4LD9-sqJSQSS37OOz6DHa8m4PloqArR51nUeWudiD7dheKEfK8Uo6Hwyob_jFcxqOEWecq628RVj14kzBd60SOtUqT3xhmtbWNJwRrfQxR3eG9XAMymrxVI3Aqo2LPCR_iGp1-JtTfyOrhamGYqifeFzns1dVzX0WQnR20DnsGNyS14xX8mv1BYpMh5QfADvub35WsaajXk4wLnne9bfyna7rScpWOdZ9XO38bs7JzpfVgqFkuthhQydwqAQpR6lBipKVnWxSMddxL3szoNhOcy65P7w1chMeQFiW9H6YlfttPmMoLCewYV0i-EkLkZJoA2IgHfQKH7CHU2v-m2IRE6w1cF-439riIYtP7yRSrLDbscXHYQq9vvddsZbCGFztkjzJr47eqp-nC1pAfTGec4MhEMGYLLPvLqSBUTOwzWfYpQU675Hjk0AnwKS6iQrHJqOt1fHC8KtEYlLFWSsha1TGHEGYPr53C5p2v6Hi2LO-6tM9QTh3kJvVqxY2dejAt2BSarEWRIDLuqjNlTuZ4G5dHepL2bohXT0lVWUu8wFNBCZzMhi0Xgo2xnkupWjwIw6FHzIH_-JyJkSWfV0lOiGjYpmesXeo8u-JYKAKFBLmf0MHoSUhWrND_bhr3zTv_278MBqoVUJdz_e9nlSsl15SNYWkb8EEhjJyr_gXTvfllFcM74w8T9cOZgJl9PKPSWBBXkgQbqIH3H0qKXNf9W5eH18dxlJdZsHcX8gPw9fmgtTGgwRTpKuklzoWhzX-GKNjQR_eN5WofLQv_L0fQrkmcnEJp0hmeMCJ7Rsl2ky6_DHElUr9yQ8Fq3OaClc9ouCTV8tUbFUe3LnMxjLnnEcC1gz_RndDCWzshYLrbIu0SaSuw5Irt_mKIO8OdKIXCXFYla7uSPAREDR2Pn9MuKs6dth0j7x4fjVgeXRHF9gqj0iKvrwTqA1i66qTkxydhMKXpka4ECV8F5EiBgdSUs6f1cb", + "summary": [] + }, + { + "id": "msg_0db947136a1ec83f01690e73c637648196b4146eb1a943c137", + "type": "message", + "status": "completed", + "content": [ + { + "type": "output_text", + "annotations": [], + "logprobs": [], + "text": "Hello! How can I help you today? If you were testing or want a \"Hello, world!\" example in a specific programming language, tell me which one and I’ll provide it." + } + ], + "role": "assistant" + } + ], + "parallel_tool_calls": true, + "previous_response_id": null, + "prompt_cache_key": null, + "prompt_cache_retention": null, + "reasoning": { + "effort": "medium", + "summary": null + }, + "safety_identifier": null, + "service_tier": "default", + "store": false, + "temperature": 1.0, + "text": { + "format": { + "type": "text" + }, + "verbosity": "medium" + }, + "tool_choice": "auto", + "tools": [], + "top_logprobs": 0, + "top_p": 1.0, + "truncation": "disabled", + "usage": { + "input_tokens": 10, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens": 236, + "output_tokens_details": { + "reasoning_tokens": 192 + }, + "total_tokens": 246 + }, + "user": null, + "metadata": {} + } + }, + { + "RequestUri": "https://api.openai.com/v1/responses", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json, text/event-stream", + "Authorization": "Sanitized", + "Content-Length": "2891", + "Content-Type": "application/json", + "User-Agent": "OpenAI/2.6.0 (.NET 9.0.10; Microsoft Windows 10.0.26200)" + }, + "RequestBody": { + "model": "gpt-5-mini", + "input": [ + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Hello, world!" + } + ] + }, + { + "type": "reasoning", + "id": "rs_0db947136a1ec83f01690e73c38a2c8196ab914e083aacd509", + "encrypted_content": "gAAAAABpDnPGRfmz64tKPHug5BHba1B5kFpdXVgfOhJRjHZZetqqFShinbi9vwTI7uGsXErpSSiNlajYLtYZkkv_KXrDcIJVf9Hrfp_JVCjjHXOHRxTxngnWEd8Tca-_vH4GI3ON34W2M1Rr0oMv54-QzkoTCXlkBXC2ZiI21-5qfSIe2jzT5H44eI-DnkZrCeTKCqDoReoyNSqwxsly5JS_rrBqg-SYpU0SJhFgaM-RB8OxcPN7eeiRU0iUABnWBnzW4PE-RnTJqd9mg2fmkNBW7aWhf7vyZ2KW2LQLq0pG7oiLK1b3OZ9BMAsazja77M7f8jzYjNDJw-iice3NlP0-QbjRkWKa2lLuGySkFDL3ZhC3YF5E45zbOx-rwEDBwQwTxG8qEX5FSX5VmyRd0LuqOQqF0VcKRhhubJ3H1rUpH67IlZStymp0lCOBMqOQ8QW03ThEb389Ksl5DA_o5UkFm5VQoG9EcxIjB0WLdAQhSObplCIm5YbTMKhzt5NLIX9MY3Rr2ypFmfvcjJ5FW9h_F7gjyQjqGedjpFPCCmd15UEpLxmHWMBgCxcKx82e6w4MThqwPy1gbA_exboCh3ND3o1tvhB4JvyLOoxQ2VZNeCIig-Rs_nksOV-9CAuAhxp4I0YwDKHyF8BD__VshkNDA-RryrZKeevcJ-2ytDDflfZ_AYsV1KaVfw6FPEYxOJn3RjqF9OVEEcFfYBwhZimOttAhbZHPmGrb1NNZWQTM-BJlufDCEGADG_djXmPP4PH60gozkiKY8CEyzEgHUL6bmR4fshcatLzPnP4e3vET8Wh3BnkRMuFK_Kk9s1autyUL4ctqDCauGhqQV3Khc9xVkaYb7FUIr5BLKroJpKkWKRBbJ76bUvVtWxpQmkh__JhwB2rjkqVKFY3pvqKVPdRIRGO2vSgauywZ7r-jLobPGNsJR-d2l8A5MYT48fCkQUVTjMgt8Dql5PbvGZCtXNGF95MQR1oaV_PrPxMcs5K0E2TwbgK6U03_TF89AHo3tpJEd8gCG2LjIjtINwdmwrYuvovGUpIGukCr7Nnp6e5R_tTPhIF5yW-qqv71buX9w5T2o8Aj-x7dzXxFQZ1_2-eIDhwlm1Z_MRi3m1GLeRCyZuSU4LD9-sqJSQSS37OOz6DHa8m4PloqArR51nUeWudiD7dheKEfK8Uo6Hwyob_jFcxqOEWecq628RVj14kzBd60SOtUqT3xhmtbWNJwRrfQxR3eG9XAMymrxVI3Aqo2LPCR_iGp1-JtTfyOrhamGYqifeFzns1dVzX0WQnR20DnsGNyS14xX8mv1BYpMh5QfADvub35WsaajXk4wLnne9bfyna7rScpWOdZ9XO38bs7JzpfVgqFkuthhQydwqAQpR6lBipKVnWxSMddxL3szoNhOcy65P7w1chMeQFiW9H6YlfttPmMoLCewYV0i-EkLkZJoA2IgHfQKH7CHU2v-m2IRE6w1cF-439riIYtP7yRSrLDbscXHYQq9vvddsZbCGFztkjzJr47eqp-nC1pAfTGec4MhEMGYLLPvLqSBUTOwzWfYpQU675Hjk0AnwKS6iQrHJqOt1fHC8KtEYlLFWSsha1TGHEGYPr53C5p2v6Hi2LO-6tM9QTh3kJvVqxY2dejAt2BSarEWRIDLuqjNlTuZ4G5dHepL2bohXT0lVWUu8wFNBCZzMhi0Xgo2xnkupWjwIw6FHzIH_-JyJkSWfV0lOiGjYpmesXeo8u-JYKAKFBLmf0MHoSUhWrND_bhr3zTv_278MBqoVUJdz_e9nlSsl15SNYWkb8EEhjJyr_gXTvfllFcM74w8T9cOZgJl9PKPSWBBXkgQbqIH3H0qKXNf9W5eH18dxlJdZsHcX8gPw9fmgtTGgwRTpKuklzoWhzX-GKNjQR_eN5WofLQv_L0fQrkmcnEJp0hmeMCJ7Rsl2ky6_DHElUr9yQ8Fq3OaClc9ouCTV8tUbFUe3LnMxjLnnEcC1gz_RndDCWzshYLrbIu0SaSuw5Irt_mKIO8OdKIXCXFYla7uSPAREDR2Pn9MuKs6dth0j7x4fjVgeXRHF9gqj0iKvrwTqA1i66qTkxydhMKXpka4ECV8F5EiBgdSUs6f1cb", + "summary": [] + }, + { + "type": "message", + "id": "msg_0db947136a1ec83f01690e73c637648196b4146eb1a943c137", + "status": "completed", + "role": "assistant", + "content": [ + { + "type": "output_text", + "text": "Hello! How can I help you today? If you were testing or want a \"Hello, world!\" example in a specific programming language, tell me which one and I’ll provide it.", + "annotations": [], + "logprobs": [] + } + ] + }, + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Say that again, but dramatically" + } + ] + } + ], + "include": [ + "reasoning.encrypted_content" + ], + "store": false + }, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99b04b3ccf7adeea-SEA", + "Connection": "keep-alive", + "Content-Length": "4063", + "Content-Type": "application/json", + "Date": "Fri, 07 Nov 2025 22:33:50 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "6693", + "openai-project": "Sanitized", + "openai-version": "2020-10-01", + "Server": "cloudflare", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "6709", + "x-ratelimit-limit-requests": "30000", + "x-ratelimit-limit-tokens": "180000000", + "x-ratelimit-remaining-requests": "29999", + "x-ratelimit-remaining-tokens": "179999967", + "x-ratelimit-reset-requests": "2ms", + "x-ratelimit-reset-tokens": "0s", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "id": "resp_0db947136a1ec83f01690e73c7ca008196b1241a90358ce176", + "object": "response", + "created_at": 1762554824, + "status": "completed", + "background": false, + "billing": { + "payer": "developer" + }, + "error": null, + "incomplete_details": null, + "instructions": null, + "max_output_tokens": null, + "max_tool_calls": null, + "model": "gpt-5-mini-2025-08-07", + "output": [ + { + "id": "rs_0db947136a1ec83f01690e73c8ad1c8196991daa323d82863d", + "type": "reasoning", + "encrypted_content": "gAAAAABpDnPO_q1FkFYqNFVIzpirrwWzc27fmJ2lPdpEOfwizucKYgoFapFtFoTYgEqP_gYdsfrYftopMZg6OzoK0Uj1-e4cheUW26zss8MkZ8Vy8kM9-L0m6cYAmpxKUsG8NtWe-VuCZeTHlgJmd3rXc8dEoIwD5kSIcIJ1zutDtTwyoBtoxF2linfAGHuLg26FsxPy0v6-xI8yJV3ovOzUtt1ZPxagYjIKYrL-Le7qNawzGLzqadwTXdgxUZpw7ao5_QgHDPrRecXjb7hUdXTi5hg9E76E_-OAAdmExtoRjWR5wSCFuDQW4wN3eqgfWasgwuhvgH-rcDASR_c-zPjiBCzc5fmX7mviu6fQ6sTMdCjjT5MiGqhLb-G61EH8sUVUUC0wUjxkwCugH41R1XODqgmPdJwv6b2hya2Mu-C1bUEKXQP_iEqs_Z9cPnvJvzr0DfErvI_YlyLqxZGhlZ_m4AsR7FEEb4MYCzo_9BtR30jcdztviEDlHadBFiMOkA6pEx70EK-X1ZIIvyTB9OJxjQ2av5lN73lylD_dAQoI_OcwPCqcd5Rbg8uoAA_diT2rmjvWIQt-sH6vgGMar1S33HhdhE8e4TDlMs4IZymDq_w7Cd4ZBqtJU8fnuiLwKtI_c_BCqNlCPrHtzwTGQ3i9J-nfHFqsfolYeeGKDd8dK19vufpQL58100tnQtLrCwAC0h87qYqw1ipd0RGXVPjUqDJMgOi_F4Ik3bKoo4O9h6IZE_5zmE1xtJbGSDz-apKEAe4-Iv__oqsE3ecqOWGaEy57dRNLDC6wTs_9c7uhH6t2HzQtH3GyVzMmGGmxroRqdBScI3hbWLizj7hAWOn9CeWUPc-Iws3NoFFS_SyiEa-qAjpoVufQx0tuR9uYfe-mdsXvTQEreEr8PA6b9vz_sQmMWg1bQ2QDn6Q_IgrlcXwLXTEbRaRvwC6Ik3Vi-8b5fJ8W3txWkZ8fmvDJ4SDlWOwQN2wjm053jmx22ZIlAmi0l3LEucntOO2yjOV8IVp6y-lZ6zO0A3bxXpKGOlZydOlajVx1UzX9s0Ua5dgerPJr_iho1kJlTsY7fxxjx1wdb9wEfT0_sem6a8N25NHkp131TI42Q2hS4_Rc1kF7Vo6-ZE3NA37xySNANzcm6-YJqwbWyC0pvKNNv2ztl1CXlIDt63V7mUCD_PKZXORfM-sYuiGWb5-Hn3PHmdY7Yt3qwhc5imE5n3598va3mNrfsHjKOCvrVWHm0p3iXMdx9bU0KSamlhJWmnQxpPPeLh8xEVLfbPt_V1SFwVRvzto3KiTDBmZ4mUr9HzBPYRMEfusB3ZTCBv36GBPEs-xGUgatg4QdYR7b-2JN613H19NxNKVfTcvVZZ8OQw1Xg-bie5dVfIBpkZjBtH4pyO07g1NJ7kMYvFOj_Z9pjY_6we5GgTI_PH3rlacd230lpwgSodY0O_x34IzbYmTY4g2LsYv5RMotekvbuzKLhHeC8VyGZAVNM29a_CX5JVrwR1dZW6n4LlJK1jXpdBx2XchDEhc6NXFqpJRtjSGRYuk1G864sf_SqW3yRnJx2jf3MRcejkkooELW0IYLqFpz3U1UI2lbg7kNYMwFGsKb0iy-w-098VJdEKpt3x2ResdP6PzPsPQ4hDrrrq_jG5McklKwJ9iQpb5tHa8q0cYa6Kn6DO4AJjMN1x1AE4ku1PyiD-jRTvOPvIExzBrayBy_cbcmBMuHmFjeNNH3siAp4MkMH5c9WEYujqH-JGf1UfnHEEpuOvA0I4EiQ4lQbOZcuAqpEwoc07l_L-G3X2RJ4LCpkZlmYIYl04WPjba2kZUdB_yvK2kGH23o5c1SdZcV0NHDqQUhGTix452tgU-m7YE5xBbfLx4aj2mr07XueY3ORlLCMexYYqB0sduSMSyERIhpk4YRfVBJM4LrnZUkfIf1stDwX7H8bindY_Q4VPybqtewXyFABW9xaimaZ8AjrKxC1mq9Fl5scur2kS1CwdZeb-esCAv4_YGFoDHDKydLywm8zIZ-BMOAwjdyIIf-QyqWo8W8LFYC7CzCFo2tBEmUbgZioEYQGru-Q99MGSlxRDxmN587voCY1OdPXZ-sVtANnoOMHgV6qw-KrYlxFgtFL2xQ76LgOdK_eGxMyqQewiJ-mkA93jSxxEODIILbYA-Vl_lzBMWkZ6SfR9M1COnBBX31RGy9XqHXccaciqWXhaNffyREpPWbnas=", + "summary": [] + }, + { + "id": "msg_0db947136a1ec83f01690e73cccd68819698c71a9af7fa37ac", + "type": "message", + "status": "completed", + "content": [ + { + "type": "output_text", + "annotations": [], + "logprobs": [], + "text": "(A hush falls. A single spotlight pierces the dark. From the silence a voice rises, clear and resonant.)\n\n\"Hello!\" \n(Beat. The voice softens, leaning closer as if sharing a secret.) \n\"How can I help you today?\"" + } + ], + "role": "assistant" + } + ], + "parallel_tool_calls": true, + "previous_response_id": null, + "prompt_cache_key": null, + "prompt_cache_retention": null, + "reasoning": { + "effort": "medium", + "summary": null + }, + "safety_identifier": null, + "service_tier": "default", + "store": false, + "temperature": 1.0, + "text": { + "format": { + "type": "text" + }, + "verbosity": "medium" + }, + "tool_choice": "auto", + "tools": [], + "top_logprobs": 0, + "top_p": 1.0, + "truncation": "disabled", + "usage": { + "input_tokens": 64, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens": 251, + "output_tokens_details": { + "reasoning_tokens": 192 + }, + "total_tokens": 315 + }, + "user": null, + "metadata": {} + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabledAsync.json b/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabledAsync.json new file mode 100644 index 000000000..d0aee0c20 --- /dev/null +++ b/tests/SessionRecords/ResponsesTests/ReasoningWithStoreDisabledAsync.json @@ -0,0 +1,299 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/responses", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json, text/event-stream", + "Authorization": "Sanitized", + "Content-Length": "178", + "Content-Type": "application/json", + "User-Agent": "OpenAI/2.6.0 (.NET 9.0.10; Microsoft Windows 10.0.26200)" + }, + "RequestBody": { + "model": "gpt-5-mini", + "input": [ + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Hello, world!" + } + ] + } + ], + "include": [ + "reasoning.encrypted_content" + ], + "store": false + }, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99b02491e9df76b6-SEA", + "Connection": "keep-alive", + "Content-Length": "2956", + "Content-Type": "application/json", + "Date": "Fri, 07 Nov 2025 22:07:22 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "2177", + "openai-project": "Sanitized", + "openai-version": "2020-10-01", + "Server": "cloudflare", + "Set-Cookie": [ + "Sanitized", + "Sanitized" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "2184", + "x-ratelimit-limit-requests": "30000", + "x-ratelimit-limit-tokens": "180000000", + "x-ratelimit-remaining-requests": "29999", + "x-ratelimit-remaining-tokens": "180000000", + "x-ratelimit-reset-requests": "2ms", + "x-ratelimit-reset-tokens": "0s", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "id": "resp_07cbff89bf5e55ba01690e6d9807208194bda5ebcbea7be163", + "object": "response", + "created_at": 1762553240, + "status": "completed", + "background": false, + "billing": { + "payer": "developer" + }, + "error": null, + "incomplete_details": null, + "instructions": null, + "max_output_tokens": null, + "max_tool_calls": null, + "model": "gpt-5-mini-2025-08-07", + "output": [ + { + "id": "rs_07cbff89bf5e55ba01690e6d98abf4819481e42d3e28e6d163", + "type": "reasoning", + "encrypted_content": "gAAAAABpDm2aQEXCBvdQpbBlVALEHaUBeR5o_0ncOcqvmIYFZxZbAGLT9AwS8YB_OYYAKEdKxKgvQ4M5lhZEIkHNm0tAbaHam2hysUH2eptd-4DzxqX5NL1MLNurlIr0isc064DwZxgtPG0-Q2dmUZEkuvs8RnWu9LjI-S2q3qxnFj4DrpOxd9TVD0Z67hvYgmqGvR4M6vtV9WOZd_anajrQ62zIajcK5zAiHYo9FvrkgRhSHkbkSSIXR1NSaz4IMSdk_WemWhQ2_7p8PyHG7MAutLKRboAFwiwboMsvLqX7O_pOOMVrSumDkKKpLetZ6LY49UZ8P_F8gOQ3NeDgGiP2meAR3dmKS2aeGQWXZ35Bv2ZxDodbzyLyvyaMrqM3Mq7326UrzYBhOzAktUHe0rzmqYRQzDn6FzdAWFBbDeKRQWyKcj5MFAgpdDZeN8In-5qOTGCSutnZe1zB6Z_h-ieJu9awEaY9z3Vb_rKmPmYnpVSqGtVqf0lnxHw5V8CuJDg-fSed67NlquoRTPybDjpoU9dKBfpKQmIIBBrXCxVetqsU7R54WCDJf6-bmYYb3SA1h2I8gPQTvkK8SFz0QLQKqWD57YwOomBllcCS6Z7k3D6pF40fKjBt82Vj7Du4jfqJ4iWQq4bRiCKcJiwKUsNoedT-Hn_re-Y900ki5FAMC9ATp6Oqc05MfY2QAWJd0m6hZjefg4sedtKnoZTVoU7mJZZYfeTZxiU9pCXfrjqfbPOYUVpZZt800UCea1UKy9OWHaRLa9BKfhBIM19ZzV9niSTeeb2_FSgYeIhNBl3uDBIZVWu5PPt3K8utTKwSXaw72OO_PsQpstzO-jPTgLzdpgI95To2Qyy8kiSqggg3yb1zKw9H2MgVUeRaPS00CEzmZptIT4tDKnFmSVCCintVU9bdt4NoLylycJk5HhVfEMVkZgax2fQCi2SKVLVa9ePdLt9tkwws3sH52JXS2VqAj8KxoD_l3bAG1ywmz0ceED7uRqsTaixQbR7u2O9Q7hkERiVWvkSQFEsvVBcBWMuf_zw_7jttB6AtCN_ji_q1mwhCDfO6WBv8jQv2MCDNDO459H7LAkJIn1iVn1Gi8fVMnRk0UfqxbkT_-UXB3AZfGOVvMuZC42GSoMJOErgc7hlehA350PAWBYhuYFlEbVufdGFPNdJZFgst0SoUYyeiZGnuHSatVkTmK2My92JBipoO9Mje_cu3eVe-2S-4KgDKGTaeqHkhrZxOFJ0u0NKPEHfhg2rhd0E2C-hu9NGvfPd9YqV_xX4AmihAohlm9l2ncATSza5_Gw==", + "summary": [] + }, + { + "id": "msg_07cbff89bf5e55ba01690e6d99e2b481949d691d49fec102f3", + "type": "message", + "status": "completed", + "content": [ + { + "type": "output_text", + "annotations": [], + "logprobs": [], + "text": "Hello! How can I help you today?" + } + ], + "role": "assistant" + } + ], + "parallel_tool_calls": true, + "previous_response_id": null, + "prompt_cache_key": null, + "prompt_cache_retention": null, + "reasoning": { + "effort": "medium", + "summary": null + }, + "safety_identifier": null, + "service_tier": "default", + "store": false, + "temperature": 1.0, + "text": { + "format": { + "type": "text" + }, + "verbosity": "medium" + }, + "tool_choice": "auto", + "tools": [], + "top_logprobs": 0, + "top_p": 1.0, + "truncation": "disabled", + "usage": { + "input_tokens": 10, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens": 79, + "output_tokens_details": { + "reasoning_tokens": 64 + }, + "total_tokens": 89 + }, + "user": null, + "metadata": {} + } + }, + { + "RequestUri": "https://api.openai.com/v1/responses", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json, text/event-stream", + "Authorization": "Sanitized", + "Content-Length": "1950", + "Content-Type": "application/json", + "User-Agent": "OpenAI/2.6.0 (.NET 9.0.10; Microsoft Windows 10.0.26200)" + }, + "RequestBody": { + "model": "gpt-5-mini", + "input": [ + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Hello, world!" + } + ] + }, + { + "type": "reasoning", + "id": "rs_07cbff89bf5e55ba01690e6d98abf4819481e42d3e28e6d163", + "encrypted_content": "gAAAAABpDm2aQEXCBvdQpbBlVALEHaUBeR5o_0ncOcqvmIYFZxZbAGLT9AwS8YB_OYYAKEdKxKgvQ4M5lhZEIkHNm0tAbaHam2hysUH2eptd-4DzxqX5NL1MLNurlIr0isc064DwZxgtPG0-Q2dmUZEkuvs8RnWu9LjI-S2q3qxnFj4DrpOxd9TVD0Z67hvYgmqGvR4M6vtV9WOZd_anajrQ62zIajcK5zAiHYo9FvrkgRhSHkbkSSIXR1NSaz4IMSdk_WemWhQ2_7p8PyHG7MAutLKRboAFwiwboMsvLqX7O_pOOMVrSumDkKKpLetZ6LY49UZ8P_F8gOQ3NeDgGiP2meAR3dmKS2aeGQWXZ35Bv2ZxDodbzyLyvyaMrqM3Mq7326UrzYBhOzAktUHe0rzmqYRQzDn6FzdAWFBbDeKRQWyKcj5MFAgpdDZeN8In-5qOTGCSutnZe1zB6Z_h-ieJu9awEaY9z3Vb_rKmPmYnpVSqGtVqf0lnxHw5V8CuJDg-fSed67NlquoRTPybDjpoU9dKBfpKQmIIBBrXCxVetqsU7R54WCDJf6-bmYYb3SA1h2I8gPQTvkK8SFz0QLQKqWD57YwOomBllcCS6Z7k3D6pF40fKjBt82Vj7Du4jfqJ4iWQq4bRiCKcJiwKUsNoedT-Hn_re-Y900ki5FAMC9ATp6Oqc05MfY2QAWJd0m6hZjefg4sedtKnoZTVoU7mJZZYfeTZxiU9pCXfrjqfbPOYUVpZZt800UCea1UKy9OWHaRLa9BKfhBIM19ZzV9niSTeeb2_FSgYeIhNBl3uDBIZVWu5PPt3K8utTKwSXaw72OO_PsQpstzO-jPTgLzdpgI95To2Qyy8kiSqggg3yb1zKw9H2MgVUeRaPS00CEzmZptIT4tDKnFmSVCCintVU9bdt4NoLylycJk5HhVfEMVkZgax2fQCi2SKVLVa9ePdLt9tkwws3sH52JXS2VqAj8KxoD_l3bAG1ywmz0ceED7uRqsTaixQbR7u2O9Q7hkERiVWvkSQFEsvVBcBWMuf_zw_7jttB6AtCN_ji_q1mwhCDfO6WBv8jQv2MCDNDO459H7LAkJIn1iVn1Gi8fVMnRk0UfqxbkT_-UXB3AZfGOVvMuZC42GSoMJOErgc7hlehA350PAWBYhuYFlEbVufdGFPNdJZFgst0SoUYyeiZGnuHSatVkTmK2My92JBipoO9Mje_cu3eVe-2S-4KgDKGTaeqHkhrZxOFJ0u0NKPEHfhg2rhd0E2C-hu9NGvfPd9YqV_xX4AmihAohlm9l2ncATSza5_Gw==", + "summary": [] + }, + { + "type": "message", + "id": "msg_07cbff89bf5e55ba01690e6d99e2b481949d691d49fec102f3", + "status": "completed", + "role": "assistant", + "content": [ + { + "type": "output_text", + "text": "Hello! How can I help you today?", + "annotations": [], + "logprobs": [] + } + ] + }, + { + "type": "message", + "role": "user", + "content": [ + { + "type": "input_text", + "text": "Say that again, but dramatically" + } + ] + } + ], + "include": [ + "reasoning.encrypted_content" + ], + "store": false + }, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99b024a50ad176b6-SEA", + "Connection": "keep-alive", + "Content-Length": "4578", + "Content-Type": "application/json", + "Date": "Fri, 07 Nov 2025 22:07:29 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "6432", + "openai-project": "Sanitized", + "openai-version": "2020-10-01", + "Server": "cloudflare", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "7448", + "x-ratelimit-limit-requests": "30000", + "x-ratelimit-limit-tokens": "180000000", + "x-ratelimit-remaining-requests": "29999", + "x-ratelimit-remaining-tokens": "179999868", + "x-ratelimit-reset-requests": "2ms", + "x-ratelimit-reset-tokens": "0s", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "id": "resp_07cbff89bf5e55ba01690e6d9b822c819499e42323a3201a1e", + "object": "response", + "created_at": 1762553243, + "status": "completed", + "background": false, + "billing": { + "payer": "developer" + }, + "error": null, + "incomplete_details": null, + "instructions": null, + "max_output_tokens": null, + "max_tool_calls": null, + "model": "gpt-5-mini-2025-08-07", + "output": [ + { + "id": "rs_07cbff89bf5e55ba01690e6d9c3118819487265e8b51cbfc0d", + "type": "reasoning", + "encrypted_content": "gAAAAABpDm2hUYJU5H8T8_qGDmGp2dvU-V48JS9SnmzGl5G2UPCEczO4XYpcjECX7GApbdNwBVXazUpxdvb7hc_zwTq1x3Kyi0bQP4ksn2U9ZdTJzUVhzU1i1JUhMEdcNHT8FmL_ZozsOyqP_bsPgfTIsZOzZFTLFL_7LrNwGjEWKn4oioVfiVz0pNmrBaer9UBIHOy7zM57D2OqbNUyReih7nk5ClDwNRPtyS7btGHFd8X3QT7XrS96ndOCHQcqI3Qu4TsFH3DL61chab3tXnVobD5LCJX0vZCH4-MX7_q8aoNCP3Azx7hGCx4arnHgtEZ_cPBLd13tOQPAq8zfjwrfKNqMJq082Ao31CrGYj956WdAIgMOkVwU43KkAKay2CEFgu0kpcclwkEZI5zo7-lehl8DfUNAf3r3qfGYDV673-utFdkL_WVd__NUk5wyGb0FD8KDbLVy_HUR-DLgXVo3h1kHlVbJaX0Q9B_iTn4RRcrfYyo6Rhzq1H8vaZ2999-L6y1tUd1sLoyCGH4si8mUbimo7CpV9cRPtvouloZ0DEp7nHc5_-tJIcvpIvcS-UBY2KnW87qDty1HG7pT7PhvorOwwfQ4rd4yXBzBmTk5yxlLvT_4P8LCxhVsH_I2A6lgZlFzc-cO1a0-E6O7d4C7M-o1t3y-BJLcZMNFQnrm6h9jZF8t9UWGX-KyJ1AjgHBchsj5Ixu75mXf84E6nwk7o2tIOirki4ROYbgQVLzqEO51pavC4afHuwFJ-XJ7poUlWLr6FuOfvCEOcGzOslkuKAdV-HyCaOOIRHZSMdtPsVUu9I7-pZLRolYEsG4KsEEZZsdoSDRSP7DlSTvnAc2vzuRhWbugR3Yjei66uR7Q1GfRKkaHBkgh4LX8_fB3RtQ0WFLcq7amhmzNnWWQhQM3gjz0z3bkcY-86HHKg0vn5JveaeMYxXeH89CR1knPU7BkVtJWn8ABvOYXbpnuJROGImJ_Wt0h9U2H-TS9wofAkLtNzYleyOQPUhne4TAjmwcH09TamZIH4dV_WtnEGf_XjpFWVHmRgyYWc6r14s1XqpeTNC2GM4ldhOWiV5xayiP_47TA_TvqZ9P-N220HZkj3Syw5pqZPLFFh0dPehX_Ufus0C-xAZsRyJwl1OkAr1nPfeUc02tomcR5dUfnsTQzD6C_FJnmvxoIA8GefrAvud_w__8sl8WJvYJKzbjkCbBjazww1Ws65Y1UZFaKXktKBqa45WIUnMyKX836xf71CmS4U0-fNtI7ySwmw_orl21HjvqidsDSHfQjhvoUj0W4iub5YKMABeuUO0Lj_NFdUq-AZz5YnWrtIxYHwJFh_8-euzmUhAybijEKD0J8Zunz7kvuYuyvArO3tMDNhFs9AfhDSKeCVdpeoq6D_CtdVbSRTiF6cK2nx8pBKBcHCHkaLaO4avOt2Ex1wsgF5jI8Kfk7F58SU8LNePnD3LP4fVL4-952aUiYT9bgisa3-fsasfB0VdDWcgIuEscBiBu2c8_Jnz84ozW3-tPMmobOS_ZZrpwUC-0AeSGjWNfQfKxrhVEgEJ7b-eWLJC917f9_AGj3VQDOePF01ZPxjD-1DryR3hrGyqJNPGm39igbncx6KYFKlp2lAs0woq8Y7kcUMANmBW69O4FNhkLMF2eY5qYAu8rtqXAKmPW-wlnVrRudyszXOSOZcXj5uUwWHrl0sdZB7Y41bc7Jrp7XzGLYMl5ckNMQCZFKr8cD5QtM-KP2db_cM8O8SFS2IX-7QcBIg8fIe-9_itx0oL3yuzLaWITqJPt8LitrGOoyj-zJb1xo2FFl2kOa_89zyKZI5WZXlMEQAwoCVDX_d55toOjQxpQScsSLj8TTOLTFqSWuzPgLQ4Mfp_A0keo4mvbWs8GEBB0Hv9ZK2_yl-b-j_EsqYrsj5MslncoAF3foNFiZss4fp8CLfKV1sZSUvrdLtT-43yjuVE1upwsEaUxEZk0Z853O7S2R5D2o8HFilFP6RuwMtbCUBdsz44TnVchWfbMpkGpe9vrShf7NNanrAS42i-n4IWAjsS4gnyOtZll5z12MD0YHnS7Rm4mr-WzSsaA2W5LmwsqfEBgCIzBVS76L4Tc-PYx-oHQFQXWvZMJML9_UbZKhnv5prX7iCh8-lYier9wpQ6fH6kZZsKxn2LkoSTVtVzsfm10hv0rXo-RO5tl6PyoqFvNN4bfpuedGcEpHkBYf_7YBnFD5CIWIWUuoYqAfeuazT0HsorhP04gFlI0mGF0ZTNrnmSw_VsYuFQx3AXNGg-T74F8yxOh6-xXjoUQQKeRMEkV7RS6Oyi4Z2blQ7VGeqeft-4V86uKW-HBxzekI2lMTJFH_kr2ePG-yCLj2D_CPAQrQunXWXgImq-eIK5Of5IVaKIc0CoDlGtTTdSXxJPKmyaI6zqH9zQ4RMdGftSHeGh-z9TCEvASzDdOFrP-Hay-QAkyXhzJ-8XPH2NEe3VcaSGvh6L4z2LFBvqsckk5U9ui9u-OUF7NOlhE0lK1z7NPt_GXJvBFCFKy-mDO_T-4jPorHx_USk14LZpPV0GHQXiPNKobfQUM5HETGxKXq-kb3HIrplWOM2BgCPLqq9vo9_3TnY1qLUDfkbeRNvlkXcMxkTa2Q29s_0xePyKhk1D3RkpN8mtuh95prW3krr-7CgJbQA7aKbFRWWYPmO26XhoV4lNI6177geVKIS7ubu6PpgsP_4VRgSSUbgLw5rYnuFetWkLKEVC3akqwx8x6r8Yv2P8ogadgGTfTywNganHMtHFBbemja5hmWgh_NEEmyl1fzY75QkB7xoVuRh8WFGeTuK0SjhOg8KXXrSkDjiYGY3kUg9OqU7yKkWJ0b8HxVqCex_tC9pOg34GJCwJIjip2w", + "summary": [] + }, + { + "id": "msg_07cbff89bf5e55ba01690e6da16bac81948555181ef0a2bdf6", + "type": "message", + "status": "completed", + "content": [ + { + "type": "output_text", + "annotations": [], + "logprobs": [], + "text": "(in a booming, theatrical voice) \"HELLOOO! How can I help you... TODAY?!\"" + } + ], + "role": "assistant" + } + ], + "parallel_tool_calls": true, + "previous_response_id": null, + "prompt_cache_key": null, + "prompt_cache_retention": null, + "reasoning": { + "effort": "medium", + "summary": null + }, + "safety_identifier": null, + "service_tier": "default", + "store": false, + "temperature": 1.0, + "text": { + "format": { + "type": "text" + }, + "verbosity": "medium" + }, + "tool_choice": "auto", + "tools": [], + "top_logprobs": 0, + "top_p": 1.0, + "truncation": "disabled", + "usage": { + "input_tokens": 35, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens": 347, + "output_tokens_details": { + "reasoning_tokens": 320 + }, + "total_tokens": 382 + }, + "user": null, + "metadata": {} + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tspCodeModel.json b/tspCodeModel.json index a79680477..3ea7f4fa7 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -119221,8 +119221,9 @@ { "$id": "8975", "kind": "query", - "name": "includables", + "name": "include", "serializedName": "include[]", + "doc": "Specifies additional output data to include in the model response.", "type": { "$ref": "5143" }, @@ -119231,7 +119232,7 @@ "optional": true, "scope": "Method", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.includables", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.include", "readOnly": false }, { @@ -119248,7 +119249,7 @@ "decorators": [] }, "isApiVersion": false, - "explode": false, + "explode": true, "optional": true, "scope": "Method", "decorators": [], @@ -119269,7 +119270,7 @@ "decorators": [] }, "isApiVersion": false, - "explode": false, + "explode": true, "optional": true, "scope": "Method", "decorators": [], @@ -119278,11 +119279,31 @@ }, { "$id": "8980", + "kind": "query", + "name": "include_obfuscation", + "serializedName": "include_obfuscation", + "type": { + "$id": "8981", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "isApiVersion": false, + "explode": true, + "optional": true, + "scope": "Method", + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.include_obfuscation", + "readOnly": false + }, + { + "$id": "8982", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "8981", + "$id": "8983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119303,7 +119324,7 @@ 200 ], "bodyType": { - "$id": "8982", + "$id": "8984", "kind": "union", "name": "", "variantTypes": [ @@ -119344,13 +119365,13 @@ }, "parameters": [ { - "$id": "8983", + "$id": "8985", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8984", + "$id": "8986", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119366,10 +119387,11 @@ "decorators": [] }, { - "$id": "8985", + "$id": "8987", "kind": "method", - "name": "includables", + "name": "include", "serializedName": "include[]", + "doc": "Specifies additional output data to include in the model response.", "type": { "$ref": "5143" }, @@ -119377,19 +119399,19 @@ "isApiVersion": false, "optional": true, "scope": "Method", - "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.includables", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.include", "readOnly": false, "access": "public", "decorators": [] }, { - "$id": "8986", + "$id": "8988", "kind": "method", "name": "stream", "serializedName": "stream", "doc": "If set to true, model response data will be streamed to the client as it is generated using server-sent events.", "type": { - "$id": "8987", + "$id": "8989", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -119405,13 +119427,13 @@ "decorators": [] }, { - "$id": "8988", + "$id": "8990", "kind": "method", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "8989", + "$id": "8991", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119427,12 +119449,33 @@ "decorators": [] }, { - "$id": "8990", + "$id": "8992", + "kind": "method", + "name": "include_obfuscation", + "serializedName": "include_obfuscation", + "type": { + "$id": "8993", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "location": "Query", + "isApiVersion": false, + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.include_obfuscation", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "8994", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "8981" + "$ref": "8983" }, "location": "Header", "isApiVersion": false, @@ -119446,7 +119489,7 @@ ], "response": { "type": { - "$ref": "8982" + "$ref": "8984" } }, "isOverride": false, @@ -119455,25 +119498,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse" }, { - "$id": "8991", + "$id": "8995", "kind": "basic", "name": "deleteResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8992", + "$id": "8996", "name": "deleteResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "8993", + "$id": "8997", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8994", + "$id": "8998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119491,7 +119534,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id" }, { - "$id": "8995", + "$id": "8999", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119533,13 +119576,13 @@ }, "parameters": [ { - "$id": "8996", + "$id": "9000", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8997", + "$id": "9001", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119555,7 +119598,7 @@ "decorators": [] }, { - "$id": "8998", + "$id": "9002", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119583,25 +119626,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse" }, { - "$id": "8999", + "$id": "9003", "kind": "basic", "name": "cancelResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "9000", + "$id": "9004", "name": "cancelResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "9001", + "$id": "9005", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9002", + "$id": "9006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119619,7 +119662,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id" }, { - "$id": "9003", + "$id": "9007", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119661,13 +119704,13 @@ }, "parameters": [ { - "$id": "9004", + "$id": "9008", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "9005", + "$id": "9009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119683,7 +119726,7 @@ "decorators": [] }, { - "$id": "9006", + "$id": "9010", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119711,27 +119754,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse" }, { - "$id": "9007", + "$id": "9011", "kind": "paging", "name": "GetResponseInputItems", "accessibility": "public", "apiVersions": [], "doc": "Returns a list of input items for a given response.", "operation": { - "$id": "9008", + "$id": "9012", "name": "GetResponseInputItems", "resourceName": "Responses", "doc": "Returns a list of input items for a given response.", "accessibility": "public", "parameters": [ { - "$id": "9009", + "$id": "9013", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9010", + "$id": "9014", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119749,13 +119792,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id" }, { - "$id": "9011", + "$id": "9015", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9012", + "$id": "9016", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119770,7 +119813,7 @@ "readOnly": false }, { - "$id": "9013", + "$id": "9017", "kind": "query", "name": "order", "serializedName": "order", @@ -119787,13 +119830,13 @@ "readOnly": false }, { - "$id": "9014", + "$id": "9018", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9015", + "$id": "9019", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119808,13 +119851,13 @@ "readOnly": false }, { - "$id": "9016", + "$id": "9020", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9017", + "$id": "9021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119829,7 +119872,7 @@ "readOnly": false }, { - "$id": "9018", + "$id": "9022", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119871,13 +119914,13 @@ }, "parameters": [ { - "$id": "9019", + "$id": "9023", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "9020", + "$id": "9024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119893,13 +119936,13 @@ "decorators": [] }, { - "$id": "9021", + "$id": "9025", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9022", + "$id": "9026", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119915,7 +119958,7 @@ "decorators": [] }, { - "$id": "9023", + "$id": "9027", "kind": "method", "name": "order", "serializedName": "order", @@ -119933,13 +119976,13 @@ "decorators": [] }, { - "$id": "9024", + "$id": "9028", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9025", + "$id": "9029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119955,13 +119998,13 @@ "decorators": [] }, { - "$id": "9026", + "$id": "9030", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9027", + "$id": "9031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119977,7 +120020,7 @@ "decorators": [] }, { - "$id": "9028", + "$id": "9032", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120012,7 +120055,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9014" + "$ref": "9018" }, "responseSegments": [ "last_id" @@ -120024,13 +120067,13 @@ ], "parameters": [ { - "$id": "9029", + "$id": "9033", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9030", + "$id": "9034", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -120041,7 +120084,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9031", + "$id": "9035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -120063,27 +120106,27 @@ } }, { - "$id": "9032", + "$id": "9036", "kind": "client", "name": "Images", "namespace": "OpenAI", "methods": [ { - "$id": "9033", + "$id": "9037", "kind": "basic", "name": "GenerateImages", "accessibility": "public", "apiVersions": [], "summary": "Creates an image given a prompt", "operation": { - "$id": "9034", + "$id": "9038", "name": "GenerateImages", "resourceName": "Images", "summary": "Creates an image given a prompt", "accessibility": "public", "parameters": [ { - "$id": "9035", + "$id": "9039", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120099,7 +120142,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept" }, { - "$id": "9036", + "$id": "9040", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120116,7 +120159,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType" }, { - "$id": "9037", + "$id": "9041", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120164,7 +120207,7 @@ }, "parameters": [ { - "$id": "9038", + "$id": "9042", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120181,7 +120224,7 @@ "decorators": [] }, { - "$id": "9039", + "$id": "9043", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120198,7 +120241,7 @@ "decorators": [] }, { - "$id": "9040", + "$id": "9044", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -120227,21 +120270,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage" }, { - "$id": "9041", + "$id": "9045", "kind": "basic", "name": "GenerateImageEdits", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "9042", + "$id": "9046", "name": "GenerateImageEdits", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "9043", + "$id": "9047", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120257,7 +120300,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept" }, { - "$id": "9044", + "$id": "9048", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120273,7 +120316,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType" }, { - "$id": "9045", + "$id": "9049", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120321,7 +120364,7 @@ }, "parameters": [ { - "$id": "9046", + "$id": "9050", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120338,7 +120381,7 @@ "decorators": [] }, { - "$id": "9047", + "$id": "9051", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -120355,7 +120398,7 @@ "decorators": [] }, { - "$id": "9048", + "$id": "9052", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120383,21 +120426,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit" }, { - "$id": "9049", + "$id": "9053", "kind": "basic", "name": "GenerateImageVariations", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "9050", + "$id": "9054", "name": "GenerateImageVariations", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "9051", + "$id": "9055", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120413,7 +120456,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept" }, { - "$id": "9052", + "$id": "9056", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120429,7 +120472,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType" }, { - "$id": "9053", + "$id": "9057", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120477,7 +120520,7 @@ }, "parameters": [ { - "$id": "9054", + "$id": "9058", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120494,7 +120537,7 @@ "decorators": [] }, { - "$id": "9055", + "$id": "9059", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -120511,7 +120554,7 @@ "decorators": [] }, { - "$id": "9056", + "$id": "9060", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120541,13 +120584,13 @@ ], "parameters": [ { - "$id": "9057", + "$id": "9061", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9058", + "$id": "9062", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -120558,7 +120601,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9059", + "$id": "9063", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -120580,27 +120623,27 @@ } }, { - "$id": "9060", + "$id": "9064", "kind": "client", "name": "Messages", "namespace": "OpenAI", "methods": [ { - "$id": "9061", + "$id": "9065", "kind": "basic", "name": "createMessage", "accessibility": "public", "apiVersions": [], "summary": "Create a message.", "operation": { - "$id": "9062", + "$id": "9066", "name": "createMessage", "resourceName": "Messages", "summary": "Create a message.", "accessibility": "public", "parameters": [ { - "$id": "9063", + "$id": "9067", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120616,7 +120659,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept" }, { - "$id": "9064", + "$id": "9068", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120632,13 +120675,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta" }, { - "$id": "9065", + "$id": "9069", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "9066", + "$id": "9070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120656,7 +120699,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id" }, { - "$id": "9067", + "$id": "9071", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120673,7 +120716,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType" }, { - "$id": "9068", + "$id": "9072", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120721,7 +120764,7 @@ }, "parameters": [ { - "$id": "9069", + "$id": "9073", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120738,7 +120781,7 @@ "decorators": [] }, { - "$id": "9070", + "$id": "9074", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120755,13 +120798,13 @@ "decorators": [] }, { - "$id": "9071", + "$id": "9075", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "9072", + "$id": "9076", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120777,7 +120820,7 @@ "decorators": [] }, { - "$id": "9073", + "$id": "9077", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120794,7 +120837,7 @@ "decorators": [] }, { - "$id": "9074", + "$id": "9078", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -120823,21 +120866,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage" }, { - "$id": "9075", + "$id": "9079", "kind": "paging", "name": "listMessages", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of messages for a given thread.", "operation": { - "$id": "9076", + "$id": "9080", "name": "listMessages", "resourceName": "Messages", "summary": "Returns a list of messages for a given thread.", "accessibility": "public", "parameters": [ { - "$id": "9077", + "$id": "9081", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120853,7 +120896,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept" }, { - "$id": "9078", + "$id": "9082", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120869,13 +120912,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta" }, { - "$id": "9079", + "$id": "9083", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9080", + "$id": "9084", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120893,13 +120936,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id" }, { - "$id": "9081", + "$id": "9085", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9082", + "$id": "9086", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120914,7 +120957,7 @@ "readOnly": false }, { - "$id": "9083", + "$id": "9087", "kind": "query", "name": "order", "serializedName": "order", @@ -120931,13 +120974,13 @@ "readOnly": false }, { - "$id": "9084", + "$id": "9088", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9085", + "$id": "9089", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120952,13 +120995,13 @@ "readOnly": false }, { - "$id": "9086", + "$id": "9090", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9087", + "$id": "9091", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120999,7 +121042,7 @@ }, "parameters": [ { - "$id": "9088", + "$id": "9092", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121016,7 +121059,7 @@ "decorators": [] }, { - "$id": "9089", + "$id": "9093", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121033,13 +121076,13 @@ "decorators": [] }, { - "$id": "9090", + "$id": "9094", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "9091", + "$id": "9095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121055,13 +121098,13 @@ "decorators": [] }, { - "$id": "9092", + "$id": "9096", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9093", + "$id": "9097", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121077,7 +121120,7 @@ "decorators": [] }, { - "$id": "9094", + "$id": "9098", "kind": "method", "name": "order", "serializedName": "order", @@ -121095,13 +121138,13 @@ "decorators": [] }, { - "$id": "9095", + "$id": "9099", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9096", + "$id": "9100", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121117,13 +121160,13 @@ "decorators": [] }, { - "$id": "9097", + "$id": "9101", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9098", + "$id": "9102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121157,7 +121200,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9084" + "$ref": "9088" }, "responseSegments": [ "last_id" @@ -121167,21 +121210,21 @@ } }, { - "$id": "9099", + "$id": "9103", "kind": "basic", "name": "getMessage", "accessibility": "public", "apiVersions": [], "summary": "Retrieve a message.", "operation": { - "$id": "9100", + "$id": "9104", "name": "getMessage", "resourceName": "Messages", "summary": "Retrieve a message.", "accessibility": "public", "parameters": [ { - "$id": "9101", + "$id": "9105", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121197,7 +121240,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept" }, { - "$id": "9102", + "$id": "9106", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121213,13 +121256,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta" }, { - "$id": "9103", + "$id": "9107", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "9104", + "$id": "9108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121237,13 +121280,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id" }, { - "$id": "9105", + "$id": "9109", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9106", + "$id": "9110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121287,7 +121330,7 @@ }, "parameters": [ { - "$id": "9107", + "$id": "9111", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121304,7 +121347,7 @@ "decorators": [] }, { - "$id": "9108", + "$id": "9112", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121321,13 +121364,13 @@ "decorators": [] }, { - "$id": "9109", + "$id": "9113", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "9110", + "$id": "9114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121343,13 +121386,13 @@ "decorators": [] }, { - "$id": "9111", + "$id": "9115", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9112", + "$id": "9116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121376,21 +121419,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage" }, { - "$id": "9113", + "$id": "9117", "kind": "basic", "name": "modifyMessage", "accessibility": "public", "apiVersions": [], "summary": "Modifies a message.", "operation": { - "$id": "9114", + "$id": "9118", "name": "modifyMessage", "resourceName": "Messages", "summary": "Modifies a message.", "accessibility": "public", "parameters": [ { - "$id": "9115", + "$id": "9119", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121406,7 +121449,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept" }, { - "$id": "9116", + "$id": "9120", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121422,13 +121465,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta" }, { - "$id": "9117", + "$id": "9121", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9118", + "$id": "9122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121446,13 +121489,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id" }, { - "$id": "9119", + "$id": "9123", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9120", + "$id": "9124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121470,7 +121513,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id" }, { - "$id": "9121", + "$id": "9125", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -121487,7 +121530,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType" }, { - "$id": "9122", + "$id": "9126", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -121535,7 +121578,7 @@ }, "parameters": [ { - "$id": "9123", + "$id": "9127", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121552,7 +121595,7 @@ "decorators": [] }, { - "$id": "9124", + "$id": "9128", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121569,13 +121612,13 @@ "decorators": [] }, { - "$id": "9125", + "$id": "9129", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9126", + "$id": "9130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121591,13 +121634,13 @@ "decorators": [] }, { - "$id": "9127", + "$id": "9131", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9128", + "$id": "9132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121613,7 +121656,7 @@ "decorators": [] }, { - "$id": "9129", + "$id": "9133", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -121630,7 +121673,7 @@ "decorators": [] }, { - "$id": "9130", + "$id": "9134", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -121659,21 +121702,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage" }, { - "$id": "9131", + "$id": "9135", "kind": "basic", "name": "deleteMessage", "accessibility": "public", "apiVersions": [], "summary": "Deletes a message.", "operation": { - "$id": "9132", + "$id": "9136", "name": "deleteMessage", "resourceName": "Messages", "summary": "Deletes a message.", "accessibility": "public", "parameters": [ { - "$id": "9133", + "$id": "9137", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121689,7 +121732,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept" }, { - "$id": "9134", + "$id": "9138", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121705,13 +121748,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta" }, { - "$id": "9135", + "$id": "9139", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9136", + "$id": "9140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121729,13 +121772,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id" }, { - "$id": "9137", + "$id": "9141", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9138", + "$id": "9142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121779,7 +121822,7 @@ }, "parameters": [ { - "$id": "9139", + "$id": "9143", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121796,7 +121839,7 @@ "decorators": [] }, { - "$id": "9140", + "$id": "9144", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121813,13 +121856,13 @@ "decorators": [] }, { - "$id": "9141", + "$id": "9145", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9142", + "$id": "9146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121835,13 +121878,13 @@ "decorators": [] }, { - "$id": "9143", + "$id": "9147", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9144", + "$id": "9148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121870,13 +121913,13 @@ ], "parameters": [ { - "$id": "9145", + "$id": "9149", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9146", + "$id": "9150", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -121887,7 +121930,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9147", + "$id": "9151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -121909,27 +121952,27 @@ } }, { - "$id": "9148", + "$id": "9152", "kind": "client", "name": "Moderations", "namespace": "OpenAI", "methods": [ { - "$id": "9149", + "$id": "9153", "kind": "basic", "name": "ClassifyText", "accessibility": "public", "apiVersions": [], "summary": "Classifies if text is potentially harmful.", "operation": { - "$id": "9150", + "$id": "9154", "name": "ClassifyText", "resourceName": "Moderations", "summary": "Classifies if text is potentially harmful.", "accessibility": "public", "parameters": [ { - "$id": "9151", + "$id": "9155", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121945,7 +121988,7 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept" }, { - "$id": "9152", + "$id": "9156", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -121962,7 +122005,7 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType" }, { - "$id": "9153", + "$id": "9157", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -122010,7 +122053,7 @@ }, "parameters": [ { - "$id": "9154", + "$id": "9158", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122027,7 +122070,7 @@ "decorators": [] }, { - "$id": "9155", + "$id": "9159", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -122044,7 +122087,7 @@ "decorators": [] }, { - "$id": "9156", + "$id": "9160", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -122075,13 +122118,13 @@ ], "parameters": [ { - "$id": "9157", + "$id": "9161", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9158", + "$id": "9162", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -122092,7 +122135,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9159", + "$id": "9163", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -122114,27 +122157,27 @@ } }, { - "$id": "9160", + "$id": "9164", "kind": "client", "name": "Runs", "namespace": "OpenAI", "methods": [ { - "$id": "9161", + "$id": "9165", "kind": "basic", "name": "createThreadAndRun", "accessibility": "public", "apiVersions": [], "summary": "Create a thread and run it in one request.", "operation": { - "$id": "9162", + "$id": "9166", "name": "createThreadAndRun", "resourceName": "Runs", "summary": "Create a thread and run it in one request.", "accessibility": "public", "parameters": [ { - "$id": "9163", + "$id": "9167", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122150,7 +122193,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept" }, { - "$id": "9164", + "$id": "9168", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122166,7 +122209,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta" }, { - "$id": "9165", + "$id": "9169", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -122183,7 +122226,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType" }, { - "$id": "9166", + "$id": "9170", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -122231,7 +122274,7 @@ }, "parameters": [ { - "$id": "9167", + "$id": "9171", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122248,7 +122291,7 @@ "decorators": [] }, { - "$id": "9168", + "$id": "9172", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122265,7 +122308,7 @@ "decorators": [] }, { - "$id": "9169", + "$id": "9173", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -122282,7 +122325,7 @@ "decorators": [] }, { - "$id": "9170", + "$id": "9174", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -122311,21 +122354,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun" }, { - "$id": "9171", + "$id": "9175", "kind": "basic", "name": "createRun", "accessibility": "public", "apiVersions": [], "summary": "Create a run.", "operation": { - "$id": "9172", + "$id": "9176", "name": "createRun", "resourceName": "Runs", "summary": "Create a run.", "accessibility": "public", "parameters": [ { - "$id": "9173", + "$id": "9177", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122341,7 +122384,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept" }, { - "$id": "9174", + "$id": "9178", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122357,13 +122400,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta" }, { - "$id": "9175", + "$id": "9179", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9176", + "$id": "9180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122381,13 +122424,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id" }, { - "$id": "9177", + "$id": "9181", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$id": "9178", + "$id": "9182", "kind": "array", "name": "ArrayIncludedRunStepProperty", "valueType": { @@ -122406,7 +122449,7 @@ "readOnly": false }, { - "$id": "9179", + "$id": "9183", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -122423,7 +122466,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType" }, { - "$id": "9180", + "$id": "9184", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -122471,7 +122514,7 @@ }, "parameters": [ { - "$id": "9181", + "$id": "9185", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122488,7 +122531,7 @@ "decorators": [] }, { - "$id": "9182", + "$id": "9186", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122505,13 +122548,13 @@ "decorators": [] }, { - "$id": "9183", + "$id": "9187", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9184", + "$id": "9188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122527,13 +122570,13 @@ "decorators": [] }, { - "$id": "9185", + "$id": "9189", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9178" + "$ref": "9182" }, "location": "Query", "isApiVersion": false, @@ -122545,7 +122588,7 @@ "decorators": [] }, { - "$id": "9186", + "$id": "9190", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -122562,7 +122605,7 @@ "decorators": [] }, { - "$id": "9187", + "$id": "9191", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -122591,21 +122634,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun" }, { - "$id": "9188", + "$id": "9192", "kind": "paging", "name": "listRuns", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of runs belonging to a thread.", "operation": { - "$id": "9189", + "$id": "9193", "name": "listRuns", "resourceName": "Runs", "summary": "Returns a list of runs belonging to a thread.", "accessibility": "public", "parameters": [ { - "$id": "9190", + "$id": "9194", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122621,7 +122664,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept" }, { - "$id": "9191", + "$id": "9195", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122637,13 +122680,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta" }, { - "$id": "9192", + "$id": "9196", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9193", + "$id": "9197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122661,13 +122704,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id" }, { - "$id": "9194", + "$id": "9198", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9195", + "$id": "9199", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -122682,7 +122725,7 @@ "readOnly": false }, { - "$id": "9196", + "$id": "9200", "kind": "query", "name": "order", "serializedName": "order", @@ -122699,13 +122742,13 @@ "readOnly": false }, { - "$id": "9197", + "$id": "9201", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9198", + "$id": "9202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122720,13 +122763,13 @@ "readOnly": false }, { - "$id": "9199", + "$id": "9203", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9200", + "$id": "9204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122767,7 +122810,7 @@ }, "parameters": [ { - "$id": "9201", + "$id": "9205", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122784,7 +122827,7 @@ "decorators": [] }, { - "$id": "9202", + "$id": "9206", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122801,13 +122844,13 @@ "decorators": [] }, { - "$id": "9203", + "$id": "9207", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9204", + "$id": "9208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122823,13 +122866,13 @@ "decorators": [] }, { - "$id": "9205", + "$id": "9209", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9206", + "$id": "9210", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -122845,7 +122888,7 @@ "decorators": [] }, { - "$id": "9207", + "$id": "9211", "kind": "method", "name": "order", "serializedName": "order", @@ -122863,13 +122906,13 @@ "decorators": [] }, { - "$id": "9208", + "$id": "9212", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9209", + "$id": "9213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122885,13 +122928,13 @@ "decorators": [] }, { - "$id": "9210", + "$id": "9214", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9211", + "$id": "9215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122925,7 +122968,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9197" + "$ref": "9201" }, "responseSegments": [ "last_id" @@ -122935,21 +122978,21 @@ } }, { - "$id": "9212", + "$id": "9216", "kind": "basic", "name": "getRun", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run.", "operation": { - "$id": "9213", + "$id": "9217", "name": "getRun", "resourceName": "Runs", "summary": "Retrieves a run.", "accessibility": "public", "parameters": [ { - "$id": "9214", + "$id": "9218", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122965,7 +123008,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept" }, { - "$id": "9215", + "$id": "9219", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122981,13 +123024,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta" }, { - "$id": "9216", + "$id": "9220", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9217", + "$id": "9221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123005,13 +123048,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id" }, { - "$id": "9218", + "$id": "9222", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9219", + "$id": "9223", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123055,7 +123098,7 @@ }, "parameters": [ { - "$id": "9220", + "$id": "9224", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123072,7 +123115,7 @@ "decorators": [] }, { - "$id": "9221", + "$id": "9225", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123089,13 +123132,13 @@ "decorators": [] }, { - "$id": "9222", + "$id": "9226", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9223", + "$id": "9227", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123111,13 +123154,13 @@ "decorators": [] }, { - "$id": "9224", + "$id": "9228", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9225", + "$id": "9229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123144,21 +123187,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun" }, { - "$id": "9226", + "$id": "9230", "kind": "basic", "name": "modifyRun", "accessibility": "public", "apiVersions": [], "summary": "Modifies a run.", "operation": { - "$id": "9227", + "$id": "9231", "name": "modifyRun", "resourceName": "Runs", "summary": "Modifies a run.", "accessibility": "public", "parameters": [ { - "$id": "9228", + "$id": "9232", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123174,7 +123217,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept" }, { - "$id": "9229", + "$id": "9233", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123190,13 +123233,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta" }, { - "$id": "9230", + "$id": "9234", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9231", + "$id": "9235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123214,13 +123257,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id" }, { - "$id": "9232", + "$id": "9236", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9233", + "$id": "9237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123238,7 +123281,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id" }, { - "$id": "9234", + "$id": "9238", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -123255,7 +123298,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType" }, { - "$id": "9235", + "$id": "9239", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -123303,7 +123346,7 @@ }, "parameters": [ { - "$id": "9236", + "$id": "9240", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123320,7 +123363,7 @@ "decorators": [] }, { - "$id": "9237", + "$id": "9241", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123337,13 +123380,13 @@ "decorators": [] }, { - "$id": "9238", + "$id": "9242", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9239", + "$id": "9243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123359,13 +123402,13 @@ "decorators": [] }, { - "$id": "9240", + "$id": "9244", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9241", + "$id": "9245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123381,7 +123424,7 @@ "decorators": [] }, { - "$id": "9242", + "$id": "9246", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -123398,7 +123441,7 @@ "decorators": [] }, { - "$id": "9243", + "$id": "9247", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -123427,21 +123470,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun" }, { - "$id": "9244", + "$id": "9248", "kind": "basic", "name": "cancelRun", "accessibility": "public", "apiVersions": [], "summary": "Cancels a run that is `in_progress`.", "operation": { - "$id": "9245", + "$id": "9249", "name": "cancelRun", "resourceName": "Runs", "summary": "Cancels a run that is `in_progress`.", "accessibility": "public", "parameters": [ { - "$id": "9246", + "$id": "9250", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123457,7 +123500,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept" }, { - "$id": "9247", + "$id": "9251", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123473,13 +123516,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta" }, { - "$id": "9248", + "$id": "9252", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9249", + "$id": "9253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123497,13 +123540,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id" }, { - "$id": "9250", + "$id": "9254", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9251", + "$id": "9255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123547,7 +123590,7 @@ }, "parameters": [ { - "$id": "9252", + "$id": "9256", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123564,7 +123607,7 @@ "decorators": [] }, { - "$id": "9253", + "$id": "9257", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123581,13 +123624,13 @@ "decorators": [] }, { - "$id": "9254", + "$id": "9258", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9255", + "$id": "9259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123603,13 +123646,13 @@ "decorators": [] }, { - "$id": "9256", + "$id": "9260", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9257", + "$id": "9261", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123636,21 +123679,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun" }, { - "$id": "9258", + "$id": "9262", "kind": "basic", "name": "submitToolOutputsToRun", "accessibility": "public", "apiVersions": [], "summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.", "operation": { - "$id": "9259", + "$id": "9263", "name": "submitToolOutputsToRun", "resourceName": "Runs", "summary": "When a run has the `status: \"requires_action\"` and `required_action.type` is\n`submit_tool_outputs`, this endpoint can be used to submit the outputs from the tool calls once\nthey're all completed. All outputs must be submitted in a single request.", "accessibility": "public", "parameters": [ { - "$id": "9260", + "$id": "9264", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123666,7 +123709,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept" }, { - "$id": "9261", + "$id": "9265", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123682,13 +123725,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta" }, { - "$id": "9262", + "$id": "9266", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "9263", + "$id": "9267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123706,13 +123749,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id" }, { - "$id": "9264", + "$id": "9268", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9265", + "$id": "9269", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123730,7 +123773,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id" }, { - "$id": "9266", + "$id": "9270", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -123747,7 +123790,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType" }, { - "$id": "9267", + "$id": "9271", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -123795,7 +123838,7 @@ }, "parameters": [ { - "$id": "9268", + "$id": "9272", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123812,7 +123855,7 @@ "decorators": [] }, { - "$id": "9269", + "$id": "9273", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123829,13 +123872,13 @@ "decorators": [] }, { - "$id": "9270", + "$id": "9274", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "9271", + "$id": "9275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123851,13 +123894,13 @@ "decorators": [] }, { - "$id": "9272", + "$id": "9276", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9273", + "$id": "9277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123873,7 +123916,7 @@ "decorators": [] }, { - "$id": "9274", + "$id": "9278", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -123890,7 +123933,7 @@ "decorators": [] }, { - "$id": "9275", + "$id": "9279", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -123919,21 +123962,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun" }, { - "$id": "9276", + "$id": "9280", "kind": "paging", "name": "listRunSteps", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of run steps belonging to a run.", "operation": { - "$id": "9277", + "$id": "9281", "name": "listRunSteps", "resourceName": "Runs", "summary": "Returns a list of run steps belonging to a run.", "accessibility": "public", "parameters": [ { - "$id": "9278", + "$id": "9282", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123949,7 +123992,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept" }, { - "$id": "9279", + "$id": "9283", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123965,13 +124008,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta" }, { - "$id": "9280", + "$id": "9284", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9281", + "$id": "9285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123989,13 +124032,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id" }, { - "$id": "9282", + "$id": "9286", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9283", + "$id": "9287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124013,13 +124056,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id" }, { - "$id": "9284", + "$id": "9288", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9285", + "$id": "9289", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124034,7 +124077,7 @@ "readOnly": false }, { - "$id": "9286", + "$id": "9290", "kind": "query", "name": "order", "serializedName": "order", @@ -124051,13 +124094,13 @@ "readOnly": false }, { - "$id": "9287", + "$id": "9291", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9288", + "$id": "9292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124072,13 +124115,13 @@ "readOnly": false }, { - "$id": "9289", + "$id": "9293", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9290", + "$id": "9294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124093,13 +124136,13 @@ "readOnly": false }, { - "$id": "9291", + "$id": "9295", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9178" + "$ref": "9182" }, "isApiVersion": false, "explode": false, @@ -124137,7 +124180,7 @@ }, "parameters": [ { - "$id": "9292", + "$id": "9296", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124154,7 +124197,7 @@ "decorators": [] }, { - "$id": "9293", + "$id": "9297", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124171,13 +124214,13 @@ "decorators": [] }, { - "$id": "9294", + "$id": "9298", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9295", + "$id": "9299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124193,13 +124236,13 @@ "decorators": [] }, { - "$id": "9296", + "$id": "9300", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9297", + "$id": "9301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124215,13 +124258,13 @@ "decorators": [] }, { - "$id": "9298", + "$id": "9302", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9299", + "$id": "9303", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124237,7 +124280,7 @@ "decorators": [] }, { - "$id": "9300", + "$id": "9304", "kind": "method", "name": "order", "serializedName": "order", @@ -124255,13 +124298,13 @@ "decorators": [] }, { - "$id": "9301", + "$id": "9305", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9302", + "$id": "9306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124277,13 +124320,13 @@ "decorators": [] }, { - "$id": "9303", + "$id": "9307", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9304", + "$id": "9308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124299,13 +124342,13 @@ "decorators": [] }, { - "$id": "9305", + "$id": "9309", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9178" + "$ref": "9182" }, "location": "Query", "isApiVersion": false, @@ -124335,7 +124378,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9287" + "$ref": "9291" }, "responseSegments": [ "last_id" @@ -124345,21 +124388,21 @@ } }, { - "$id": "9306", + "$id": "9310", "kind": "basic", "name": "getRunStep", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run step.", "operation": { - "$id": "9307", + "$id": "9311", "name": "getRunStep", "resourceName": "Runs", "summary": "Retrieves a run step.", "accessibility": "public", "parameters": [ { - "$id": "9308", + "$id": "9312", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124375,7 +124418,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept" }, { - "$id": "9309", + "$id": "9313", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124391,13 +124434,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta" }, { - "$id": "9310", + "$id": "9314", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9311", + "$id": "9315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124415,13 +124458,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id" }, { - "$id": "9312", + "$id": "9316", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9313", + "$id": "9317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124439,13 +124482,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id" }, { - "$id": "9314", + "$id": "9318", "kind": "path", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9315", + "$id": "9319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124463,13 +124506,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id" }, { - "$id": "9316", + "$id": "9320", "kind": "query", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9178" + "$ref": "9182" }, "isApiVersion": false, "explode": false, @@ -124507,7 +124550,7 @@ }, "parameters": [ { - "$id": "9317", + "$id": "9321", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124524,7 +124567,7 @@ "decorators": [] }, { - "$id": "9318", + "$id": "9322", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124541,13 +124584,13 @@ "decorators": [] }, { - "$id": "9319", + "$id": "9323", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9320", + "$id": "9324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124563,13 +124606,13 @@ "decorators": [] }, { - "$id": "9321", + "$id": "9325", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9322", + "$id": "9326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124585,13 +124628,13 @@ "decorators": [] }, { - "$id": "9323", + "$id": "9327", "kind": "method", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9324", + "$id": "9328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124607,13 +124650,13 @@ "decorators": [] }, { - "$id": "9325", + "$id": "9329", "kind": "method", "name": "include[]", "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { - "$ref": "9178" + "$ref": "9182" }, "location": "Query", "isApiVersion": false, @@ -124638,13 +124681,13 @@ ], "parameters": [ { - "$id": "9326", + "$id": "9330", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9327", + "$id": "9331", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -124655,7 +124698,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9328", + "$id": "9332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -124677,27 +124720,27 @@ } }, { - "$id": "9329", + "$id": "9333", "kind": "client", "name": "Threads", "namespace": "OpenAI", "methods": [ { - "$id": "9330", + "$id": "9334", "kind": "basic", "name": "createThread", "accessibility": "public", "apiVersions": [], "summary": "Create a thread.", "operation": { - "$id": "9331", + "$id": "9335", "name": "createThread", "resourceName": "Threads", "summary": "Create a thread.", "accessibility": "public", "parameters": [ { - "$id": "9332", + "$id": "9336", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124713,7 +124756,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept" }, { - "$id": "9333", + "$id": "9337", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124729,7 +124772,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta" }, { - "$id": "9334", + "$id": "9338", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -124746,7 +124789,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType" }, { - "$id": "9335", + "$id": "9339", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -124794,7 +124837,7 @@ }, "parameters": [ { - "$id": "9336", + "$id": "9340", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124811,7 +124854,7 @@ "decorators": [] }, { - "$id": "9337", + "$id": "9341", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124828,7 +124871,7 @@ "decorators": [] }, { - "$id": "9338", + "$id": "9342", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -124845,7 +124888,7 @@ "decorators": [] }, { - "$id": "9339", + "$id": "9343", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -124874,21 +124917,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread" }, { - "$id": "9340", + "$id": "9344", "kind": "basic", "name": "getThread", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a thread.", "operation": { - "$id": "9341", + "$id": "9345", "name": "getThread", "resourceName": "Threads", "summary": "Retrieves a thread.", "accessibility": "public", "parameters": [ { - "$id": "9342", + "$id": "9346", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124904,7 +124947,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept" }, { - "$id": "9343", + "$id": "9347", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124920,13 +124963,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta" }, { - "$id": "9344", + "$id": "9348", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9345", + "$id": "9349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124970,7 +125013,7 @@ }, "parameters": [ { - "$id": "9346", + "$id": "9350", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124987,7 +125030,7 @@ "decorators": [] }, { - "$id": "9347", + "$id": "9351", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -125004,13 +125047,13 @@ "decorators": [] }, { - "$id": "9348", + "$id": "9352", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9349", + "$id": "9353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125037,21 +125080,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread" }, { - "$id": "9350", + "$id": "9354", "kind": "basic", "name": "modifyThread", "accessibility": "public", "apiVersions": [], "summary": "Modifies a thread.", "operation": { - "$id": "9351", + "$id": "9355", "name": "modifyThread", "resourceName": "Threads", "summary": "Modifies a thread.", "accessibility": "public", "parameters": [ { - "$id": "9352", + "$id": "9356", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125067,7 +125110,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept" }, { - "$id": "9353", + "$id": "9357", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -125083,13 +125126,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta" }, { - "$id": "9354", + "$id": "9358", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9355", + "$id": "9359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125107,7 +125150,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id" }, { - "$id": "9356", + "$id": "9360", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -125124,7 +125167,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType" }, { - "$id": "9357", + "$id": "9361", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -125172,7 +125215,7 @@ }, "parameters": [ { - "$id": "9358", + "$id": "9362", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125189,7 +125232,7 @@ "decorators": [] }, { - "$id": "9359", + "$id": "9363", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -125206,13 +125249,13 @@ "decorators": [] }, { - "$id": "9360", + "$id": "9364", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9361", + "$id": "9365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125228,7 +125271,7 @@ "decorators": [] }, { - "$id": "9362", + "$id": "9366", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -125245,7 +125288,7 @@ "decorators": [] }, { - "$id": "9363", + "$id": "9367", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -125274,21 +125317,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread" }, { - "$id": "9364", + "$id": "9368", "kind": "basic", "name": "deleteThread", "accessibility": "public", "apiVersions": [], "summary": "Delete a thread.", "operation": { - "$id": "9365", + "$id": "9369", "name": "deleteThread", "resourceName": "Threads", "summary": "Delete a thread.", "accessibility": "public", "parameters": [ { - "$id": "9366", + "$id": "9370", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125304,7 +125347,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept" }, { - "$id": "9367", + "$id": "9371", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -125320,13 +125363,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta" }, { - "$id": "9368", + "$id": "9372", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9369", + "$id": "9373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125370,7 +125413,7 @@ }, "parameters": [ { - "$id": "9370", + "$id": "9374", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125387,7 +125430,7 @@ "decorators": [] }, { - "$id": "9371", + "$id": "9375", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -125404,13 +125447,13 @@ "decorators": [] }, { - "$id": "9372", + "$id": "9376", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9373", + "$id": "9377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125439,13 +125482,13 @@ ], "parameters": [ { - "$id": "9374", + "$id": "9378", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9375", + "$id": "9379", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -125456,7 +125499,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9376", + "$id": "9380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -125478,27 +125521,27 @@ } }, { - "$id": "9377", + "$id": "9381", "kind": "client", "name": "VectorStores", "namespace": "OpenAI", "methods": [ { - "$id": "9378", + "$id": "9382", "kind": "paging", "name": "GetVectorStores", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector stores.", "operation": { - "$id": "9379", + "$id": "9383", "name": "GetVectorStores", "resourceName": "VectorStores", "summary": "Returns a list of vector stores.", "accessibility": "public", "parameters": [ { - "$id": "9380", + "$id": "9384", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125514,13 +125557,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept" }, { - "$id": "9381", + "$id": "9385", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9382", + "$id": "9386", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125535,7 +125578,7 @@ "readOnly": false }, { - "$id": "9383", + "$id": "9387", "kind": "query", "name": "order", "serializedName": "order", @@ -125552,13 +125595,13 @@ "readOnly": false }, { - "$id": "9384", + "$id": "9388", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9385", + "$id": "9389", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125573,13 +125616,13 @@ "readOnly": false }, { - "$id": "9386", + "$id": "9390", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9387", + "$id": "9391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125620,7 +125663,7 @@ }, "parameters": [ { - "$id": "9388", + "$id": "9392", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125637,13 +125680,13 @@ "decorators": [] }, { - "$id": "9389", + "$id": "9393", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9390", + "$id": "9394", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125659,7 +125702,7 @@ "decorators": [] }, { - "$id": "9391", + "$id": "9395", "kind": "method", "name": "order", "serializedName": "order", @@ -125677,13 +125720,13 @@ "decorators": [] }, { - "$id": "9392", + "$id": "9396", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9393", + "$id": "9397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125699,13 +125742,13 @@ "decorators": [] }, { - "$id": "9394", + "$id": "9398", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9395", + "$id": "9399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125739,7 +125782,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9384" + "$ref": "9388" }, "responseSegments": [ "last_id" @@ -125749,21 +125792,21 @@ } }, { - "$id": "9396", + "$id": "9400", "kind": "basic", "name": "createVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Creates a vector store.", "operation": { - "$id": "9397", + "$id": "9401", "name": "createVectorStore", "resourceName": "VectorStores", "summary": "Creates a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9398", + "$id": "9402", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125779,7 +125822,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept" }, { - "$id": "9399", + "$id": "9403", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -125796,7 +125839,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType" }, { - "$id": "9400", + "$id": "9404", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -125844,7 +125887,7 @@ }, "parameters": [ { - "$id": "9401", + "$id": "9405", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125861,7 +125904,7 @@ "decorators": [] }, { - "$id": "9402", + "$id": "9406", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -125878,7 +125921,7 @@ "decorators": [] }, { - "$id": "9403", + "$id": "9407", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -125907,21 +125950,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore" }, { - "$id": "9404", + "$id": "9408", "kind": "basic", "name": "getVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store.", "operation": { - "$id": "9405", + "$id": "9409", "name": "getVectorStore", "resourceName": "VectorStores", "summary": "Retrieves a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9406", + "$id": "9410", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125937,13 +125980,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" }, { - "$id": "9407", + "$id": "9411", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "9408", + "$id": "9412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125987,7 +126030,7 @@ }, "parameters": [ { - "$id": "9409", + "$id": "9413", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126004,13 +126047,13 @@ "decorators": [] }, { - "$id": "9410", + "$id": "9414", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "9411", + "$id": "9415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126037,21 +126080,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" }, { - "$id": "9412", + "$id": "9416", "kind": "basic", "name": "modifyVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Modifies a vector store.", "operation": { - "$id": "9413", + "$id": "9417", "name": "modifyVectorStore", "resourceName": "VectorStores", "summary": "Modifies a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9414", + "$id": "9418", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126067,13 +126110,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" }, { - "$id": "9415", + "$id": "9419", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "9416", + "$id": "9420", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126091,7 +126134,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" }, { - "$id": "9417", + "$id": "9421", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -126108,7 +126151,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" }, { - "$id": "9418", + "$id": "9422", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -126156,7 +126199,7 @@ }, "parameters": [ { - "$id": "9419", + "$id": "9423", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126173,13 +126216,13 @@ "decorators": [] }, { - "$id": "9420", + "$id": "9424", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "9421", + "$id": "9425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126195,7 +126238,7 @@ "decorators": [] }, { - "$id": "9422", + "$id": "9426", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -126212,7 +126255,7 @@ "decorators": [] }, { - "$id": "9423", + "$id": "9427", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -126241,21 +126284,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" }, { - "$id": "9424", + "$id": "9428", "kind": "basic", "name": "deleteVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Delete a vector store.", "operation": { - "$id": "9425", + "$id": "9429", "name": "deleteVectorStore", "resourceName": "VectorStores", "summary": "Delete a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9426", + "$id": "9430", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126271,13 +126314,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" }, { - "$id": "9427", + "$id": "9431", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "9428", + "$id": "9432", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126321,7 +126364,7 @@ }, "parameters": [ { - "$id": "9429", + "$id": "9433", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126338,13 +126381,13 @@ "decorators": [] }, { - "$id": "9430", + "$id": "9434", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "9431", + "$id": "9435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126371,21 +126414,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" }, { - "$id": "9432", + "$id": "9436", "kind": "basic", "name": "AddFileBatchToVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Create a vector store file batch.", "operation": { - "$id": "9433", + "$id": "9437", "name": "AddFileBatchToVectorStore", "resourceName": "VectorStores", "summary": "Create a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9434", + "$id": "9438", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126401,13 +126444,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" }, { - "$id": "9435", + "$id": "9439", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "9436", + "$id": "9440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126425,7 +126468,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" }, { - "$id": "9437", + "$id": "9441", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -126442,7 +126485,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" }, { - "$id": "9438", + "$id": "9442", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -126490,7 +126533,7 @@ }, "parameters": [ { - "$id": "9439", + "$id": "9443", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126507,13 +126550,13 @@ "decorators": [] }, { - "$id": "9440", + "$id": "9444", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "9441", + "$id": "9445", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126529,7 +126572,7 @@ "decorators": [] }, { - "$id": "9442", + "$id": "9446", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -126546,7 +126589,7 @@ "decorators": [] }, { - "$id": "9443", + "$id": "9447", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -126575,21 +126618,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" }, { - "$id": "9444", + "$id": "9448", "kind": "basic", "name": "getVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file batch.", "operation": { - "$id": "9445", + "$id": "9449", "name": "getVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Retrieves a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9446", + "$id": "9450", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126605,13 +126648,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" }, { - "$id": "9447", + "$id": "9451", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9448", + "$id": "9452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126629,13 +126672,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" }, { - "$id": "9449", + "$id": "9453", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "9450", + "$id": "9454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126679,7 +126722,7 @@ }, "parameters": [ { - "$id": "9451", + "$id": "9455", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126696,13 +126739,13 @@ "decorators": [] }, { - "$id": "9452", + "$id": "9456", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9453", + "$id": "9457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126718,13 +126761,13 @@ "decorators": [] }, { - "$id": "9454", + "$id": "9458", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "9455", + "$id": "9459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126751,21 +126794,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" }, { - "$id": "9456", + "$id": "9460", "kind": "basic", "name": "cancelVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", "operation": { - "$id": "9457", + "$id": "9461", "name": "cancelVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", "accessibility": "public", "parameters": [ { - "$id": "9458", + "$id": "9462", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126781,13 +126824,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" }, { - "$id": "9459", + "$id": "9463", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9460", + "$id": "9464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126805,13 +126848,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" }, { - "$id": "9461", + "$id": "9465", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "9462", + "$id": "9466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126855,7 +126898,7 @@ }, "parameters": [ { - "$id": "9463", + "$id": "9467", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126872,13 +126915,13 @@ "decorators": [] }, { - "$id": "9464", + "$id": "9468", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9465", + "$id": "9469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126894,13 +126937,13 @@ "decorators": [] }, { - "$id": "9466", + "$id": "9470", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "9467", + "$id": "9471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126927,21 +126970,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" }, { - "$id": "9468", + "$id": "9472", "kind": "paging", "name": "GetVectorStoreFilesInBatch", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files in a batch.", "operation": { - "$id": "9469", + "$id": "9473", "name": "GetVectorStoreFilesInBatch", "resourceName": "VectorStores", "summary": "Returns a list of vector store files in a batch.", "accessibility": "public", "parameters": [ { - "$id": "9470", + "$id": "9474", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126957,13 +127000,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" }, { - "$id": "9471", + "$id": "9475", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9472", + "$id": "9476", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126981,13 +127024,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" }, { - "$id": "9473", + "$id": "9477", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "9474", + "$id": "9478", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127005,13 +127048,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" }, { - "$id": "9475", + "$id": "9479", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9476", + "$id": "9480", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127026,7 +127069,7 @@ "readOnly": false }, { - "$id": "9477", + "$id": "9481", "kind": "query", "name": "order", "serializedName": "order", @@ -127043,13 +127086,13 @@ "readOnly": false }, { - "$id": "9478", + "$id": "9482", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9479", + "$id": "9483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127064,13 +127107,13 @@ "readOnly": false }, { - "$id": "9480", + "$id": "9484", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9481", + "$id": "9485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127085,7 +127128,7 @@ "readOnly": false }, { - "$id": "9482", + "$id": "9486", "kind": "query", "name": "filter", "serializedName": "filter", @@ -127128,7 +127171,7 @@ }, "parameters": [ { - "$id": "9483", + "$id": "9487", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127145,13 +127188,13 @@ "decorators": [] }, { - "$id": "9484", + "$id": "9488", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "9485", + "$id": "9489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127167,13 +127210,13 @@ "decorators": [] }, { - "$id": "9486", + "$id": "9490", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "9487", + "$id": "9491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127189,13 +127232,13 @@ "decorators": [] }, { - "$id": "9488", + "$id": "9492", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9489", + "$id": "9493", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127211,7 +127254,7 @@ "decorators": [] }, { - "$id": "9490", + "$id": "9494", "kind": "method", "name": "order", "serializedName": "order", @@ -127229,13 +127272,13 @@ "decorators": [] }, { - "$id": "9491", + "$id": "9495", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9492", + "$id": "9496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127251,13 +127294,13 @@ "decorators": [] }, { - "$id": "9493", + "$id": "9497", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9494", + "$id": "9498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127273,7 +127316,7 @@ "decorators": [] }, { - "$id": "9495", + "$id": "9499", "kind": "method", "name": "filter", "serializedName": "filter", @@ -127309,7 +127352,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9478" + "$ref": "9482" }, "responseSegments": [ "last_id" @@ -127319,21 +127362,21 @@ } }, { - "$id": "9496", + "$id": "9500", "kind": "paging", "name": "listVectorStoreFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files.", "operation": { - "$id": "9497", + "$id": "9501", "name": "listVectorStoreFiles", "resourceName": "VectorStores", "summary": "Returns a list of vector store files.", "accessibility": "public", "parameters": [ { - "$id": "9498", + "$id": "9502", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127349,13 +127392,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" }, { - "$id": "9499", + "$id": "9503", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9500", + "$id": "9504", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127373,13 +127416,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" }, { - "$id": "9501", + "$id": "9505", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9502", + "$id": "9506", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127394,7 +127437,7 @@ "readOnly": false }, { - "$id": "9503", + "$id": "9507", "kind": "query", "name": "order", "serializedName": "order", @@ -127411,13 +127454,13 @@ "readOnly": false }, { - "$id": "9504", + "$id": "9508", "kind": "query", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9505", + "$id": "9509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127432,13 +127475,13 @@ "readOnly": false }, { - "$id": "9506", + "$id": "9510", "kind": "query", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9507", + "$id": "9511", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127453,7 +127496,7 @@ "readOnly": false }, { - "$id": "9508", + "$id": "9512", "kind": "query", "name": "filter", "serializedName": "filter", @@ -127496,7 +127539,7 @@ }, "parameters": [ { - "$id": "9509", + "$id": "9513", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127513,13 +127556,13 @@ "decorators": [] }, { - "$id": "9510", + "$id": "9514", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9511", + "$id": "9515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127535,13 +127578,13 @@ "decorators": [] }, { - "$id": "9512", + "$id": "9516", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "9513", + "$id": "9517", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127557,7 +127600,7 @@ "decorators": [] }, { - "$id": "9514", + "$id": "9518", "kind": "method", "name": "order", "serializedName": "order", @@ -127575,13 +127618,13 @@ "decorators": [] }, { - "$id": "9515", + "$id": "9519", "kind": "method", "name": "after", "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "9516", + "$id": "9520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127597,13 +127640,13 @@ "decorators": [] }, { - "$id": "9517", + "$id": "9521", "kind": "method", "name": "before", "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "9518", + "$id": "9522", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127619,7 +127662,7 @@ "decorators": [] }, { - "$id": "9519", + "$id": "9523", "kind": "method", "name": "filter", "serializedName": "filter", @@ -127655,7 +127698,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9504" + "$ref": "9508" }, "responseSegments": [ "last_id" @@ -127665,21 +127708,21 @@ } }, { - "$id": "9520", + "$id": "9524", "kind": "basic", "name": "AddFileToVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", "operation": { - "$id": "9521", + "$id": "9525", "name": "AddFileToVectorStore", "resourceName": "VectorStores", "summary": "Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object).", "accessibility": "public", "parameters": [ { - "$id": "9522", + "$id": "9526", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127695,13 +127738,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" }, { - "$id": "9523", + "$id": "9527", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "9524", + "$id": "9528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127719,7 +127762,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" }, { - "$id": "9525", + "$id": "9529", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -127736,7 +127779,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" }, { - "$id": "9526", + "$id": "9530", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -127784,7 +127827,7 @@ }, "parameters": [ { - "$id": "9527", + "$id": "9531", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127801,13 +127844,13 @@ "decorators": [] }, { - "$id": "9528", + "$id": "9532", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "9529", + "$id": "9533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127823,7 +127866,7 @@ "decorators": [] }, { - "$id": "9530", + "$id": "9534", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -127840,7 +127883,7 @@ "decorators": [] }, { - "$id": "9531", + "$id": "9535", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -127869,21 +127912,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" }, { - "$id": "9532", + "$id": "9536", "kind": "basic", "name": "getVectorStoreFile", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file.", "operation": { - "$id": "9533", + "$id": "9537", "name": "getVectorStoreFile", "resourceName": "VectorStores", "summary": "Retrieves a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9534", + "$id": "9538", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127899,13 +127942,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" }, { - "$id": "9535", + "$id": "9539", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9536", + "$id": "9540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127923,13 +127966,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" }, { - "$id": "9537", + "$id": "9541", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "9538", + "$id": "9542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127973,7 +128016,7 @@ }, "parameters": [ { - "$id": "9539", + "$id": "9543", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127990,13 +128033,13 @@ "decorators": [] }, { - "$id": "9540", + "$id": "9544", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9541", + "$id": "9545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128012,13 +128055,13 @@ "decorators": [] }, { - "$id": "9542", + "$id": "9546", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "9543", + "$id": "9547", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128045,21 +128088,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" }, { - "$id": "9544", + "$id": "9548", "kind": "basic", "name": "RemoveFileFromVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", "operation": { - "$id": "9545", + "$id": "9549", "name": "RemoveFileFromVectorStore", "resourceName": "VectorStores", "summary": "Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.", "accessibility": "public", "parameters": [ { - "$id": "9546", + "$id": "9550", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128075,13 +128118,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" }, { - "$id": "9547", + "$id": "9551", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9548", + "$id": "9552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128099,13 +128142,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" }, { - "$id": "9549", + "$id": "9553", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "9550", + "$id": "9554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128149,7 +128192,7 @@ }, "parameters": [ { - "$id": "9551", + "$id": "9555", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128166,13 +128209,13 @@ "decorators": [] }, { - "$id": "9552", + "$id": "9556", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9553", + "$id": "9557", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128188,13 +128231,13 @@ "decorators": [] }, { - "$id": "9554", + "$id": "9558", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "9555", + "$id": "9559", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128221,27 +128264,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" }, { - "$id": "9556", + "$id": "9560", "kind": "basic", "name": "updateVectorStoreFileAttributes", "accessibility": "public", "apiVersions": [], "summary": "Update the attributes of a vector store file.", "operation": { - "$id": "9557", + "$id": "9561", "name": "updateVectorStoreFileAttributes", "resourceName": "VectorStores", "summary": "Update the attributes of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9558", + "$id": "9562", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$id": "9559", + "$id": "9563", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128259,13 +128302,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" }, { - "$id": "9560", + "$id": "9564", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9561", + "$id": "9565", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128283,7 +128326,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" }, { - "$id": "9562", + "$id": "9566", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -128300,7 +128343,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" }, { - "$id": "9563", + "$id": "9567", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128316,7 +128359,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" }, { - "$id": "9564", + "$id": "9568", "kind": "body", "name": "updateVectorStoreFileAttributesRequest", "serializedName": "updateVectorStoreFileAttributesRequest", @@ -128364,13 +128407,13 @@ }, "parameters": [ { - "$id": "9565", + "$id": "9569", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$id": "9566", + "$id": "9570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128386,13 +128429,13 @@ "decorators": [] }, { - "$id": "9567", + "$id": "9571", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9568", + "$id": "9572", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128408,7 +128451,7 @@ "decorators": [] }, { - "$id": "9569", + "$id": "9573", "kind": "method", "name": "attributes", "serializedName": "attributes", @@ -128425,7 +128468,7 @@ "decorators": [] }, { - "$id": "9570", + "$id": "9574", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128443,7 +128486,7 @@ "decorators": [] }, { - "$id": "9571", + "$id": "9575", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128471,27 +128514,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" }, { - "$id": "9572", + "$id": "9576", "kind": "basic", "name": "retrieveVectorStoreFileContent", "accessibility": "public", "apiVersions": [], "summary": "Retrieves the content of a vector store file.", "operation": { - "$id": "9573", + "$id": "9577", "name": "retrieveVectorStoreFileContent", "resourceName": "VectorStores", "summary": "Retrieves the content of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9574", + "$id": "9578", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9575", + "$id": "9579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128509,13 +128552,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" }, { - "$id": "9576", + "$id": "9580", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9577", + "$id": "9581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128533,7 +128576,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" }, { - "$id": "9578", + "$id": "9582", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128575,13 +128618,13 @@ }, "parameters": [ { - "$id": "9579", + "$id": "9583", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9580", + "$id": "9584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128597,13 +128640,13 @@ "decorators": [] }, { - "$id": "9581", + "$id": "9585", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9582", + "$id": "9586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128619,7 +128662,7 @@ "decorators": [] }, { - "$id": "9583", + "$id": "9587", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128647,27 +128690,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" }, { - "$id": "9584", + "$id": "9588", "kind": "basic", "name": "searchVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "operation": { - "$id": "9585", + "$id": "9589", "name": "searchVectorStore", "resourceName": "VectorStores", "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "accessibility": "public", "parameters": [ { - "$id": "9586", + "$id": "9590", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "9587", + "$id": "9591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128685,7 +128728,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" }, { - "$id": "9588", + "$id": "9592", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -128702,7 +128745,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" }, { - "$id": "9589", + "$id": "9593", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128718,7 +128761,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" }, { - "$id": "9590", + "$id": "9594", "kind": "body", "name": "vectorStoreSearchRequest", "serializedName": "vectorStoreSearchRequest", @@ -128766,13 +128809,13 @@ }, "parameters": [ { - "$id": "9591", + "$id": "9595", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "9592", + "$id": "9596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128788,7 +128831,7 @@ "decorators": [] }, { - "$id": "9593", + "$id": "9597", "kind": "method", "name": "query", "serializedName": "query", @@ -128806,13 +128849,13 @@ "decorators": [] }, { - "$id": "9594", + "$id": "9598", "kind": "method", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "9595", + "$id": "9599", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -128828,13 +128871,13 @@ "decorators": [] }, { - "$id": "9596", + "$id": "9600", "kind": "method", "name": "max_num_results", "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "9597", + "$id": "9601", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -128850,7 +128893,7 @@ "decorators": [] }, { - "$id": "9598", + "$id": "9602", "kind": "method", "name": "filters", "serializedName": "filters", @@ -128868,7 +128911,7 @@ "decorators": [] }, { - "$id": "9599", + "$id": "9603", "kind": "method", "name": "ranking_options", "serializedName": "ranking_options", @@ -128886,7 +128929,7 @@ "decorators": [] }, { - "$id": "9600", + "$id": "9604", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128904,7 +128947,7 @@ "decorators": [] }, { - "$id": "9601", + "$id": "9605", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128934,13 +128977,13 @@ ], "parameters": [ { - "$id": "9602", + "$id": "9606", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9603", + "$id": "9607", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128951,7 +128994,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9604", + "$id": "9608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -128973,27 +129016,27 @@ } }, { - "$id": "9605", + "$id": "9609", "kind": "client", "name": "Completions", "namespace": "OpenAI", "methods": [ { - "$id": "9606", + "$id": "9610", "kind": "basic", "name": "createCompletion", "accessibility": "public", "apiVersions": [], "summary": "Creates a completion for the provided prompt and parameters.", "operation": { - "$id": "9607", + "$id": "9611", "name": "createCompletion", "resourceName": "Completions", "summary": "Creates a completion for the provided prompt and parameters.", "accessibility": "public", "parameters": [ { - "$id": "9608", + "$id": "9612", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129009,7 +129052,7 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" }, { - "$id": "9609", + "$id": "9613", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129026,7 +129069,7 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" }, { - "$id": "9610", + "$id": "9614", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -129074,7 +129117,7 @@ }, "parameters": [ { - "$id": "9611", + "$id": "9615", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129091,7 +129134,7 @@ "decorators": [] }, { - "$id": "9612", + "$id": "9616", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -129108,7 +129151,7 @@ "decorators": [] }, { - "$id": "9613", + "$id": "9617", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129139,13 +129182,13 @@ ], "parameters": [ { - "$id": "9614", + "$id": "9618", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9615", + "$id": "9619", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -129156,7 +129199,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9616", + "$id": "9620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -129178,27 +129221,27 @@ } }, { - "$id": "9617", + "$id": "9621", "kind": "client", "name": "Models", "namespace": "OpenAI", "methods": [ { - "$id": "9618", + "$id": "9622", "kind": "basic", "name": "listModels", "accessibility": "public", "apiVersions": [], "summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.", "operation": { - "$id": "9619", + "$id": "9623", "name": "listModels", "resourceName": "Models", "summary": "Lists the currently available models, and provides basic information about each one such as the\nowner and availability.", "accessibility": "public", "parameters": [ { - "$id": "9620", + "$id": "9624", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129240,7 +129283,7 @@ }, "parameters": [ { - "$id": "9621", + "$id": "9625", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129268,21 +129311,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.listModels" }, { - "$id": "9622", + "$id": "9626", "kind": "basic", "name": "retrieveModel", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.", "operation": { - "$id": "9623", + "$id": "9627", "name": "retrieveModel", "resourceName": "Models", "summary": "Retrieves a model instance, providing basic information about the model such as the owner and\npermissioning.", "accessibility": "public", "parameters": [ { - "$id": "9624", + "$id": "9628", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129298,13 +129341,13 @@ "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept" }, { - "$id": "9625", + "$id": "9629", "kind": "path", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "9626", + "$id": "9630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129348,7 +129391,7 @@ }, "parameters": [ { - "$id": "9627", + "$id": "9631", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129365,13 +129408,13 @@ "decorators": [] }, { - "$id": "9628", + "$id": "9632", "kind": "method", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "9629", + "$id": "9633", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129398,21 +129441,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel" }, { - "$id": "9630", + "$id": "9634", "kind": "basic", "name": "deleteModel", "accessibility": "public", "apiVersions": [], "summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", "operation": { - "$id": "9631", + "$id": "9635", "name": "deleteModel", "resourceName": "Models", "summary": "Delete a fine-tuned model. You must have the Owner role in your organization to delete a model.", "accessibility": "public", "parameters": [ { - "$id": "9632", + "$id": "9636", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129428,13 +129471,13 @@ "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept" }, { - "$id": "9633", + "$id": "9637", "kind": "path", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "9634", + "$id": "9638", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129478,7 +129521,7 @@ }, "parameters": [ { - "$id": "9635", + "$id": "9639", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129495,13 +129538,13 @@ "decorators": [] }, { - "$id": "9636", + "$id": "9640", "kind": "method", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "9637", + "$id": "9641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129530,13 +129573,13 @@ ], "parameters": [ { - "$id": "9638", + "$id": "9642", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9639", + "$id": "9643", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -129547,7 +129590,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9640", + "$id": "9644", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -129569,27 +129612,27 @@ } }, { - "$id": "9641", + "$id": "9645", "kind": "client", "name": "Realtime", "namespace": "OpenAI", "methods": [ { - "$id": "9642", + "$id": "9646", "kind": "basic", "name": "startRealtimeSession", "accessibility": "public", "apiVersions": [], "summary": "Starts a real-time session for conversation or transcription.", "operation": { - "$id": "9643", + "$id": "9647", "name": "startRealtimeSession", "resourceName": "Realtime", "summary": "Starts a real-time session for conversation or transcription.", "accessibility": "public", "parameters": [ { - "$id": "9644", + "$id": "9648", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -129605,7 +129648,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta" }, { - "$id": "9645", + "$id": "9649", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129622,7 +129665,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" }, { - "$id": "9646", + "$id": "9650", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129638,12 +129681,12 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" }, { - "$id": "9647", + "$id": "9651", "kind": "body", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$id": "9648", + "$id": "9652", "kind": "array", "name": "ArrayRealtimeClientEvent", "valueType": { @@ -129670,7 +129713,7 @@ 200 ], "bodyType": { - "$id": "9649", + "$id": "9653", "kind": "array", "name": "ArrayRealtimeServerEvent", "valueType": { @@ -129700,7 +129743,7 @@ }, "parameters": [ { - "$id": "9650", + "$id": "9654", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -129717,12 +129760,12 @@ "decorators": [] }, { - "$id": "9651", + "$id": "9655", "kind": "method", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$ref": "9648" + "$ref": "9652" }, "location": "Body", "isApiVersion": false, @@ -129734,7 +129777,7 @@ "decorators": [] }, { - "$id": "9652", + "$id": "9656", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129752,7 +129795,7 @@ "decorators": [] }, { - "$id": "9653", + "$id": "9657", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129771,7 +129814,7 @@ ], "response": { "type": { - "$ref": "9649" + "$ref": "9653" } }, "isOverride": false, @@ -129780,21 +129823,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" }, { - "$id": "9654", + "$id": "9658", "kind": "basic", "name": "createEphemeralToken", "accessibility": "public", "apiVersions": [], "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "operation": { - "$id": "9655", + "$id": "9659", "name": "createEphemeralToken", "resourceName": "Realtime", "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API. Can be configured with the same session parameters as the session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "accessibility": "public", "parameters": [ { - "$id": "9656", + "$id": "9660", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129811,7 +129854,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType" }, { - "$id": "9657", + "$id": "9661", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129827,7 +129870,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept" }, { - "$id": "9658", + "$id": "9662", "kind": "body", "name": "request", "serializedName": "request", @@ -129875,7 +129918,7 @@ }, "parameters": [ { - "$id": "9659", + "$id": "9663", "kind": "method", "name": "request", "serializedName": "request", @@ -129892,7 +129935,7 @@ "decorators": [] }, { - "$id": "9660", + "$id": "9664", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129910,7 +129953,7 @@ "decorators": [] }, { - "$id": "9661", + "$id": "9665", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129938,21 +129981,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken" }, { - "$id": "9662", + "$id": "9666", "kind": "basic", "name": "createEphemeralTranscriptionToken", "accessibility": "public", "apiVersions": [], "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "operation": { - "$id": "9663", + "$id": "9667", "name": "createEphemeralTranscriptionToken", "resourceName": "Realtime", "summary": "Create an ephemeral API token for use in client-side applications with the Realtime API specifically for realtime transcriptions. Can be configured with the same session parameters as the transcription_session.update client event.\n\nIt responds with a session object, plus a client_secret key which contains a usable ephemeral API token that can be used to authenticate browser clients for the Realtime API.", "accessibility": "public", "parameters": [ { - "$id": "9664", + "$id": "9668", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129969,7 +130012,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType" }, { - "$id": "9665", + "$id": "9669", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129985,7 +130028,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept" }, { - "$id": "9666", + "$id": "9670", "kind": "body", "name": "request", "serializedName": "request", @@ -130033,7 +130076,7 @@ }, "parameters": [ { - "$id": "9667", + "$id": "9671", "kind": "method", "name": "request", "serializedName": "request", @@ -130050,7 +130093,7 @@ "decorators": [] }, { - "$id": "9668", + "$id": "9672", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -130068,7 +130111,7 @@ "decorators": [] }, { - "$id": "9669", + "$id": "9673", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130098,13 +130141,13 @@ ], "parameters": [ { - "$id": "9670", + "$id": "9674", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9671", + "$id": "9675", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -130115,7 +130158,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9672", + "$id": "9676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -130137,27 +130180,27 @@ } }, { - "$id": "9673", + "$id": "9677", "kind": "client", "name": "Uploads", "namespace": "OpenAI", "methods": [ { - "$id": "9674", + "$id": "9678", "kind": "basic", "name": "createUpload", "accessibility": "public", "apiVersions": [], "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", "operation": { - "$id": "9675", + "$id": "9679", "name": "createUpload", "resourceName": "Uploads", "summary": "Creates an intermediate [Upload](/docs/api-reference/uploads/object) object that you can add [Parts](/docs/api-reference/uploads/part-object) to. Currently, an Upload can accept at most 8 GB in total and expires after an hour after you create it.\n\nOnce you complete the Upload, we will create a [File](/docs/api-reference/files/object) object that contains all the parts you uploaded. This File is usable in the rest of our platform as a regular File object.\n\nFor certain `purpose`s, the correct `mime_type` must be specified. Please refer to documentation for the supported MIME types for your use case:\n- [Assistants](/docs/assistants/tools/file-search/supported-files)\n\nFor guidance on the proper filename extensions for each purpose, please follow the documentation on [creating a File](/docs/api-reference/files/create).", "accessibility": "public", "parameters": [ { - "$id": "9676", + "$id": "9680", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -130173,7 +130216,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" }, { - "$id": "9677", + "$id": "9681", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -130190,7 +130233,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" }, { - "$id": "9678", + "$id": "9682", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -130238,7 +130281,7 @@ }, "parameters": [ { - "$id": "9679", + "$id": "9683", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130255,7 +130298,7 @@ "decorators": [] }, { - "$id": "9680", + "$id": "9684", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -130272,7 +130315,7 @@ "decorators": [] }, { - "$id": "9681", + "$id": "9685", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -130301,21 +130344,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" }, { - "$id": "9682", + "$id": "9686", "kind": "basic", "name": "addUploadPart", "accessibility": "public", "apiVersions": [], "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", "operation": { - "$id": "9683", + "$id": "9687", "name": "addUploadPart", "resourceName": "Uploads", "summary": "Adds a [Part](/docs/api-reference/uploads/part-object) to an [Upload](/docs/api-reference/uploads/object) object. A Part represents a chunk of bytes from the file you are trying to upload. \n\nEach Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of 8 GB.\n\nIt is possible to add multiple Parts in parallel. You can decide the intended order of the Parts when you [complete the Upload](/docs/api-reference/uploads/complete).", "accessibility": "public", "parameters": [ { - "$id": "9684", + "$id": "9688", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -130331,7 +130374,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" }, { - "$id": "9685", + "$id": "9689", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -130347,12 +130390,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" }, { - "$id": "9686", + "$id": "9690", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9687", + "$id": "9691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130370,7 +130413,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" }, { - "$id": "9688", + "$id": "9692", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -130418,7 +130461,7 @@ }, "parameters": [ { - "$id": "9689", + "$id": "9693", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130435,7 +130478,7 @@ "decorators": [] }, { - "$id": "9690", + "$id": "9694", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -130452,12 +130495,12 @@ "decorators": [] }, { - "$id": "9691", + "$id": "9695", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9692", + "$id": "9696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130473,7 +130516,7 @@ "decorators": [] }, { - "$id": "9693", + "$id": "9697", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -130501,21 +130544,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" }, { - "$id": "9694", + "$id": "9698", "kind": "basic", "name": "completeUpload", "accessibility": "public", "apiVersions": [], "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", "operation": { - "$id": "9695", + "$id": "9699", "name": "completeUpload", "resourceName": "Uploads", "summary": "Completes the [Upload](/docs/api-reference/uploads/object). \n\nWithin the returned Upload object, there is a nested [File](/docs/api-reference/files/object) object that is ready to use in the rest of the platform.\n\nYou can specify the order of the Parts by passing in an ordered list of the Part IDs.\n\nThe number of bytes uploaded upon completion must match the number of bytes initially specified when creating the Upload object. No Parts may be added after an Upload is completed.", "accessibility": "public", "parameters": [ { - "$id": "9696", + "$id": "9700", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -130531,12 +130574,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" }, { - "$id": "9697", + "$id": "9701", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9698", + "$id": "9702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130554,7 +130597,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" }, { - "$id": "9699", + "$id": "9703", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -130571,7 +130614,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" }, { - "$id": "9700", + "$id": "9704", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -130619,7 +130662,7 @@ }, "parameters": [ { - "$id": "9701", + "$id": "9705", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130636,12 +130679,12 @@ "decorators": [] }, { - "$id": "9702", + "$id": "9706", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9703", + "$id": "9707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130657,7 +130700,7 @@ "decorators": [] }, { - "$id": "9704", + "$id": "9708", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -130674,7 +130717,7 @@ "decorators": [] }, { - "$id": "9705", + "$id": "9709", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -130703,21 +130746,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" }, { - "$id": "9706", + "$id": "9710", "kind": "basic", "name": "cancelUpload", "accessibility": "public", "apiVersions": [], "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "operation": { - "$id": "9707", + "$id": "9711", "name": "cancelUpload", "resourceName": "Uploads", "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "accessibility": "public", "parameters": [ { - "$id": "9708", + "$id": "9712", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -130733,12 +130776,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" }, { - "$id": "9709", + "$id": "9713", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9710", + "$id": "9714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130782,7 +130825,7 @@ }, "parameters": [ { - "$id": "9711", + "$id": "9715", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130799,12 +130842,12 @@ "decorators": [] }, { - "$id": "9712", + "$id": "9716", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9713", + "$id": "9717", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130833,13 +130876,13 @@ ], "parameters": [ { - "$id": "9714", + "$id": "9718", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9715", + "$id": "9719", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -130850,7 +130893,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9716", + "$id": "9720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -130872,13 +130915,13 @@ } }, { - "$id": "9717", + "$id": "9721", "kind": "client", "name": "Conversations", "namespace": "OpenAI", "methods": [ { - "$id": "9718", + "$id": "9722", "kind": "paging", "name": "GetConversationItems", "accessibility": "public", @@ -130886,7 +130929,7 @@ "doc": "List all items for a conversation with the given ID.", "summary": "List items", "operation": { - "$id": "9719", + "$id": "9723", "name": "GetConversationItems", "resourceName": "OpenAI", "summary": "List items", @@ -130894,13 +130937,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9720", + "$id": "9724", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to list items for.", "type": { - "$id": "9721", + "$id": "9725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130918,13 +130961,13 @@ "crossLanguageDefinitionId": "OpenAI.listConversationItems.conversation_id" }, { - "$id": "9722", + "$id": "9726", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", "type": { - "$id": "9723", + "$id": "9727", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130939,18 +130982,18 @@ "readOnly": false }, { - "$id": "9724", + "$id": "9728", "kind": "query", "name": "order", "serializedName": "order", "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", "type": { - "$id": "9725", + "$id": "9729", "kind": "enum", "name": "ListConversationItemsRequestOrder", "crossLanguageDefinitionId": "OpenAI.listConversationItems.RequestOrder.anonymous", "valueType": { - "$id": "9726", + "$id": "9730", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130958,28 +131001,28 @@ }, "values": [ { - "$id": "9727", + "$id": "9731", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "9726" + "$ref": "9730" }, "enumType": { - "$ref": "9725" + "$ref": "9729" }, "decorators": [] }, { - "$id": "9728", + "$id": "9732", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "9726" + "$ref": "9730" }, "enumType": { - "$ref": "9725" + "$ref": "9729" }, "decorators": [] } @@ -130999,13 +131042,13 @@ "readOnly": false }, { - "$id": "9729", + "$id": "9733", "kind": "query", "name": "after", "serializedName": "after", "doc": "An item ID to list items after, used in pagination.", "type": { - "$id": "9730", + "$id": "9734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131020,22 +131063,22 @@ "readOnly": false }, { - "$id": "9731", + "$id": "9735", "kind": "query", "name": "include", "serializedName": "include", "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", "type": { - "$id": "9732", + "$id": "9736", "kind": "array", "name": "ArrayIncludeEnum", "valueType": { - "$id": "9733", + "$id": "9737", "kind": "enum", "name": "IncludeEnum", "crossLanguageDefinitionId": "OpenAI.IncludeEnum", "valueType": { - "$id": "9734", + "$id": "9738", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131043,106 +131086,106 @@ }, "values": [ { - "$id": "9735", + "$id": "9739", "kind": "enumvalue", "name": "file_search_call.results", "value": "file_search_call.results", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9736", + "$id": "9740", "kind": "enumvalue", "name": "web_search_call.results", "value": "web_search_call.results", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9737", + "$id": "9741", "kind": "enumvalue", "name": "web_search_call.action.sources", "value": "web_search_call.action.sources", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9738", + "$id": "9742", "kind": "enumvalue", "name": "message.input_image.image_url", "value": "message.input_image.image_url", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9739", + "$id": "9743", "kind": "enumvalue", "name": "computer_call_output.output.image_url", "value": "computer_call_output.output.image_url", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9740", + "$id": "9744", "kind": "enumvalue", "name": "code_interpreter_call.outputs", "value": "code_interpreter_call.outputs", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9741", + "$id": "9745", "kind": "enumvalue", "name": "reasoning.encrypted_content", "value": "reasoning.encrypted_content", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] }, { - "$id": "9742", + "$id": "9746", "kind": "enumvalue", "name": "message.output_text.logprobs", "value": "message.output_text.logprobs", "valueType": { - "$ref": "9734" + "$ref": "9738" }, "enumType": { - "$ref": "9733" + "$ref": "9737" }, "decorators": [] } @@ -131166,7 +131209,7 @@ "readOnly": false }, { - "$id": "9743", + "$id": "9747", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131188,7 +131231,7 @@ 200 ], "bodyType": { - "$id": "9744", + "$id": "9748", "kind": "model", "name": "ConversationItemList", "namespace": "OpenAI", @@ -131199,7 +131242,7 @@ "decorators": [], "properties": [ { - "$id": "9745", + "$id": "9749", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", @@ -131216,7 +131259,7 @@ "isHttpMetadata": false }, { - "$id": "9746", + "$id": "9750", "kind": "property", "name": "data", "doc": "A list of conversation items.", @@ -131233,12 +131276,12 @@ "isHttpMetadata": false }, { - "$id": "9747", + "$id": "9751", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "9748", + "$id": "9752", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131254,12 +131297,12 @@ "isHttpMetadata": false }, { - "$id": "9749", + "$id": "9753", "kind": "property", "name": "first_id", "doc": "The ID of the first item in the list.", "type": { - "$id": "9750", + "$id": "9754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131275,12 +131318,12 @@ "isHttpMetadata": false }, { - "$id": "9751", + "$id": "9755", "kind": "property", "name": "last_id", "doc": "The ID of the last item in the list.", "type": { - "$id": "9752", + "$id": "9756", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131315,13 +131358,13 @@ }, "parameters": [ { - "$id": "9753", + "$id": "9757", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to list items for.", "type": { - "$id": "9754", + "$id": "9758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131337,13 +131380,13 @@ "decorators": [] }, { - "$id": "9755", + "$id": "9759", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between\n1 and 100, and the default is 20.", "type": { - "$id": "9756", + "$id": "9760", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -131359,13 +131402,13 @@ "decorators": [] }, { - "$id": "9757", + "$id": "9761", "kind": "method", "name": "order", "serializedName": "order", "doc": "The order to return the input items in. Default is `desc`.\n- `asc`: Return the input items in ascending order.\n- `desc`: Return the input items in descending order.", "type": { - "$ref": "9725" + "$ref": "9729" }, "location": "Query", "isApiVersion": false, @@ -131377,13 +131420,13 @@ "decorators": [] }, { - "$id": "9758", + "$id": "9762", "kind": "method", "name": "after", "serializedName": "after", "doc": "An item ID to list items after, used in pagination.", "type": { - "$id": "9759", + "$id": "9763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131399,13 +131442,13 @@ "decorators": [] }, { - "$id": "9760", + "$id": "9764", "kind": "method", "name": "include", "serializedName": "include", "doc": "Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).", "type": { - "$ref": "9732" + "$ref": "9736" }, "location": "Query", "isApiVersion": false, @@ -131417,7 +131460,7 @@ "decorators": [] }, { - "$id": "9761", + "$id": "9765", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131453,7 +131496,7 @@ } }, { - "$id": "9762", + "$id": "9766", "kind": "basic", "name": "createConversationItems", "accessibility": "public", @@ -131461,7 +131504,7 @@ "doc": "Create items in a conversation with the given ID.", "summary": "Create items", "operation": { - "$id": "9763", + "$id": "9767", "name": "createConversationItems", "resourceName": "OpenAI", "summary": "Create items", @@ -131469,13 +131512,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9764", + "$id": "9768", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to add the item to.", "type": { - "$id": "9765", + "$id": "9769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131493,13 +131536,13 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.conversation_id" }, { - "$id": "9766", + "$id": "9770", "kind": "query", "name": "include", "serializedName": "include", "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "9732" + "$ref": "9736" }, "isApiVersion": false, "explode": true, @@ -131510,7 +131553,7 @@ "readOnly": false }, { - "$id": "9767", + "$id": "9771", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -131527,7 +131570,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.contentType" }, { - "$id": "9768", + "$id": "9772", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131543,12 +131586,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems.accept" }, { - "$id": "9769", + "$id": "9773", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9770", + "$id": "9774", "kind": "model", "name": "CreateConversationItemsParametersBody", "namespace": "OpenAI", @@ -131557,7 +131600,7 @@ "decorators": [], "properties": [ { - "$id": "9771", + "$id": "9775", "kind": "property", "name": "items", "type": { @@ -131592,7 +131635,7 @@ 200 ], "bodyType": { - "$ref": "9744" + "$ref": "9748" }, "headers": [], "isErrorResponse": false, @@ -131615,13 +131658,13 @@ }, "parameters": [ { - "$id": "9772", + "$id": "9776", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to add the item to.", "type": { - "$id": "9773", + "$id": "9777", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131637,13 +131680,13 @@ "decorators": [] }, { - "$id": "9774", + "$id": "9778", "kind": "method", "name": "include", "serializedName": "include", "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "9732" + "$ref": "9736" }, "location": "Query", "isApiVersion": false, @@ -131655,12 +131698,12 @@ "decorators": [] }, { - "$id": "9775", + "$id": "9779", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9770" + "$ref": "9774" }, "location": "Body", "isApiVersion": false, @@ -131672,7 +131715,7 @@ "decorators": [] }, { - "$id": "9776", + "$id": "9780", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -131690,7 +131733,7 @@ "decorators": [] }, { - "$id": "9777", + "$id": "9781", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131709,7 +131752,7 @@ ], "response": { "type": { - "$ref": "9744" + "$ref": "9748" } }, "isOverride": false, @@ -131718,7 +131761,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversationItems" }, { - "$id": "9778", + "$id": "9782", "kind": "basic", "name": "deleteConversationItem", "accessibility": "public", @@ -131726,7 +131769,7 @@ "doc": "Delete an item from a conversation with the given IDs.", "summary": "Delete an item", "operation": { - "$id": "9779", + "$id": "9783", "name": "deleteConversationItem", "resourceName": "OpenAI", "summary": "Delete an item", @@ -131734,13 +131777,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9780", + "$id": "9784", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "9781", + "$id": "9785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131758,13 +131801,13 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.conversation_id" }, { - "$id": "9782", + "$id": "9786", "kind": "path", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "9783", + "$id": "9787", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131782,7 +131825,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem.item_id" }, { - "$id": "9784", + "$id": "9788", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131804,7 +131847,7 @@ 200 ], "bodyType": { - "$id": "9785", + "$id": "9789", "kind": "model", "name": "ConversationResource", "namespace": "OpenAI", @@ -131813,12 +131856,12 @@ "decorators": [], "properties": [ { - "$id": "9786", + "$id": "9790", "kind": "property", "name": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "9787", + "$id": "9791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131834,7 +131877,7 @@ "isHttpMetadata": false }, { - "$id": "9788", + "$id": "9792", "kind": "property", "name": "object", "doc": "The object type, which is always `conversation`.", @@ -131851,12 +131894,12 @@ "isHttpMetadata": false }, { - "$id": "9789", + "$id": "9793", "kind": "property", "name": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", "type": { - "$id": "9790", + "$id": "9794", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -131872,12 +131915,12 @@ "isHttpMetadata": false }, { - "$id": "9791", + "$id": "9795", "kind": "property", "name": "created_at", "doc": "The time at which the conversation was created, measured in seconds since the Unix epoch.", "type": { - "$id": "9792", + "$id": "9796", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -131912,13 +131955,13 @@ }, "parameters": [ { - "$id": "9793", + "$id": "9797", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "9794", + "$id": "9798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131934,13 +131977,13 @@ "decorators": [] }, { - "$id": "9795", + "$id": "9799", "kind": "method", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "9796", + "$id": "9800", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131956,7 +131999,7 @@ "decorators": [] }, { - "$id": "9797", + "$id": "9801", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131975,7 +132018,7 @@ ], "response": { "type": { - "$ref": "9785" + "$ref": "9789" } }, "isOverride": false, @@ -131984,7 +132027,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversationItem" }, { - "$id": "9798", + "$id": "9802", "kind": "basic", "name": "getConversationItem", "accessibility": "public", @@ -131992,7 +132035,7 @@ "doc": "Get a single item from a conversation with the given IDs.", "summary": "Retrieve an item", "operation": { - "$id": "9799", + "$id": "9803", "name": "getConversationItem", "resourceName": "OpenAI", "summary": "Retrieve an item", @@ -132000,13 +132043,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9800", + "$id": "9804", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "9801", + "$id": "9805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132024,13 +132067,13 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem.conversation_id" }, { - "$id": "9802", + "$id": "9806", "kind": "path", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "9803", + "$id": "9807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132048,13 +132091,13 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem.item_id" }, { - "$id": "9804", + "$id": "9808", "kind": "query", "name": "include", "serializedName": "include", "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "9732" + "$ref": "9736" }, "isApiVersion": false, "explode": true, @@ -132065,7 +132108,7 @@ "readOnly": false }, { - "$id": "9805", + "$id": "9809", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -132107,13 +132150,13 @@ }, "parameters": [ { - "$id": "9806", + "$id": "9810", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation that contains the item.", "type": { - "$id": "9807", + "$id": "9811", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132129,13 +132172,13 @@ "decorators": [] }, { - "$id": "9808", + "$id": "9812", "kind": "method", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "9809", + "$id": "9813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132151,13 +132194,13 @@ "decorators": [] }, { - "$id": "9810", + "$id": "9814", "kind": "method", "name": "include", "serializedName": "include", "doc": "Additional fields to include in the response. See the `include`\nparameter for [listing Conversation items above](https://platform.openai.com/docs/api-reference/conversations/list-items#conversations_list_items-include) for more information.", "type": { - "$ref": "9732" + "$ref": "9736" }, "location": "Query", "isApiVersion": false, @@ -132169,7 +132212,7 @@ "decorators": [] }, { - "$id": "9811", + "$id": "9815", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -132197,7 +132240,7 @@ "crossLanguageDefinitionId": "OpenAI.getConversationItem" }, { - "$id": "9812", + "$id": "9816", "kind": "basic", "name": "createConversation", "accessibility": "public", @@ -132205,7 +132248,7 @@ "doc": "Create a conversation.", "summary": "Create a conversation", "operation": { - "$id": "9813", + "$id": "9817", "name": "createConversation", "resourceName": "OpenAI", "summary": "Create a conversation", @@ -132213,7 +132256,7 @@ "accessibility": "public", "parameters": [ { - "$id": "9814", + "$id": "9818", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -132230,7 +132273,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversation.contentType" }, { - "$id": "9815", + "$id": "9819", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -132246,12 +132289,12 @@ "crossLanguageDefinitionId": "OpenAI.createConversation.accept" }, { - "$id": "9816", + "$id": "9820", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9817", + "$id": "9821", "kind": "model", "name": "CreateConversationBody", "namespace": "OpenAI", @@ -132260,14 +132303,14 @@ "decorators": [], "properties": [ { - "$id": "9818", + "$id": "9822", "kind": "property", "name": "metadata", "type": { - "$id": "9819", + "$id": "9823", "kind": "nullable", "type": { - "$id": "9820", + "$id": "9824", "kind": "model", "name": "Metadata", "namespace": "OpenAI", @@ -132289,11 +132332,11 @@ "isHttpMetadata": false }, { - "$id": "9821", + "$id": "9825", "kind": "property", "name": "items", "type": { - "$id": "9822", + "$id": "9826", "kind": "nullable", "type": { "$ref": "5193" @@ -132329,7 +132372,7 @@ 200 ], "bodyType": { - "$ref": "9785" + "$ref": "9789" }, "headers": [], "isErrorResponse": false, @@ -132352,12 +132395,12 @@ }, "parameters": [ { - "$id": "9823", + "$id": "9827", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9817" + "$ref": "9821" }, "location": "Body", "isApiVersion": false, @@ -132369,7 +132412,7 @@ "decorators": [] }, { - "$id": "9824", + "$id": "9828", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -132387,7 +132430,7 @@ "decorators": [] }, { - "$id": "9825", + "$id": "9829", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -132406,7 +132449,7 @@ ], "response": { "type": { - "$ref": "9785" + "$ref": "9789" } }, "isOverride": false, @@ -132415,7 +132458,7 @@ "crossLanguageDefinitionId": "OpenAI.createConversation" }, { - "$id": "9826", + "$id": "9830", "kind": "basic", "name": "deleteConversation", "accessibility": "public", @@ -132423,7 +132466,7 @@ "doc": "Delete a conversation. Items in the conversation will not be deleted.", "summary": "Delete a conversation", "operation": { - "$id": "9827", + "$id": "9831", "name": "deleteConversation", "resourceName": "OpenAI", "summary": "Delete a conversation", @@ -132431,13 +132474,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9828", + "$id": "9832", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to delete.", "type": { - "$id": "9829", + "$id": "9833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132455,7 +132498,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversation.conversation_id" }, { - "$id": "9830", + "$id": "9834", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -132477,7 +132520,7 @@ 200 ], "bodyType": { - "$id": "9831", + "$id": "9835", "kind": "model", "name": "DeletedConversationResource", "namespace": "OpenAI", @@ -132486,7 +132529,7 @@ "decorators": [], "properties": [ { - "$id": "9832", + "$id": "9836", "kind": "property", "name": "object", "type": { @@ -132502,11 +132545,11 @@ "isHttpMetadata": false }, { - "$id": "9833", + "$id": "9837", "kind": "property", "name": "deleted", "type": { - "$id": "9834", + "$id": "9838", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -132522,11 +132565,11 @@ "isHttpMetadata": false }, { - "$id": "9835", + "$id": "9839", "kind": "property", "name": "id", "type": { - "$id": "9836", + "$id": "9840", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132561,13 +132604,13 @@ }, "parameters": [ { - "$id": "9837", + "$id": "9841", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to delete.", "type": { - "$id": "9838", + "$id": "9842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132583,7 +132626,7 @@ "decorators": [] }, { - "$id": "9839", + "$id": "9843", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -132602,7 +132645,7 @@ ], "response": { "type": { - "$ref": "9831" + "$ref": "9835" } }, "isOverride": false, @@ -132611,7 +132654,7 @@ "crossLanguageDefinitionId": "OpenAI.deleteConversation" }, { - "$id": "9840", + "$id": "9844", "kind": "basic", "name": "getConversation", "accessibility": "public", @@ -132619,7 +132662,7 @@ "doc": "Get a conversation", "summary": "Retrieve a conversation", "operation": { - "$id": "9841", + "$id": "9845", "name": "getConversation", "resourceName": "OpenAI", "summary": "Retrieve a conversation", @@ -132627,13 +132670,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9842", + "$id": "9846", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to retrieve.", "type": { - "$id": "9843", + "$id": "9847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132651,7 +132694,7 @@ "crossLanguageDefinitionId": "OpenAI.getConversation.conversation_id" }, { - "$id": "9844", + "$id": "9848", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -132673,7 +132716,7 @@ 200 ], "bodyType": { - "$ref": "9785" + "$ref": "9789" }, "headers": [], "isErrorResponse": false, @@ -132693,13 +132736,13 @@ }, "parameters": [ { - "$id": "9845", + "$id": "9849", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to retrieve.", "type": { - "$id": "9846", + "$id": "9850", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132715,7 +132758,7 @@ "decorators": [] }, { - "$id": "9847", + "$id": "9851", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -132734,7 +132777,7 @@ ], "response": { "type": { - "$ref": "9785" + "$ref": "9789" } }, "isOverride": false, @@ -132743,7 +132786,7 @@ "crossLanguageDefinitionId": "OpenAI.getConversation" }, { - "$id": "9848", + "$id": "9852", "kind": "basic", "name": "updateConversation", "accessibility": "public", @@ -132751,7 +132794,7 @@ "doc": "Update a conversation", "summary": "Update a conversation", "operation": { - "$id": "9849", + "$id": "9853", "name": "updateConversation", "resourceName": "OpenAI", "summary": "Update a conversation", @@ -132759,13 +132802,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9850", + "$id": "9854", "kind": "path", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to update.", "type": { - "$id": "9851", + "$id": "9855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132783,7 +132826,7 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.conversation_id" }, { - "$id": "9852", + "$id": "9856", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -132800,7 +132843,7 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.contentType" }, { - "$id": "9853", + "$id": "9857", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -132816,12 +132859,12 @@ "crossLanguageDefinitionId": "OpenAI.updateConversation.accept" }, { - "$id": "9854", + "$id": "9858", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9855", + "$id": "9859", "kind": "model", "name": "UpdateConversationBody", "namespace": "OpenAI", @@ -132830,15 +132873,15 @@ "decorators": [], "properties": [ { - "$id": "9856", + "$id": "9860", "kind": "property", "name": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.\n Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.", "type": { - "$id": "9857", + "$id": "9861", "kind": "nullable", "type": { - "$ref": "9820" + "$ref": "9824" }, "namespace": "OpenAI" }, @@ -132871,7 +132914,7 @@ 200 ], "bodyType": { - "$ref": "9785" + "$ref": "9789" }, "headers": [], "isErrorResponse": false, @@ -132894,13 +132937,13 @@ }, "parameters": [ { - "$id": "9858", + "$id": "9862", "kind": "method", "name": "conversation_id", "serializedName": "conversation_id", "doc": "The ID of the conversation to update.", "type": { - "$id": "9859", + "$id": "9863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -132916,12 +132959,12 @@ "decorators": [] }, { - "$id": "9860", + "$id": "9864", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9855" + "$ref": "9859" }, "location": "Body", "isApiVersion": false, @@ -132933,7 +132976,7 @@ "decorators": [] }, { - "$id": "9861", + "$id": "9865", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -132951,7 +132994,7 @@ "decorators": [] }, { - "$id": "9862", + "$id": "9866", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -132970,7 +133013,7 @@ ], "response": { "type": { - "$ref": "9785" + "$ref": "9789" } }, "isOverride": false, @@ -132981,13 +133024,13 @@ ], "parameters": [ { - "$id": "9863", + "$id": "9867", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9864", + "$id": "9868", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -132998,7 +133041,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9865", + "$id": "9869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -133020,13 +133063,13 @@ } }, { - "$id": "9866", + "$id": "9870", "kind": "client", "name": "Videos", "namespace": "OpenAI", "methods": [ { - "$id": "9867", + "$id": "9871", "kind": "paging", "name": "ListVideos", "accessibility": "public", @@ -133034,7 +133077,7 @@ "doc": "List videos", "summary": "List videos", "operation": { - "$id": "9868", + "$id": "9872", "name": "ListVideos", "resourceName": "OpenAI", "summary": "List videos", @@ -133042,13 +133085,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9869", + "$id": "9873", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9870", + "$id": "9874", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133063,18 +133106,18 @@ "readOnly": false }, { - "$id": "9871", + "$id": "9875", "kind": "query", "name": "order", "serializedName": "order", "doc": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$id": "9872", + "$id": "9876", "kind": "enum", "name": "OrderEnum", "crossLanguageDefinitionId": "OpenAI.OrderEnum", "valueType": { - "$id": "9873", + "$id": "9877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133082,28 +133125,28 @@ }, "values": [ { - "$id": "9874", + "$id": "9878", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "9873" + "$ref": "9877" }, "enumType": { - "$ref": "9872" + "$ref": "9876" }, "decorators": [] }, { - "$id": "9875", + "$id": "9879", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "9873" + "$ref": "9877" }, "enumType": { - "$ref": "9872" + "$ref": "9876" }, "decorators": [] } @@ -133123,13 +133166,13 @@ "readOnly": false }, { - "$id": "9876", + "$id": "9880", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9877", + "$id": "9881", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133144,7 +133187,7 @@ "readOnly": false }, { - "$id": "9878", + "$id": "9882", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -133166,7 +133209,7 @@ 200 ], "bodyType": { - "$id": "9879", + "$id": "9883", "kind": "model", "name": "VideoListResource", "namespace": "OpenAI", @@ -133175,7 +133218,7 @@ "decorators": [], "properties": [ { - "$id": "9880", + "$id": "9884", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", @@ -133192,16 +133235,16 @@ "isHttpMetadata": false }, { - "$id": "9881", + "$id": "9885", "kind": "property", "name": "data", "doc": "A list of items", "type": { - "$id": "9882", + "$id": "9886", "kind": "array", "name": "ArrayVideoResource", "valueType": { - "$id": "9883", + "$id": "9887", "kind": "model", "name": "VideoResource", "namespace": "OpenAI", @@ -133212,12 +133255,12 @@ "decorators": [], "properties": [ { - "$id": "9884", + "$id": "9888", "kind": "property", "name": "id", "doc": "Unique identifier for the video job.", "type": { - "$id": "9885", + "$id": "9889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133233,7 +133276,7 @@ "isHttpMetadata": false }, { - "$id": "9886", + "$id": "9890", "kind": "property", "name": "object", "doc": "The object type, which is always `video`.", @@ -133250,17 +133293,17 @@ "isHttpMetadata": false }, { - "$id": "9887", + "$id": "9891", "kind": "property", "name": "model", "doc": "The video generation model that produced the job.", "type": { - "$id": "9888", + "$id": "9892", "kind": "enum", "name": "VideoModel", "crossLanguageDefinitionId": "OpenAI.VideoModel", "valueType": { - "$id": "9889", + "$id": "9893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133268,28 +133311,28 @@ }, "values": [ { - "$id": "9890", + "$id": "9894", "kind": "enumvalue", "name": "sora-2", "value": "sora-2", "valueType": { - "$ref": "9889" + "$ref": "9893" }, "enumType": { - "$ref": "9888" + "$ref": "9892" }, "decorators": [] }, { - "$id": "9891", + "$id": "9895", "kind": "enumvalue", "name": "sora-2-pro", "value": "sora-2-pro", "valueType": { - "$ref": "9889" + "$ref": "9893" }, "enumType": { - "$ref": "9888" + "$ref": "9892" }, "decorators": [] } @@ -133310,17 +133353,17 @@ "isHttpMetadata": false }, { - "$id": "9892", + "$id": "9896", "kind": "property", "name": "status", "doc": "Current lifecycle status of the video job.", "type": { - "$id": "9893", + "$id": "9897", "kind": "enum", "name": "VideoStatus", "crossLanguageDefinitionId": "OpenAI.VideoStatus", "valueType": { - "$id": "9894", + "$id": "9898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133328,54 +133371,54 @@ }, "values": [ { - "$id": "9895", + "$id": "9899", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "9894" + "$ref": "9898" }, "enumType": { - "$ref": "9893" + "$ref": "9897" }, "decorators": [] }, { - "$id": "9896", + "$id": "9900", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "9894" + "$ref": "9898" }, "enumType": { - "$ref": "9893" + "$ref": "9897" }, "decorators": [] }, { - "$id": "9897", + "$id": "9901", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "9894" + "$ref": "9898" }, "enumType": { - "$ref": "9893" + "$ref": "9897" }, "decorators": [] }, { - "$id": "9898", + "$id": "9902", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "9894" + "$ref": "9898" }, "enumType": { - "$ref": "9893" + "$ref": "9897" }, "decorators": [] } @@ -133396,12 +133439,12 @@ "isHttpMetadata": false }, { - "$id": "9899", + "$id": "9903", "kind": "property", "name": "progress", "doc": "Approximate completion percentage for the generation task.", "type": { - "$id": "9900", + "$id": "9904", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133417,12 +133460,12 @@ "isHttpMetadata": false }, { - "$id": "9901", + "$id": "9905", "kind": "property", "name": "created_at", "doc": "Unix timestamp (seconds) for when the job was created.", "type": { - "$id": "9902", + "$id": "9906", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133438,14 +133481,14 @@ "isHttpMetadata": false }, { - "$id": "9903", + "$id": "9907", "kind": "property", "name": "completed_at", "type": { - "$id": "9904", + "$id": "9908", "kind": "nullable", "type": { - "$id": "9905", + "$id": "9909", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133463,14 +133506,14 @@ "isHttpMetadata": false }, { - "$id": "9906", + "$id": "9910", "kind": "property", "name": "expires_at", "type": { - "$id": "9907", + "$id": "9911", "kind": "nullable", "type": { - "$id": "9908", + "$id": "9912", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133488,17 +133531,17 @@ "isHttpMetadata": false }, { - "$id": "9909", + "$id": "9913", "kind": "property", "name": "size", "doc": "The resolution of the generated video.", "type": { - "$id": "9910", + "$id": "9914", "kind": "enum", "name": "VideoSize", "crossLanguageDefinitionId": "OpenAI.VideoSize", "valueType": { - "$id": "9911", + "$id": "9915", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133506,54 +133549,54 @@ }, "values": [ { - "$id": "9912", + "$id": "9916", "kind": "enumvalue", "name": "720x1280", "value": "720x1280", "valueType": { - "$ref": "9911" + "$ref": "9915" }, "enumType": { - "$ref": "9910" + "$ref": "9914" }, "decorators": [] }, { - "$id": "9913", + "$id": "9917", "kind": "enumvalue", "name": "1280x720", "value": "1280x720", "valueType": { - "$ref": "9911" + "$ref": "9915" }, "enumType": { - "$ref": "9910" + "$ref": "9914" }, "decorators": [] }, { - "$id": "9914", + "$id": "9918", "kind": "enumvalue", "name": "1024x1792", "value": "1024x1792", "valueType": { - "$ref": "9911" + "$ref": "9915" }, "enumType": { - "$ref": "9910" + "$ref": "9914" }, "decorators": [] }, { - "$id": "9915", + "$id": "9919", "kind": "enumvalue", "name": "1792x1024", "value": "1792x1024", "valueType": { - "$ref": "9911" + "$ref": "9915" }, "enumType": { - "$ref": "9910" + "$ref": "9914" }, "decorators": [] } @@ -133574,17 +133617,17 @@ "isHttpMetadata": false }, { - "$id": "9916", + "$id": "9920", "kind": "property", "name": "seconds", "doc": "Duration of the generated clip in seconds.", "type": { - "$id": "9917", + "$id": "9921", "kind": "enum", "name": "VideoSeconds", "crossLanguageDefinitionId": "OpenAI.VideoSeconds", "valueType": { - "$id": "9918", + "$id": "9922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133592,41 +133635,41 @@ }, "values": [ { - "$id": "9919", + "$id": "9923", "kind": "enumvalue", "name": "4", "value": "4", "valueType": { - "$ref": "9918" + "$ref": "9922" }, "enumType": { - "$ref": "9917" + "$ref": "9921" }, "decorators": [] }, { - "$id": "9920", + "$id": "9924", "kind": "enumvalue", "name": "8", "value": "8", "valueType": { - "$ref": "9918" + "$ref": "9922" }, "enumType": { - "$ref": "9917" + "$ref": "9921" }, "decorators": [] }, { - "$id": "9921", + "$id": "9925", "kind": "enumvalue", "name": "12", "value": "12", "valueType": { - "$ref": "9918" + "$ref": "9922" }, "enumType": { - "$ref": "9917" + "$ref": "9921" }, "decorators": [] } @@ -133647,14 +133690,14 @@ "isHttpMetadata": false }, { - "$id": "9922", + "$id": "9926", "kind": "property", "name": "remixed_from_video_id", "type": { - "$id": "9923", + "$id": "9927", "kind": "nullable", "type": { - "$id": "9924", + "$id": "9928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133672,14 +133715,14 @@ "isHttpMetadata": false }, { - "$id": "9925", + "$id": "9929", "kind": "property", "name": "error", "type": { - "$id": "9926", + "$id": "9930", "kind": "nullable", "type": { - "$id": "9927", + "$id": "9931", "kind": "model", "name": "Error-2", "namespace": "OpenAI", @@ -133688,11 +133731,11 @@ "decorators": [], "properties": [ { - "$id": "9928", + "$id": "9932", "kind": "property", "name": "code", "type": { - "$id": "9929", + "$id": "9933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133708,11 +133751,11 @@ "isHttpMetadata": false }, { - "$id": "9930", + "$id": "9934", "kind": "property", "name": "message", "type": { - "$id": "9931", + "$id": "9935", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133755,11 +133798,11 @@ "isHttpMetadata": false }, { - "$id": "9932", + "$id": "9936", "kind": "property", "name": "first_id", "type": { - "$id": "9933", + "$id": "9937", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133775,11 +133818,11 @@ "isHttpMetadata": false }, { - "$id": "9934", + "$id": "9938", "kind": "property", "name": "last_id", "type": { - "$id": "9935", + "$id": "9939", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133795,12 +133838,12 @@ "isHttpMetadata": false }, { - "$id": "9936", + "$id": "9940", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "9937", + "$id": "9941", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -133835,13 +133878,13 @@ }, "parameters": [ { - "$id": "9938", + "$id": "9942", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9939", + "$id": "9943", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -133857,13 +133900,13 @@ "decorators": [] }, { - "$id": "9940", + "$id": "9944", "kind": "method", "name": "order", "serializedName": "order", "doc": "Sort order of results by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { - "$ref": "9872" + "$ref": "9876" }, "location": "Query", "isApiVersion": false, @@ -133875,13 +133918,13 @@ "decorators": [] }, { - "$id": "9941", + "$id": "9945", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9942", + "$id": "9946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -133897,7 +133940,7 @@ "decorators": [] }, { - "$id": "9943", + "$id": "9947", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -133916,7 +133959,7 @@ ], "response": { "type": { - "$ref": "9882" + "$ref": "9886" }, "resultSegments": [ "data" @@ -133933,7 +133976,7 @@ } }, { - "$id": "9944", + "$id": "9948", "kind": "basic", "name": "createVideo", "accessibility": "public", @@ -133941,7 +133984,7 @@ "doc": "Create a video", "summary": "Create video", "operation": { - "$id": "9945", + "$id": "9949", "name": "createVideo", "resourceName": "OpenAI", "summary": "Create video", @@ -133949,7 +133992,7 @@ "accessibility": "public", "parameters": [ { - "$id": "9946", + "$id": "9950", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -133965,7 +134008,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.contentType" }, { - "$id": "9947", + "$id": "9951", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -133981,12 +134024,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.accept" }, { - "$id": "9948", + "$id": "9952", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9949", + "$id": "9953", "kind": "model", "name": "CreateVideoBody", "namespace": "OpenAI", @@ -133997,13 +134040,13 @@ "decorators": [], "properties": [ { - "$id": "9950", + "$id": "9954", "kind": "property", "name": "model", "serializedName": "model", "doc": "The video generation model to use. Defaults to `sora-2`.", "type": { - "$ref": "9888" + "$ref": "9892" }, "optional": true, "readOnly": false, @@ -134025,18 +134068,18 @@ "isHttpMetadata": false }, { - "$id": "9951", + "$id": "9955", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Text prompt that describes the video to generate.", "type": { - "$id": "9952", + "$id": "9956", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "9953", + "$id": "9957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134064,13 +134107,13 @@ "isHttpMetadata": false }, { - "$id": "9954", + "$id": "9958", "kind": "property", "name": "input_reference", "serializedName": "input_reference", "doc": "Optional image reference that guides generation.", "type": { - "$id": "9955", + "$id": "9959", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -134097,13 +134140,13 @@ "isHttpMetadata": false }, { - "$id": "9956", + "$id": "9960", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "Clip duration in seconds. Defaults to 4 seconds.", "type": { - "$ref": "9917" + "$ref": "9921" }, "optional": true, "readOnly": false, @@ -134125,13 +134168,13 @@ "isHttpMetadata": false }, { - "$id": "9957", + "$id": "9961", "kind": "property", "name": "size", "serializedName": "size", "doc": "Output resolution formatted as width x height. Defaults to 720x1280.", "type": { - "$ref": "9910" + "$ref": "9914" }, "optional": true, "readOnly": false, @@ -134172,7 +134215,7 @@ 200 ], "bodyType": { - "$ref": "9883" + "$ref": "9887" }, "headers": [], "isErrorResponse": false, @@ -134195,7 +134238,7 @@ }, "parameters": [ { - "$id": "9958", + "$id": "9962", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -134212,12 +134255,12 @@ "decorators": [] }, { - "$id": "9959", + "$id": "9963", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9949" + "$ref": "9953" }, "location": "Body", "isApiVersion": false, @@ -134229,7 +134272,7 @@ "decorators": [] }, { - "$id": "9960", + "$id": "9964", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -134248,7 +134291,7 @@ ], "response": { "type": { - "$ref": "9883" + "$ref": "9887" } }, "isOverride": false, @@ -134257,7 +134300,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo" }, { - "$id": "9961", + "$id": "9965", "kind": "basic", "name": "DeleteVideo", "accessibility": "public", @@ -134265,7 +134308,7 @@ "doc": "Delete a video", "summary": "Delete video", "operation": { - "$id": "9962", + "$id": "9966", "name": "DeleteVideo", "resourceName": "OpenAI", "summary": "Delete video", @@ -134273,13 +134316,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9963", + "$id": "9967", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "9964", + "$id": "9968", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134297,7 +134340,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo.video_id" }, { - "$id": "9965", + "$id": "9969", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -134319,7 +134362,7 @@ 200 ], "bodyType": { - "$id": "9966", + "$id": "9970", "kind": "model", "name": "DeletedVideoResource", "namespace": "OpenAI", @@ -134330,7 +134373,7 @@ "decorators": [], "properties": [ { - "$id": "9967", + "$id": "9971", "kind": "property", "name": "object", "doc": "The object type that signals the deletion response.", @@ -134347,12 +134390,12 @@ "isHttpMetadata": false }, { - "$id": "9968", + "$id": "9972", "kind": "property", "name": "deleted", "doc": "Indicates that the video resource was deleted.", "type": { - "$id": "9969", + "$id": "9973", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -134368,12 +134411,12 @@ "isHttpMetadata": false }, { - "$id": "9970", + "$id": "9974", "kind": "property", "name": "id", "doc": "Identifier of the deleted video.", "type": { - "$id": "9971", + "$id": "9975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134408,13 +134451,13 @@ }, "parameters": [ { - "$id": "9972", + "$id": "9976", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "9973", + "$id": "9977", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134430,7 +134473,7 @@ "decorators": [] }, { - "$id": "9974", + "$id": "9978", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -134449,7 +134492,7 @@ ], "response": { "type": { - "$ref": "9966" + "$ref": "9970" } }, "isOverride": false, @@ -134458,7 +134501,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo" }, { - "$id": "9975", + "$id": "9979", "kind": "basic", "name": "GetVideo", "accessibility": "public", @@ -134466,7 +134509,7 @@ "doc": "Retrieve a video", "summary": "Retrieve video", "operation": { - "$id": "9976", + "$id": "9980", "name": "GetVideo", "resourceName": "OpenAI", "summary": "Retrieve video", @@ -134474,13 +134517,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9977", + "$id": "9981", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "9978", + "$id": "9982", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134498,7 +134541,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo.video_id" }, { - "$id": "9979", + "$id": "9983", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -134520,7 +134563,7 @@ 200 ], "bodyType": { - "$ref": "9883" + "$ref": "9887" }, "headers": [], "isErrorResponse": false, @@ -134540,13 +134583,13 @@ }, "parameters": [ { - "$id": "9980", + "$id": "9984", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "9981", + "$id": "9985", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134562,7 +134605,7 @@ "decorators": [] }, { - "$id": "9982", + "$id": "9986", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -134581,7 +134624,7 @@ ], "response": { "type": { - "$ref": "9883" + "$ref": "9887" } }, "isOverride": false, @@ -134590,7 +134633,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo" }, { - "$id": "9983", + "$id": "9987", "kind": "basic", "name": "DownloadVideo", "accessibility": "public", @@ -134598,7 +134641,7 @@ "doc": "Download video content", "summary": "Retrieve video content", "operation": { - "$id": "9984", + "$id": "9988", "name": "DownloadVideo", "resourceName": "OpenAI", "summary": "Retrieve video content", @@ -134606,13 +134649,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9985", + "$id": "9989", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "9986", + "$id": "9990", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134630,18 +134673,18 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent.video_id" }, { - "$id": "9987", + "$id": "9991", "kind": "query", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$id": "9988", + "$id": "9992", "kind": "enum", "name": "VideoContentVariant", "crossLanguageDefinitionId": "OpenAI.VideoContentVariant", "valueType": { - "$id": "9989", + "$id": "9993", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134649,41 +134692,41 @@ }, "values": [ { - "$id": "9990", + "$id": "9994", "kind": "enumvalue", "name": "video", "value": "video", "valueType": { - "$ref": "9989" + "$ref": "9993" }, "enumType": { - "$ref": "9988" + "$ref": "9992" }, "decorators": [] }, { - "$id": "9991", + "$id": "9995", "kind": "enumvalue", "name": "thumbnail", "value": "thumbnail", "valueType": { - "$ref": "9989" + "$ref": "9993" }, "enumType": { - "$ref": "9988" + "$ref": "9992" }, "decorators": [] }, { - "$id": "9992", + "$id": "9996", "kind": "enumvalue", "name": "spritesheet", "value": "spritesheet", "valueType": { - "$ref": "9989" + "$ref": "9993" }, "enumType": { - "$ref": "9988" + "$ref": "9992" }, "decorators": [] } @@ -134703,12 +134746,12 @@ "readOnly": false }, { - "$id": "9993", + "$id": "9997", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "9994", + "$id": "9998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134729,12 +134772,12 @@ 200 ], "bodyType": { - "$id": "9995", + "$id": "9999", "kind": "union", "name": "", "variantTypes": [ { - "$id": "9996", + "$id": "10000", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -134742,7 +134785,7 @@ "decorators": [] }, { - "$id": "9997", + "$id": "10001", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134787,13 +134830,13 @@ }, "parameters": [ { - "$id": "9998", + "$id": "10002", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "9999", + "$id": "10003", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134809,13 +134852,13 @@ "decorators": [] }, { - "$id": "10000", + "$id": "10004", "kind": "method", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$ref": "9988" + "$ref": "9992" }, "location": "Query", "isApiVersion": false, @@ -134827,12 +134870,12 @@ "decorators": [] }, { - "$id": "10001", + "$id": "10005", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "9994" + "$ref": "9998" }, "location": "Header", "isApiVersion": false, @@ -134846,7 +134889,7 @@ ], "response": { "type": { - "$ref": "9995" + "$ref": "9999" } }, "isOverride": false, @@ -134855,7 +134898,7 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent" }, { - "$id": "10002", + "$id": "10006", "kind": "basic", "name": "CreateVideoRemix", "accessibility": "public", @@ -134863,7 +134906,7 @@ "doc": "Create a video remix", "summary": "Remix video", "operation": { - "$id": "10003", + "$id": "10007", "name": "CreateVideoRemix", "resourceName": "OpenAI", "summary": "Remix video", @@ -134871,13 +134914,13 @@ "accessibility": "public", "parameters": [ { - "$id": "10004", + "$id": "10008", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10005", + "$id": "10009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -134895,7 +134938,7 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.video_id" }, { - "$id": "10006", + "$id": "10010", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -134911,7 +134954,7 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.contentType" }, { - "$id": "10007", + "$id": "10011", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -134927,12 +134970,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.accept" }, { - "$id": "10008", + "$id": "10012", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "10009", + "$id": "10013", "kind": "model", "name": "CreateVideoRemixBody", "namespace": "OpenAI", @@ -134943,18 +134986,18 @@ "decorators": [], "properties": [ { - "$id": "10010", + "$id": "10014", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Updated text prompt that directs the remix generation.", "type": { - "$id": "10011", + "$id": "10015", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "10012", + "$id": "10016", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135001,7 +135044,7 @@ 200 ], "bodyType": { - "$ref": "9883" + "$ref": "9887" }, "headers": [], "isErrorResponse": false, @@ -135024,13 +135067,13 @@ }, "parameters": [ { - "$id": "10013", + "$id": "10017", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "10014", + "$id": "10018", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -135046,7 +135089,7 @@ "decorators": [] }, { - "$id": "10015", + "$id": "10019", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -135063,12 +135106,12 @@ "decorators": [] }, { - "$id": "10016", + "$id": "10020", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "10009" + "$ref": "10013" }, "location": "Body", "isApiVersion": false, @@ -135080,7 +135123,7 @@ "decorators": [] }, { - "$id": "10017", + "$id": "10021", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -135099,7 +135142,7 @@ ], "response": { "type": { - "$ref": "9883" + "$ref": "9887" } }, "isOverride": false, @@ -135110,13 +135153,13 @@ ], "parameters": [ { - "$id": "10018", + "$id": "10022", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "10019", + "$id": "10023", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -135127,7 +135170,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "10020", + "$id": "10024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string"