diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index c31586ef1..0a02c91cc 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -1403,10 +1403,46 @@ public class BatchClient { public virtual Task CreateBatchAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual ClientResult GetBatch(string batchId, RequestOptions options); public virtual Task GetBatchAsync(string batchId, RequestOptions options); + public virtual CollectionResult GetBatches(BatchCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options); + public virtual AsyncCollectionResult GetBatchesAsync(BatchCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options); } [Experimental("OPENAI001")] + public class BatchCollectionOptions : IJsonModel, IPersistableModel { + public string AfterId { get; set; } + public int? PageSizeLimit { get; set; } + protected virtual BatchCollectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected virtual BatchCollectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] + public class BatchJob : IJsonModel, IPersistableModel { + public DateTimeOffset? CancelledAt { get; } + public DateTimeOffset? CancellingAt { get; } + public DateTimeOffset? CompletedAt { get; } + public string CompletionWindow { get; } + public DateTimeOffset CreatedAt { get; } + public string Endpoint { get; } + public string ErrorFileId { get; } + public DateTimeOffset? ExpiredAt { get; } + public DateTimeOffset? ExpiresAt { get; } + public DateTimeOffset? FailedAt { get; } + public DateTimeOffset? FinalizingAt { get; } + public string Id { get; } + public DateTimeOffset? InProgressAt { get; } + public string InputFileId { get; } + public IDictionary Metadata { get; } + public string Object { get; } + public string OutputFileId { get; } + protected virtual BatchJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + public static explicit operator BatchJob(ClientResult result); + protected virtual BatchJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + [Experimental("OPENAI001")] public class CreateBatchOperation : OperationResult { public string BatchId { get; } public override ContinuationToken? RehydrationToken { get; protected set; } diff --git a/api/OpenAI.netstandard2.0.cs b/api/OpenAI.netstandard2.0.cs index 94c748a43..6f5c1e0ba 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -1262,9 +1262,43 @@ public class BatchClient { public virtual Task CreateBatchAsync(BinaryContent content, bool waitUntilCompleted, RequestOptions options = null); public virtual ClientResult GetBatch(string batchId, RequestOptions options); public virtual Task GetBatchAsync(string batchId, RequestOptions options); + public virtual CollectionResult GetBatches(BatchCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options); + public virtual AsyncCollectionResult GetBatchesAsync(BatchCollectionOptions options = null, CancellationToken cancellationToken = default); public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options); } + public class BatchCollectionOptions : IJsonModel, IPersistableModel { + public string AfterId { get; set; } + public int? PageSizeLimit { get; set; } + protected virtual BatchCollectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + protected virtual BatchCollectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } + public class BatchJob : IJsonModel, IPersistableModel { + public DateTimeOffset? CancelledAt { get; } + public DateTimeOffset? CancellingAt { get; } + public DateTimeOffset? CompletedAt { get; } + public string CompletionWindow { get; } + public DateTimeOffset CreatedAt { get; } + public string Endpoint { get; } + public string ErrorFileId { get; } + public DateTimeOffset? ExpiredAt { get; } + public DateTimeOffset? ExpiresAt { get; } + public DateTimeOffset? FailedAt { get; } + public DateTimeOffset? FinalizingAt { get; } + public string Id { get; } + public DateTimeOffset? InProgressAt { get; } + public string InputFileId { get; } + public IDictionary Metadata { get; } + public string Object { get; } + public string OutputFileId { get; } + protected virtual BatchJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options); + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options); + public static explicit operator BatchJob(ClientResult result); + protected virtual BatchJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options); + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options); + } public class CreateBatchOperation : OperationResult { public string BatchId { get; } public override ContinuationToken? RehydrationToken { get; protected set; } diff --git a/codegen/generator/src/Visitors/PaginationVisitor.cs b/codegen/generator/src/Visitors/PaginationVisitor.cs index 27aa260a4..04298472d 100644 --- a/codegen/generator/src/Visitors/PaginationVisitor.cs +++ b/codegen/generator/src/Visitors/PaginationVisitor.cs @@ -47,6 +47,14 @@ public class PaginationVisitor : ScmLibraryVisitor "GetChatCompletionMessagesAsync", ("ChatCompletionMessageListDatum", "ChatCompletionMessageCollectionOptions", _paginationParamsToReplace) }, + { + "GetBatches", + ("BatchJob", "BatchCollectionOptions", _paginationParamsToReplace) + }, + { + "GetBatchesAsync", + ("BatchJob", "BatchCollectionOptions", _paginationParamsToReplace) + }, { "GetVectorStores", ("VectorStore", "VectorStoreCollectionOptions", _paginationParamsToReplace) diff --git a/specification/base/typespec/batch/models.tsp b/specification/base/typespec/batch/models.tsp index 6baca754d..904a90b95 100644 --- a/specification/base/typespec/batch/models.tsp +++ b/specification/base/typespec/batch/models.tsp @@ -176,9 +176,9 @@ model BatchRequestOutput { } model ListBatchesResponse { - data: Batch[]; + @pageItems data: Batch[]; first_id?: string; - last_id?: string; + @continuationToken last_id?: string; has_more: boolean; object: "list"; } diff --git a/specification/base/typespec/batch/operations.tsp b/specification/base/typespec/batch/operations.tsp index dfc7508da..9022a4d44 100644 --- a/specification/base/typespec/batch/operations.tsp +++ b/specification/base/typespec/batch/operations.tsp @@ -47,6 +47,7 @@ interface Batches { @operationId("listBatches") @tag("Batch") @summary("List your organization's batches.") + @list listBatches( @header accept: "application/json", @@ -55,7 +56,7 @@ interface Batches { * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your * subsequent call can include after=obj_foo in order to fetch the next page of the list. */ - @query after?: string, + @continuationToken @query after?: string, /** * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the diff --git a/specification/client/models/batch.models.tsp b/specification/client/models/batch.models.tsp new file mode 100644 index 000000000..4d666fee6 --- /dev/null +++ b/specification/client/models/batch.models.tsp @@ -0,0 +1,15 @@ +import "../../base/typespec/batch/main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +namespace OpenAI; + +@access(Access.public) +@usage(Usage.input) +model BatchCollectionOptions { + ...CollectionAfterQueryParameter, + ...CollectionLimitQueryParameter, +} + + diff --git a/specification/main.tsp b/specification/main.tsp index 7df9c0c9b..1a068150a 100644 --- a/specification/main.tsp +++ b/specification/main.tsp @@ -18,6 +18,7 @@ import "./client/videos.client.tsp"; import "./client/models/assistants.models.tsp"; import "./client/models/audio.models.tsp"; +import "./client/models/batch.models.tsp"; import "./client/models/chat.models.tsp"; import "./client/models/container.models.tsp"; import "./client/models/common.models.tsp"; diff --git a/src/Custom/Batch/BatchClient.Protocol.cs b/src/Custom/Batch/BatchClient.Protocol.cs index 21529eff8..a60d77554 100644 --- a/src/Custom/Batch/BatchClient.Protocol.cs +++ b/src/Custom/Batch/BatchClient.Protocol.cs @@ -6,8 +6,6 @@ namespace OpenAI.Batch; -[CodeGenSuppress("GetBatches", typeof(string), typeof(int?), typeof(RequestOptions))] -[CodeGenSuppress("GetBatchesAsync", typeof(string), typeof(int?), typeof(RequestOptions))] public partial class BatchClient { /// @@ -66,30 +64,4 @@ public virtual CreateBatchOperation CreateBatch(BinaryContent content, bool wait CreateBatchOperation operation = this.CreateCreateBatchOperation(batchId, status, response); return operation.WaitUntil(waitUntilCompleted, options); } - - /// - /// [Protocol Method] List your organization's batches. - /// - /// A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. - /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options) - { - return new AsyncBatchCollectionResult(this, Pipeline, options, limit, after); - } - - /// - /// [Protocol Method] List your organization's batches. - /// - /// A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list. - /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20. - /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options) - { - return new BatchCollectionResult(this, Pipeline, options, limit, after); - } } diff --git a/src/Custom/Batch/BatchClient.cs b/src/Custom/Batch/BatchClient.cs index 212708aac..65c3f9a3c 100644 --- a/src/Custom/Batch/BatchClient.cs +++ b/src/Custom/Batch/BatchClient.cs @@ -24,8 +24,6 @@ namespace OpenAI.Batch; [CodeGenSuppress("CancelBatchAsync", typeof(string), typeof(CancellationToken))] [CodeGenSuppress("CancelBatch", typeof(string), typeof(RequestOptions))] [CodeGenSuppress("CancelBatchAsync", typeof(string), typeof(RequestOptions))] -[CodeGenSuppress("GetBatches", typeof(string), typeof(int?), typeof(CancellationToken))] -[CodeGenSuppress("GetBatchesAsync", typeof(string), typeof(int?), typeof(CancellationToken))] public partial class BatchClient { // CUSTOM: Added as a convenience. diff --git a/src/Custom/Batch/BatchCollectionOptions.cs b/src/Custom/Batch/BatchCollectionOptions.cs new file mode 100644 index 000000000..fa0e85db3 --- /dev/null +++ b/src/Custom/Batch/BatchCollectionOptions.cs @@ -0,0 +1,4 @@ +namespace OpenAI.Batch; + +// CUSTOM: Use the correct namespace. +[CodeGenType("BatchCollectionOptions")] public partial class BatchCollectionOptions { } \ No newline at end of file diff --git a/src/Custom/Batch/GeneratorStubs.cs b/src/Custom/Batch/GeneratorStubs.cs new file mode 100644 index 000000000..a22131935 --- /dev/null +++ b/src/Custom/Batch/GeneratorStubs.cs @@ -0,0 +1,4 @@ +namespace OpenAI.Batch; + +[CodeGenType("Batch")] +public partial class BatchJob { } \ No newline at end of file diff --git a/src/Custom/Batch/Internal/GeneratorStubs.cs b/src/Custom/Batch/Internal/GeneratorStubs.cs index 233a1f056..2e4814c41 100644 --- a/src/Custom/Batch/Internal/GeneratorStubs.cs +++ b/src/Custom/Batch/Internal/GeneratorStubs.cs @@ -14,9 +14,6 @@ internal partial class InternalBatchErrors { } [CodeGenType("BatchErrorsObject")] internal readonly partial struct InternalBatchErrorsObject { } -[CodeGenType("Batch")] -internal partial class InternalBatchJob { } - [CodeGenType("BatchObject")] internal readonly partial struct InternalBatchObject { } diff --git a/src/Generated/BatchClient.cs b/src/Generated/BatchClient.cs index ee53fb236..b92ab8c49 100644 --- a/src/Generated/BatchClient.cs +++ b/src/Generated/BatchClient.cs @@ -6,6 +6,7 @@ using System.ClientModel; using System.ClientModel.Primitives; using System.Diagnostics.CodeAnalysis; +using System.Threading; using System.Threading.Tasks; using OpenAI; @@ -22,6 +23,26 @@ protected BatchClient() public ClientPipeline Pipeline { get; } + public virtual CollectionResult GetBatches(string after, int? limit, RequestOptions options) + { + return new BatchClientGetBatchesCollectionResult(this, after, limit, options); + } + + public virtual AsyncCollectionResult GetBatchesAsync(string after, int? limit, RequestOptions options) + { + return new BatchClientGetBatchesAsyncCollectionResult(this, after, limit, options); + } + + public virtual CollectionResult GetBatches(BatchCollectionOptions options = default, CancellationToken cancellationToken = default) + { + return new BatchClientGetBatchesCollectionResultOfT(this, options?.AfterId, options?.PageSizeLimit, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null); + } + + public virtual AsyncCollectionResult GetBatchesAsync(BatchCollectionOptions options = default, CancellationToken cancellationToken = default) + { + return new BatchClientGetBatchesAsyncCollectionResultOfT(this, options?.AfterId, options?.PageSizeLimit, cancellationToken.CanBeCanceled ? new RequestOptions { CancellationToken = cancellationToken } : null); + } + public virtual ClientResult GetBatch(string batchId, RequestOptions options) { Argument.AssertNotNullOrEmpty(batchId, nameof(batchId)); diff --git a/src/Generated/BatchClientGetBatchesAsyncCollectionResult.cs b/src/Generated/BatchClientGetBatchesAsyncCollectionResult.cs new file mode 100644 index 000000000..a41849c6e --- /dev/null +++ b/src/Generated/BatchClientGetBatchesAsyncCollectionResult.cs @@ -0,0 +1,61 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Collections.Generic; + +namespace OpenAI.Batch +{ + internal partial class BatchClientGetBatchesAsyncCollectionResult : AsyncCollectionResult + { + private readonly BatchClient _client; + private readonly string _after; + private readonly int? _limit; + private readonly RequestOptions _options; + + public BatchClientGetBatchesAsyncCollectionResult(BatchClient client, string after, int? limit, RequestOptions options) + { + _client = client; + _after = after; + _limit = limit; + _options = options; + } + + public override async IAsyncEnumerable GetRawPagesAsync() + { + PipelineMessage message = _client.CreateGetBatchesRequest(_after, _limit, _options); + string nextToken = null; + while (true) + { + ClientResult result = ClientResult.FromResponse(await _client.Pipeline.ProcessMessageAsync(message, _options).ConfigureAwait(false)); + yield return result; + + // Plugin customization: add hasMore assignment + bool hasMore = ((InternalListBatchesResponse)result).HasMore; + nextToken = ((InternalListBatchesResponse)result).LastId; + // Plugin customization: add hasMore == false check to pagination condition + if (nextToken == null || !hasMore) + { + yield break; + } + message = _client.CreateGetBatchesRequest(nextToken, _limit, _options); + } + } + + public override ContinuationToken GetContinuationToken(ClientResult page) + { + string nextPage = ((InternalListBatchesResponse)page).LastId; + if (nextPage != null) + { + return ContinuationToken.FromBytes(BinaryData.FromString(nextPage)); + } + else + { + return null; + } + } + } +} diff --git a/src/Generated/BatchClientGetBatchesAsyncCollectionResultOfT.cs b/src/Generated/BatchClientGetBatchesAsyncCollectionResultOfT.cs new file mode 100644 index 000000000..904a83887 --- /dev/null +++ b/src/Generated/BatchClientGetBatchesAsyncCollectionResultOfT.cs @@ -0,0 +1,71 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace OpenAI.Batch +{ + internal partial class BatchClientGetBatchesAsyncCollectionResultOfT : AsyncCollectionResult + { + private readonly BatchClient _client; + private readonly string _after; + private readonly int? _limit; + private readonly RequestOptions _options; + + public BatchClientGetBatchesAsyncCollectionResultOfT(BatchClient client, string after, int? limit, RequestOptions options) + { + _client = client; + _after = after; + _limit = limit; + _options = options; + } + + public override async IAsyncEnumerable GetRawPagesAsync() + { + PipelineMessage message = _client.CreateGetBatchesRequest(_after, _limit, _options); + string nextToken = null; + while (true) + { + ClientResult result = ClientResult.FromResponse(await _client.Pipeline.ProcessMessageAsync(message, _options).ConfigureAwait(false)); + yield return result; + + // Plugin customization: add hasMore assignment + bool hasMore = ((InternalListBatchesResponse)result).HasMore; + nextToken = ((InternalListBatchesResponse)result).LastId; + // Plugin customization: add hasMore == false check to pagination condition + if (nextToken == null || !hasMore) + { + yield break; + } + message = _client.CreateGetBatchesRequest(nextToken, _limit, _options); + } + } + + public override ContinuationToken GetContinuationToken(ClientResult page) + { + string nextPage = ((InternalListBatchesResponse)page).LastId; + if (nextPage != null) + { + return ContinuationToken.FromBytes(BinaryData.FromString(nextPage)); + } + else + { + return null; + } + } + + protected override async IAsyncEnumerable GetValuesFromPageAsync(ClientResult page) + { + foreach (BatchJob item in ((InternalListBatchesResponse)page).Data) + { + yield return item; + await Task.Yield(); + } + } + } +} diff --git a/src/Generated/BatchClientGetBatchesCollectionResult.cs b/src/Generated/BatchClientGetBatchesCollectionResult.cs new file mode 100644 index 000000000..b1da392a7 --- /dev/null +++ b/src/Generated/BatchClientGetBatchesCollectionResult.cs @@ -0,0 +1,61 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Collections.Generic; + +namespace OpenAI.Batch +{ + internal partial class BatchClientGetBatchesCollectionResult : CollectionResult + { + private readonly BatchClient _client; + private readonly string _after; + private readonly int? _limit; + private readonly RequestOptions _options; + + public BatchClientGetBatchesCollectionResult(BatchClient client, string after, int? limit, RequestOptions options) + { + _client = client; + _after = after; + _limit = limit; + _options = options; + } + + public override IEnumerable GetRawPages() + { + PipelineMessage message = _client.CreateGetBatchesRequest(_after, _limit, _options); + string nextToken = null; + while (true) + { + ClientResult result = ClientResult.FromResponse(_client.Pipeline.ProcessMessage(message, _options)); + yield return result; + + // Plugin customization: add hasMore assignment + bool hasMore = ((InternalListBatchesResponse)result).HasMore; + nextToken = ((InternalListBatchesResponse)result).LastId; + // Plugin customization: add hasMore == false check to pagination condition + if (nextToken == null || !hasMore) + { + yield break; + } + message = _client.CreateGetBatchesRequest(nextToken, _limit, _options); + } + } + + public override ContinuationToken GetContinuationToken(ClientResult page) + { + string nextPage = ((InternalListBatchesResponse)page).LastId; + if (nextPage != null) + { + return ContinuationToken.FromBytes(BinaryData.FromString(nextPage)); + } + else + { + return null; + } + } + } +} diff --git a/src/Generated/BatchClientGetBatchesCollectionResultOfT.cs b/src/Generated/BatchClientGetBatchesCollectionResultOfT.cs new file mode 100644 index 000000000..5dde93934 --- /dev/null +++ b/src/Generated/BatchClientGetBatchesCollectionResultOfT.cs @@ -0,0 +1,66 @@ +// + +#nullable disable + +using System; +using System.ClientModel; +using System.ClientModel.Primitives; +using System.Collections.Generic; + +namespace OpenAI.Batch +{ + internal partial class BatchClientGetBatchesCollectionResultOfT : CollectionResult + { + private readonly BatchClient _client; + private readonly string _after; + private readonly int? _limit; + private readonly RequestOptions _options; + + public BatchClientGetBatchesCollectionResultOfT(BatchClient client, string after, int? limit, RequestOptions options) + { + _client = client; + _after = after; + _limit = limit; + _options = options; + } + + public override IEnumerable GetRawPages() + { + PipelineMessage message = _client.CreateGetBatchesRequest(_after, _limit, _options); + string nextToken = null; + while (true) + { + ClientResult result = ClientResult.FromResponse(_client.Pipeline.ProcessMessage(message, _options)); + yield return result; + + // Plugin customization: add hasMore assignment + bool hasMore = ((InternalListBatchesResponse)result).HasMore; + nextToken = ((InternalListBatchesResponse)result).LastId; + // Plugin customization: add hasMore == false check to pagination condition + if (nextToken == null || !hasMore) + { + yield break; + } + message = _client.CreateGetBatchesRequest(nextToken, _limit, _options); + } + } + + public override ContinuationToken GetContinuationToken(ClientResult page) + { + string nextPage = ((InternalListBatchesResponse)page).LastId; + if (nextPage != null) + { + return ContinuationToken.FromBytes(BinaryData.FromString(nextPage)); + } + else + { + return null; + } + } + + protected override IEnumerable GetValuesFromPage(ClientResult page) + { + return ((InternalListBatchesResponse)page).Data; + } + } +} diff --git a/src/Generated/Models/Batch/BatchCollectionOptions.Serialization.cs b/src/Generated/Models/Batch/BatchCollectionOptions.Serialization.cs new file mode 100644 index 000000000..88e7cb09d --- /dev/null +++ b/src/Generated/Models/Batch/BatchCollectionOptions.Serialization.cs @@ -0,0 +1,114 @@ +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using OpenAI; + +namespace OpenAI.Batch +{ + public partial class BatchCollectionOptions : IJsonModel + { + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(BatchCollectionOptions)} does not support writing '{format}' format."); + } + // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + if (ModelSerializationExtensions.IsSentinelValue(item.Value)) + { + continue; + } + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + BatchCollectionOptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + protected virtual BatchCollectionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(BatchCollectionOptions)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeBatchCollectionOptions(document.RootElement, options); + } + + internal static BatchCollectionOptions DeserializeBatchCollectionOptions(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string afterId = default; + int? pageSizeLimit = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + // Plugin customization: remove options.Format != "W" check + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + return new BatchCollectionOptions(afterId, pageSizeLimit, additionalBinaryDataProperties); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, OpenAIContext.Default); + default: + throw new FormatException($"The model {nameof(BatchCollectionOptions)} does not support writing '{options.Format}' format."); + } + } + + BatchCollectionOptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + protected virtual BatchCollectionOptions PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data)) + { + return DeserializeBatchCollectionOptions(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(BatchCollectionOptions)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/src/Generated/Models/Batch/BatchCollectionOptions.cs b/src/Generated/Models/Batch/BatchCollectionOptions.cs new file mode 100644 index 000000000..77cf7d87a --- /dev/null +++ b/src/Generated/Models/Batch/BatchCollectionOptions.cs @@ -0,0 +1,37 @@ +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; + +namespace OpenAI.Batch +{ + [Experimental("OPENAI001")] + public partial class BatchCollectionOptions + { + private protected IDictionary _additionalBinaryDataProperties; + + public BatchCollectionOptions() + { + } + + internal BatchCollectionOptions(string afterId, int? pageSizeLimit, IDictionary additionalBinaryDataProperties) + { + AfterId = afterId; + PageSizeLimit = pageSizeLimit; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + public string AfterId { get; set; } + + public int? PageSizeLimit { get; set; } + + internal IDictionary SerializedAdditionalRawData + { + get => _additionalBinaryDataProperties; + set => _additionalBinaryDataProperties = value; + } + } +} diff --git a/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs b/src/Generated/Models/Batch/BatchJob.Serialization.cs similarity index 87% rename from src/Generated/Models/Batch/InternalBatchJob.Serialization.cs rename to src/Generated/Models/Batch/BatchJob.Serialization.cs index 7a87b100f..20a318522 100644 --- a/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs +++ b/src/Generated/Models/Batch/BatchJob.Serialization.cs @@ -11,13 +11,13 @@ namespace OpenAI.Batch { - internal partial class InternalBatchJob : IJsonModel + public partial class BatchJob : IJsonModel { - internal InternalBatchJob() : this(null, null, null, null, null, null, default, null, null, default, default, default, default, default, default, default, default, default, null, null, null) + internal BatchJob() : this(null, null, null, null, null, null, default, null, null, default, default, default, default, default, default, default, default, default, null, null, null) { } - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -26,10 +26,10 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriter protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(InternalBatchJob)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(BatchJob)} does not support writing '{format}' format."); } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { @@ -171,20 +171,20 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - InternalBatchJob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + BatchJob IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); - protected virtual InternalBatchJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + protected virtual BatchJob JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(InternalBatchJob)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(BatchJob)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeInternalBatchJob(document.RootElement, options); + return DeserializeBatchJob(document.RootElement, options); } - internal static InternalBatchJob DeserializeInternalBatchJob(JsonElement element, ModelReaderWriterOptions options) + internal static BatchJob DeserializeBatchJob(JsonElement element, ModelReaderWriterOptions options) { if (element.ValueKind == JsonValueKind.Null) { @@ -373,7 +373,7 @@ internal static InternalBatchJob DeserializeInternalBatchJob(JsonElement element // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalBatchJob( + return new BatchJob( id, @object, endpoint, @@ -397,44 +397,44 @@ internal static InternalBatchJob DeserializeInternalBatchJob(JsonElement element additionalBinaryDataProperties); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options, OpenAIContext.Default); default: - throw new FormatException($"The model {nameof(InternalBatchJob)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(BatchJob)} does not support writing '{options.Format}' format."); } } - InternalBatchJob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + BatchJob IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); - protected virtual InternalBatchJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + protected virtual BatchJob PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) { - string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": using (JsonDocument document = JsonDocument.Parse(data)) { - return DeserializeInternalBatchJob(document.RootElement, options); + return DeserializeBatchJob(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(InternalBatchJob)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(BatchJob)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - public static explicit operator InternalBatchJob(ClientResult result) + public static explicit operator BatchJob(ClientResult result) { using PipelineResponse response = result.GetRawResponse(); using JsonDocument document = JsonDocument.Parse(response.Content); - return DeserializeInternalBatchJob(document.RootElement, ModelSerializationExtensions.WireOptions); + return DeserializeBatchJob(document.RootElement, ModelSerializationExtensions.WireOptions); } } } diff --git a/src/Generated/Models/Batch/InternalBatchJob.cs b/src/Generated/Models/Batch/BatchJob.cs similarity index 75% rename from src/Generated/Models/Batch/InternalBatchJob.cs rename to src/Generated/Models/Batch/BatchJob.cs index 8a827b463..f5cce2f74 100644 --- a/src/Generated/Models/Batch/InternalBatchJob.cs +++ b/src/Generated/Models/Batch/BatchJob.cs @@ -4,15 +4,17 @@ using System; using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; using OpenAI; namespace OpenAI.Batch { - internal partial class InternalBatchJob + [Experimental("OPENAI001")] + public partial class BatchJob { private protected IDictionary _additionalBinaryDataProperties; - internal InternalBatchJob(string id, string endpoint, string inputFileId, string completionWindow, InternalBatchStatus status, DateTimeOffset createdAt, IDictionary metadata) + internal BatchJob(string id, string endpoint, string inputFileId, string completionWindow, InternalBatchStatus status, DateTimeOffset createdAt, IDictionary metadata) { // Plugin customization: ensure initialization of collections Id = id; @@ -24,7 +26,7 @@ internal InternalBatchJob(string id, string endpoint, string inputFileId, string Metadata = metadata ?? new ChangeTrackingDictionary(); } - internal InternalBatchJob(string id, string @object, string endpoint, InternalBatchErrors errors, string inputFileId, string completionWindow, InternalBatchStatus status, string outputFileId, string errorFileId, DateTimeOffset createdAt, DateTimeOffset? inProgressAt, DateTimeOffset? expiresAt, DateTimeOffset? finalizingAt, DateTimeOffset? completedAt, DateTimeOffset? failedAt, DateTimeOffset? expiredAt, DateTimeOffset? cancellingAt, DateTimeOffset? cancelledAt, InternalBatchRequestCounts requestCounts, IDictionary metadata, IDictionary additionalBinaryDataProperties) + internal BatchJob(string id, string @object, string endpoint, InternalBatchErrors errors, string inputFileId, string completionWindow, InternalBatchStatus status, string outputFileId, string errorFileId, DateTimeOffset createdAt, DateTimeOffset? inProgressAt, DateTimeOffset? expiresAt, DateTimeOffset? finalizingAt, DateTimeOffset? completedAt, DateTimeOffset? failedAt, DateTimeOffset? expiredAt, DateTimeOffset? cancellingAt, DateTimeOffset? cancelledAt, InternalBatchRequestCounts requestCounts, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; diff --git a/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs index 4bc86c18f..eef35fd98 100644 --- a/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs +++ b/src/Generated/Models/Batch/InternalListBatchesResponse.Serialization.cs @@ -35,7 +35,7 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { writer.WritePropertyName("data"u8); writer.WriteStartArray(); - foreach (InternalBatchJob item in Data) + foreach (BatchJob item in Data) { writer.WriteObjectValue(item, options); } @@ -102,7 +102,7 @@ internal static InternalListBatchesResponse DeserializeInternalListBatchesRespon { return null; } - IList data = default; + IList data = default; string firstId = default; string lastId = default; bool hasMore = default; @@ -112,10 +112,10 @@ internal static InternalListBatchesResponse DeserializeInternalListBatchesRespon { if (prop.NameEquals("data"u8)) { - List array = new List(); + List array = new List(); foreach (var item in prop.Value.EnumerateArray()) { - array.Add(InternalBatchJob.DeserializeInternalBatchJob(item, options)); + array.Add(BatchJob.DeserializeBatchJob(item, options)); } data = array; continue; diff --git a/src/Generated/Models/Batch/InternalListBatchesResponse.cs b/src/Generated/Models/Batch/InternalListBatchesResponse.cs index 21748f7e7..5582497df 100644 --- a/src/Generated/Models/Batch/InternalListBatchesResponse.cs +++ b/src/Generated/Models/Batch/InternalListBatchesResponse.cs @@ -13,16 +13,16 @@ internal partial class InternalListBatchesResponse { private protected IDictionary _additionalBinaryDataProperties; - internal InternalListBatchesResponse(IEnumerable data, bool hasMore) + internal InternalListBatchesResponse(IEnumerable data, bool hasMore) { Data = data.ToList(); HasMore = hasMore; } - internal InternalListBatchesResponse(IList data, string firstId, string lastId, bool hasMore, string @object, IDictionary additionalBinaryDataProperties) + internal InternalListBatchesResponse(IList data, string firstId, string lastId, bool hasMore, string @object, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Data = data ?? new ChangeTrackingList(); + Data = data ?? new ChangeTrackingList(); FirstId = firstId; LastId = lastId; HasMore = hasMore; @@ -30,7 +30,7 @@ internal InternalListBatchesResponse(IList data, string firstI _additionalBinaryDataProperties = additionalBinaryDataProperties; } - internal IList Data { get; } + public IList Data { get; } public string FirstId { get; } diff --git a/src/Generated/Models/OpenAIContext.cs b/src/Generated/Models/OpenAIContext.cs index b29e0f019..12b176dd5 100644 --- a/src/Generated/Models/OpenAIContext.cs +++ b/src/Generated/Models/OpenAIContext.cs @@ -38,6 +38,8 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(AudioTranslation))] [ModelReaderWriterBuildable(typeof(AudioTranslationOptions))] [ModelReaderWriterBuildable(typeof(AutomaticCodeInterpreterToolContainerConfiguration))] + [ModelReaderWriterBuildable(typeof(BatchCollectionOptions))] + [ModelReaderWriterBuildable(typeof(BatchJob))] [ModelReaderWriterBuildable(typeof(ChatAudioOptions))] [ModelReaderWriterBuildable(typeof(ChatCompletion))] [ModelReaderWriterBuildable(typeof(ChatCompletionCollectionOptions))] @@ -168,7 +170,6 @@ namespace OpenAI [ModelReaderWriterBuildable(typeof(InternalAutoChunkingStrategyRequestParam))] [ModelReaderWriterBuildable(typeof(InternalBatchError))] [ModelReaderWriterBuildable(typeof(InternalBatchErrors))] - [ModelReaderWriterBuildable(typeof(InternalBatchJob))] [ModelReaderWriterBuildable(typeof(InternalBatchRequestCounts))] [ModelReaderWriterBuildable(typeof(InternalBatchRequestInput))] [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutput))] diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index 43e0e0e1e..4dd3a3147 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -7,6 +7,7 @@ using System.Linq; using OpenAI.Assistants; using OpenAI.Audio; +using OpenAI.Batch; using OpenAI.Chat; using OpenAI.Containers; using OpenAI.Embeddings; @@ -1288,6 +1289,11 @@ public static AudioTranscription AudioTranscription(string language = default, T additionalBinaryDataProperties: null); } + public static BatchCollectionOptions BatchCollectionOptions(string afterId = default, int? pageSizeLimit = default) + { + return new BatchCollectionOptions(afterId, pageSizeLimit, additionalBinaryDataProperties: null); + } + public static ChatCompletionCollectionOptions ChatCompletionCollectionOptions(string afterId = default, int? pageSizeLimit = default, ChatCompletionCollectionOrder? order = default, IDictionary metadata = default, string model = default) { metadata ??= new ChangeTrackingDictionary(); diff --git a/tests/Batch/BatchTests.cs b/tests/Batch/BatchTests.cs index 60c038e0d..420f709a1 100644 --- a/tests/Batch/BatchTests.cs +++ b/tests/Batch/BatchTests.cs @@ -6,7 +6,9 @@ using System; using System.ClientModel; using System.ClientModel.Primitives; +using System.Collections.Generic; using System.IO; +using System.Linq; using System.Text.Json; using System.Threading.Tasks; using static OpenAI.Tests.TestHelpers; @@ -14,9 +16,12 @@ namespace OpenAI.Tests.Batch; [Category("Batch")] +[TestFixture(true)] +[TestFixture(false)] public class BatchTests : OpenAIRecordedTestBase { private BatchClient GetTestClient() => GetProxiedOpenAIClient(TestScenario.Batch); + private static readonly DateTimeOffset s_2024 = new(2024, 01, 01, 0, 0, 0, TimeSpan.Zero); public BatchTests(bool isAsync) : base(isAsync) { @@ -38,14 +43,12 @@ public async Task ListBatchesProtocol() Assert.That(dataElement.GetArrayLength(), Is.GreaterThan(0)); - long unixTime2024 = (new DateTimeOffset(2024, 01, 01, 0, 0, 0, TimeSpan.Zero)).ToUnixTimeSeconds(); - foreach (JsonElement batchElement in dataElement.EnumerateArray()) { JsonElement createdAtElement = batchElement.GetProperty("created_at"); long createdAt = createdAtElement.GetInt64(); - Assert.That(createdAt, Is.GreaterThan(unixTime2024)); + Assert.That(createdAt, Is.GreaterThan(s_2024.ToUnixTimeSeconds())); } pageCount++; } @@ -53,6 +56,59 @@ public async Task ListBatchesProtocol() Assert.That(pageCount, Is.GreaterThanOrEqualTo(1)); } + [RecordedTest] + public async Task ListBatchesAsync_WithOptions_PageSizeLimitAndItems() + { + BatchClient client = GetTestClient(); + BatchCollectionOptions options = new() + { + PageSizeLimit = 2, + }; + + int itemCount = await ValidateSomeJobsAsync(client, options, maxItems: 3); + Assert.That(itemCount, Is.GreaterThan(0)); + + int pageCount = await ValidatePageSizesAsync(client, options, maxPages: 2, maxPageSize: 2); + Assert.That(pageCount, Is.GreaterThan(0)); + } + + [RecordedTest] + public async Task ListBatchesAsync_WithOptions_AfterIdStartsFromNextPage() + { + BatchClient client = GetTestClient(); + + // First fetch: get the first page and capture ids + last_id + BatchCollectionOptions firstOptions = new() + { + PageSizeLimit = 2, + }; + (string afterId, HashSet firstPageIds) = await GetFirstPageCursorAndIdsAsync(client, firstOptions); + Assert.That(afterId, Is.Not.Null.And.Not.Empty); + Assert.That(firstPageIds.Count, Is.GreaterThan(0)); + + // Second fetch: start after the last id from the first page + BatchCollectionOptions secondOptions = new() + { + AfterId = afterId, + PageSizeLimit = 2, + }; + await AssertNoOverlapWithFirstPageAsync(client, secondOptions, firstPageIds); + } + + [RecordedTest] + public void ListBatchesAsync_HonorsCancellationToken() + { + BatchClient client = GetTestClient(); + var cts = new System.Threading.CancellationTokenSource(); + cts.Cancel(); + + BatchCollectionOptions options = new() { PageSizeLimit = 1 }; + + var collection = client.GetBatchesAsync(options, cts.Token); + var enumerator = collection.GetRawPagesAsync().GetAsyncEnumerator(); + Assert.ThrowsAsync(async () => await enumerator.MoveNextAsync().AsTask()); + } + [RecordedTest] public async Task CreateGetAndCancelBatchProtocol() { @@ -94,10 +150,8 @@ public async Task CreateGetAndCancelBatchProtocol() string status = statusElement.GetString(); string testMetadataKey = testMetadataKeyElement.GetString(); - long unixTime2024 = (new DateTimeOffset(2024, 01, 01, 0, 0, 0, TimeSpan.Zero)).ToUnixTimeSeconds(); - Assert.That(id, Is.Not.Null.And.Not.Empty); - Assert.That(createdAt, Is.GreaterThan(unixTime2024)); + Assert.That(createdAt, Is.GreaterThan(s_2024.ToUnixTimeSeconds())); Assert.That(status, Is.EqualTo("validating")); Assert.That(testMetadataKey, Is.EqualTo("test metadata value")); @@ -149,7 +203,8 @@ public async Task CanRehydrateBatchOperation(bool useBatchId) { rehydratedOperation = await CreateBatchOperation.RehydrateAsync(client, batchOperation.BatchId); } - else { + else + { // Simulate rehydration of the operation BinaryData rehydrationBytes = batchOperation.RehydrationToken.ToBytes(); ContinuationToken rehydrationToken = ContinuationToken.FromBytes(rehydrationBytes); @@ -172,10 +227,8 @@ static bool Validate(CreateBatchOperation operation) string status = statusElement.GetString(); string testMetadataKey = testMetadataKeyElement.GetString(); - long unixTime2024 = (new DateTimeOffset(2024, 01, 01, 0, 0, 0, TimeSpan.Zero)).ToUnixTimeSeconds(); - Assert.That(id, Is.Not.Null.And.Not.Empty); - Assert.That(createdAt, Is.GreaterThan(unixTime2024)); + Assert.That(createdAt, Is.GreaterThan(s_2024.ToUnixTimeSeconds())); Assert.That(status, Is.EqualTo("validating")); Assert.That(testMetadataKey, Is.EqualTo("test metadata value")); @@ -197,4 +250,84 @@ static bool Validate(CreateBatchOperation operation) Assert.That(rehydratedOperationJson.RootElement.GetProperty("created_at").GetInt64(), Is.EqualTo(originalOperationJson.RootElement.GetProperty("created_at").GetInt64())); Assert.That(rehydratedOperationJson.RootElement.GetProperty("status").GetString(), Is.EqualTo(originalOperationJson.RootElement.GetProperty("status").GetString())); } + + private async Task ValidateSomeJobsAsync(BatchClient client, BatchCollectionOptions options, int maxItems) + { + int itemCount = 0; + AsyncCollectionResult collection = client.GetBatchesAsync(options); + await foreach (BatchJob job in collection) + { + AssertBasicJobFields(job); + itemCount++; + if (itemCount >= maxItems) break; + } + return itemCount; + } + + private async Task ValidatePageSizesAsync(BatchClient client, BatchCollectionOptions options, int maxPages, int maxPageSize) + { + int pageCount = 0; + + AsyncCollectionResult collection = client.GetBatchesAsync(options); + await foreach (ClientResult page in collection.GetRawPagesAsync()) + { + using JsonDocument doc = JsonDocument.Parse(page.GetRawResponse().Content); + JsonElement data = doc.RootElement.GetProperty("data"); + Assert.That(data.GetArrayLength(), Is.LessThanOrEqualTo(maxPageSize)); + pageCount++; + if (pageCount >= maxPages) break; + } + + return pageCount; + } + + private async Task<(string afterId, HashSet firstPageIds)> GetFirstPageCursorAndIdsAsync(BatchClient client, BatchCollectionOptions options) + { + ClientResult firstPageResult = null; + + AsyncCollectionResult firstCollection = client.GetBatchesAsync(options); + await foreach (ClientResult page in firstCollection.GetRawPagesAsync()) + { + firstPageResult = page; + break; + } + + Assert.That(firstPageResult, Is.Not.Null); + + using JsonDocument firstDoc = JsonDocument.Parse(firstPageResult.GetRawResponse().Content); + JsonElement firstRoot = firstDoc.RootElement; + JsonElement firstData = firstRoot.GetProperty("data"); + string afterId = firstRoot.TryGetProperty("last_id", out var lastIdProp) ? lastIdProp.GetString() : null; + var firstPageIds = firstData.EnumerateArray().Select(e => e.GetProperty("id").GetString()).ToHashSet(); + + return (afterId, firstPageIds); + } + + private async Task AssertNoOverlapWithFirstPageAsync(BatchClient client, BatchCollectionOptions options, HashSet firstPageIds) + { + ClientResult secondPageResult = null; + + AsyncCollectionResult secondCollection = client.GetBatchesAsync(options); + await foreach (ClientResult page in secondCollection.GetRawPagesAsync()) + { + secondPageResult = page; + break; + } + + Assert.That(secondPageResult, Is.Not.Null); + + using JsonDocument secondDoc = JsonDocument.Parse(secondPageResult.GetRawResponse().Content); + JsonElement secondData = secondDoc.RootElement.GetProperty("data"); + foreach (var item in secondData.EnumerateArray()) + { + string id = item.GetProperty("id").GetString(); + Assert.That(firstPageIds.Contains(id), Is.False, "Items after the provided cursor should not repeat the first page items."); + } + } + + private static void AssertBasicJobFields(BatchJob job) + { + Assert.That(job.Id, Is.Not.Null.And.Not.Empty); + Assert.That(job.CreatedAt, Is.GreaterThan(s_2024)); + } } \ No newline at end of file diff --git a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False).json b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False).json index a3fa01fb0..98781c413 100644 --- a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False).json +++ b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False).json @@ -6,40 +6,53 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"LB_df9nG3C8PF2hKGK1a=lU1eG8MCbizTczKhWDv5B=cwa8p5DC3gY6dYkMeZ8u0y1hRJx\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"gAmiSrhc65BG6KcHEhVjbuV5zTonsC__zDrx1FxRAon9ZjTn4yhejLcEfpMIIFirptWP9z\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS1MQl9kZjluRzNDOFBGMmhLR0sxYT1sVTFlRzhNQ2JpelRjektoV0R2NUI9Y3dhOHA1REMzZ1k2ZFlrTWVaOHUweTFoUkp4DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS1MQl9kZjluRzNDOFBGMmhLR0sxYT1sVTFlRzhNQ2JpelRjektoV0R2NUI9Y3dhOHA1REMzZ1k2ZFlrTWVaOHUweTFoUkp4DQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLUxCX2RmOW5HM0M4UEYyaEtHSzFhPWxVMWVHOE1DYml6VGN6S2hXRHY1Qj1jd2E4cDVEQzNnWTZkWWtNZVo4dTB5MWhSSngtLQ0K", + "RequestBody": [ + "--gAmiSrhc65BG6KcHEhVjbuV5zTonsC__zDrx1FxRAon9ZjTn4yhejLcEfpMIIFirptWP9z\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--gAmiSrhc65BG6KcHEhVjbuV5zTonsC__zDrx1FxRAon9ZjTn4yhejLcEfpMIIFirptWP9z\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--gAmiSrhc65BG6KcHEhVjbuV5zTonsC__zDrx1FxRAon9ZjTn4yhejLcEfpMIIFirptWP9z--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191dfac43935e-SEA", + "CF-RAY": "995487ac9c896bdd-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:14 GMT", + "Date": "Mon, 27 Oct 2025 19:16:49 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "270", + "openai-processing-ms": "315", "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": "280", + "x-envoy-upstream-service-time": "327", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-H5RwjrNyjK9SRqHVyqmUJs", + "id": "file-NUKUTbm5g2HzBc6eztYyHh", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038354, - "expires_at": 1760630354, + "bytes": 232, + "created_at": 1761592608, + "expires_at": 1764184608, "status": "processed", "status_details": null } @@ -52,10 +65,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-H5RwjrNyjK9SRqHVyqmUJs", + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -66,35 +79,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191e33f17935e-SEA", + "CF-RAY": "995487af1f376bdd-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:15 GMT", + "Date": "Mon, 27 Oct 2025 19:16:49 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "683", + "openai-processing-ms": "218", "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": "687", + "x-envoy-upstream-service-time": "222", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98952a46c8190ab1012c13500f548", + "id": "batch_68ffc52151448190afaff0bd92164896", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-H5RwjrNyjK9SRqHVyqmUJs", + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038354, + "created_at": 1761592609, "in_progress_at": null, - "expires_at": 1758124754, + "expires_at": 1761679009, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -123,47 +137,48 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c98952a46c8190ab1012c13500f548", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc52151448190afaff0bd92164896", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191e81b3b935e-SEA", + "CF-RAY": "995487b1999e6bdd-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:15 GMT", + "Date": "Mon, 27 Oct 2025 19:16:49 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "51", + "openai-processing-ms": "28", "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": "54", + "x-envoy-upstream-service-time": "31", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98952a46c8190ab1012c13500f548", + "id": "batch_68ffc52151448190afaff0bd92164896", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-H5RwjrNyjK9SRqHVyqmUJs", + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038354, + "created_at": 1761592609, "in_progress_at": null, - "expires_at": 1758124754, + "expires_at": 1761679009, "finalizing_at": null, "completed_at": null, "failed_at": null, diff --git a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False)Async.json b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False)Async.json index d08fccf46..fc724a53a 100644 --- a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False)Async.json +++ b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(False)Async.json @@ -6,40 +6,53 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"d6FC6n9TDyotavIpkVaqTAXtw3Bv21ufPBh_jbFAlxkPY5gWgo0Y=kKUu2oWmU5y48RoKO\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"RhbbuOT94eT_myXnsOW23p2HbuuGUmcFj5xgucO5CW5K3XauNqVtOznJMP=2u__B4q7nQR\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS1kNkZDNm45VER5b3Rhdklwa1ZhcVRBWHR3M0J2MjF1ZlBCaF9qYkZBbHhrUFk1Z1dnbzBZPWtLVXUyb1dtVTV5NDhSb0tPDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS1kNkZDNm45VER5b3Rhdklwa1ZhcVRBWHR3M0J2MjF1ZlBCaF9qYkZBbHhrUFk1Z1dnbzBZPWtLVXUyb1dtVTV5NDhSb0tPDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLWQ2RkM2bjlURHlvdGF2SXBrVmFxVEFYdHczQnYyMXVmUEJoX2piRkFseGtQWTVnV2dvMFk9a0tVdTJvV21VNXk0OFJvS08tLQ0K", + "RequestBody": [ + "--RhbbuOT94eT_myXnsOW23p2HbuuGUmcFj5xgucO5CW5K3XauNqVtOznJMP=2u__B4q7nQR\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--RhbbuOT94eT_myXnsOW23p2HbuuGUmcFj5xgucO5CW5K3XauNqVtOznJMP=2u__B4q7nQR\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--RhbbuOT94eT_myXnsOW23p2HbuuGUmcFj5xgucO5CW5K3XauNqVtOznJMP=2u__B4q7nQR--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e3dd40935e-SEA", + "CF-RAY": "995486ef1a4d473e-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:36 GMT", + "Date": "Mon, 27 Oct 2025 19:16:18 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "235", + "openai-processing-ms": "401", "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": "248", + "x-envoy-upstream-service-time": "415", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-6joEqFvezeVTXvGtwD7GfB", + "id": "file-USXeivEfatETkgCf5wDjCF", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038436, - "expires_at": 1760630436, + "bytes": 232, + "created_at": 1761592578, + "expires_at": 1764184578, "status": "processed", "status_details": null } @@ -52,10 +65,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-6joEqFvezeVTXvGtwD7GfB", + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -66,35 +79,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e64854935e-SEA", + "CF-RAY": "995486f25d5a473e-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:37 GMT", + "Date": "Mon, 27 Oct 2025 19:16:19 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "132", + "openai-processing-ms": "778", "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": "135", + "x-envoy-upstream-service-time": "781", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a4ec74819089285ff12f52a5a0", + "id": "batch_68ffc503138c8190a5feae51d273996d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-6joEqFvezeVTXvGtwD7GfB", + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038436, + "created_at": 1761592579, "in_progress_at": null, - "expires_at": 1758124836, + "expires_at": 1761678979, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -123,47 +137,48 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c989a4ec74819089285ff12f52a5a0", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc503138c8190a5feae51d273996d", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e7b9ed935e-SEA", + "CF-RAY": "995486f82ae3473e-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:37 GMT", + "Date": "Mon, 27 Oct 2025 19:16:20 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "28", + "openai-processing-ms": "26", "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": "30", + "x-envoy-upstream-service-time": "29", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a4ec74819089285ff12f52a5a0", + "id": "batch_68ffc503138c8190a5feae51d273996d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-6joEqFvezeVTXvGtwD7GfB", + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038436, + "created_at": 1761592579, "in_progress_at": null, - "expires_at": 1758124836, + "expires_at": 1761678979, "finalizing_at": null, "completed_at": null, "failed_at": null, diff --git a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True).json b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True).json index 2644a1113..1a20d24ef 100644 --- a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True).json +++ b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True).json @@ -6,23 +6,36 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"GD20KRSFcSTpcGQZE70Cn8k=q6xWLHP6Wq8lSVQFdSCmqPNJpS5GjcOvcmwXu6l0XSkPTm\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"Sk4xGIs63EqmwjH6b_Q7ABOsZDgya7ZKeG2cDmQyise1hGYV8Zr_lUwZ89W52=p0OypnM6\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS1HRDIwS1JTRmNTVHBjR1FaRTcwQ244az1xNnhXTEhQNldxOGxTVlFGZFNDbXFQTkpwUzVHamNPdmNtd1h1NmwwWFNrUFRtDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS1HRDIwS1JTRmNTVHBjR1FaRTcwQ244az1xNnhXTEhQNldxOGxTVlFGZFNDbXFQTkpwUzVHamNPdmNtd1h1NmwwWFNrUFRtDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLUdEMjBLUlNGY1NUcGNHUVpFNzBDbjhrPXE2eFdMSFA2V3E4bFNWUUZkU0NtcVBOSnBTNUdqY092Y213WHU2bDBYU2tQVG0tLQ0K", + "RequestBody": [ + "--Sk4xGIs63EqmwjH6b_Q7ABOsZDgya7ZKeG2cDmQyise1hGYV8Zr_lUwZ89W52=p0OypnM6\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--Sk4xGIs63EqmwjH6b_Q7ABOsZDgya7ZKeG2cDmQyise1hGYV8Zr_lUwZ89W52=p0OypnM6\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--Sk4xGIs63EqmwjH6b_Q7ABOsZDgya7ZKeG2cDmQyise1hGYV8Zr_lUwZ89W52=p0OypnM6--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191d1181b935e-SEA", + "CF-RAY": "995487a68e926bdd-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:12 GMT", + "Date": "Mon, 27 Oct 2025 19:16:48 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "457", + "openai-processing-ms": "276", "openai-project": "Sanitized", "openai-version": "2020-10-01", "Server": "cloudflare", @@ -32,18 +45,18 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", "X-Content-Type-Options": "nosniff", - "x-envoy-upstream-service-time": "469", + "x-envoy-upstream-service-time": "285", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-5LnkpbK3swA4qYHcociSTc", + "id": "file-Q5eDmL1DyKe7S2v7qVpugz", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038351, - "expires_at": 1760630351, + "bytes": 232, + "created_at": 1761592607, + "expires_at": 1764184607, "status": "processed", "status_details": null } @@ -56,10 +69,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-5LnkpbK3swA4qYHcociSTc", + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -70,35 +83,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191d73d3b935e-SEA", + "CF-RAY": "995487a908dc6bdd-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:13 GMT", + "Date": "Mon, 27 Oct 2025 19:16:48 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "612", + "openai-processing-ms": "199", "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": "617", + "x-envoy-upstream-service-time": "204", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98950e6f08190a06bec15c50563e7", + "id": "batch_68ffc52039d08190aac1dd7fdc35826f", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-5LnkpbK3swA4qYHcociSTc", + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038352, + "created_at": 1761592608, "in_progress_at": null, - "expires_at": 1758124752, + "expires_at": 1761679008, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -127,47 +141,48 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c98950e6f08190a06bec15c50563e7", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc52039d08190aac1dd7fdc35826f", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191dd1a48935e-SEA", + "CF-RAY": "995487aadaeb6bdd-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:13 GMT", + "Date": "Mon, 27 Oct 2025 19:16:48 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "61", + "openai-processing-ms": "70", "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": "67", + "x-envoy-upstream-service-time": "75", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98950e6f08190a06bec15c50563e7", + "id": "batch_68ffc52039d08190aac1dd7fdc35826f", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-5LnkpbK3swA4qYHcociSTc", + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038352, + "created_at": 1761592608, "in_progress_at": null, - "expires_at": 1758124752, + "expires_at": 1761679008, "finalizing_at": null, "completed_at": null, "failed_at": null, diff --git a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True)Async.json b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True)Async.json index 82a6ff4fe..1e427d2ea 100644 --- a/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True)Async.json +++ b/tests/SessionRecords/BatchTests/CanRehydrateBatchOperation(True)Async.json @@ -6,40 +6,57 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"ynjMxQz4kdY7PE3YcdNnoDV_OzGnKPFA0NsqOMDduOWaKZQ5W=Rgr6LMTlseuf=IocccGJ\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"mhU1Cc1B_Rp5bAcYbhqxLe8hubNKWSa5I36kybXS3w8RiTcTcH1Cb4nIAjX9puP2OoLLBI\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS15bmpNeFF6NGtkWTdQRTNZY2RObm9EVl9PekduS1BGQTBOc3FPTURkdU9XYUtaUTVXPVJncjZMTVRsc2V1Zj1Jb2NjY0dKDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS15bmpNeFF6NGtkWTdQRTNZY2RObm9EVl9PekduS1BGQTBOc3FPTURkdU9XYUtaUTVXPVJncjZMTVRsc2V1Zj1Jb2NjY0dKDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLXluak14UXo0a2RZN1BFM1ljZE5ub0RWX096R25LUEZBME5zcU9NRGR1T1dhS1pRNVc9UmdyNkxNVGxzZXVmPUlvY2NjR0otLQ0K", + "RequestBody": [ + "--mhU1Cc1B_Rp5bAcYbhqxLe8hubNKWSa5I36kybXS3w8RiTcTcH1Cb4nIAjX9puP2OoLLBI\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--mhU1Cc1B_Rp5bAcYbhqxLe8hubNKWSa5I36kybXS3w8RiTcTcH1Cb4nIAjX9puP2OoLLBI\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--mhU1Cc1B_Rp5bAcYbhqxLe8hubNKWSa5I36kybXS3w8RiTcTcH1Cb4nIAjX9puP2OoLLBI--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193de1ec3935e-SEA", + "CF-RAY": "995486ddaeb5473e-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:35 GMT", + "Date": "Mon, 27 Oct 2025 19:16:16 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "293", + "openai-processing-ms": "747", "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": "302", + "x-envoy-upstream-service-time": "770", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-7f8dGJagAVkD7ghsitSoUW", + "id": "file-GLDuh3rgbq9PfZUCc6mXzC", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038435, - "expires_at": 1760630435, + "bytes": 232, + "created_at": 1761592576, + "expires_at": 1764184576, "status": "processed", "status_details": null } @@ -52,10 +69,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-7f8dGJagAVkD7ghsitSoUW", + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -66,35 +83,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e0b9b7935e-SEA", + "CF-RAY": "995486e73978473e-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:36 GMT", + "Date": "Mon, 27 Oct 2025 19:16:18 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "154", + "openai-processing-ms": "599", "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": "158", + "x-envoy-upstream-service-time": "602", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a40e7c8190a09ab45bcec6e4c3", + "id": "batch_68ffc5019e20819088144b8c8b5f179d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-7f8dGJagAVkD7ghsitSoUW", + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038436, + "created_at": 1761592577, "in_progress_at": null, - "expires_at": 1758124836, + "expires_at": 1761678977, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -123,47 +141,48 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c989a40e7c8190a09ab45bcec6e4c3", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc5019e20819088144b8c8b5f179d", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e29bbe935e-SEA", + "CF-RAY": "995486ed88ea473e-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:36 GMT", + "Date": "Mon, 27 Oct 2025 19:16:18 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "44", + "openai-processing-ms": "37", "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": "47", + "x-envoy-upstream-service-time": "41", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a40e7c8190a09ab45bcec6e4c3", + "id": "batch_68ffc5019e20819088144b8c8b5f179d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-7f8dGJagAVkD7ghsitSoUW", + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038436, + "created_at": 1761592577, "in_progress_at": null, - "expires_at": 1758124836, + "expires_at": 1761678977, "finalizing_at": null, "completed_at": null, "failed_at": null, diff --git a/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocol.json b/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocol.json index c6d116f19..3ff78fea7 100644 --- a/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocol.json +++ b/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocol.json @@ -6,40 +6,53 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"gdqT3p1rk3FPFtfBEWVLmBaNjJWZxrEDoE=ahBysVygR2sRgu9k1d6y=_bd17YI7yFbp5s\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"gowD7XX0fOgIWIxLDLWCf6Zd80OEHckNuZIW0l_YKaoc_oA5e9iEfg6sxVieJr9iQHy6Q8\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS1nZHFUM3AxcmszRlBGdGZCRVdWTG1CYU5qSldaeHJFRG9FPWFoQnlzVnlnUjJzUmd1OWsxZDZ5PV9iZDE3WUk3eUZicDVzDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS1nZHFUM3AxcmszRlBGdGZCRVdWTG1CYU5qSldaeHJFRG9FPWFoQnlzVnlnUjJzUmd1OWsxZDZ5PV9iZDE3WUk3eUZicDVzDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLWdkcVQzcDFyazNGUEZ0ZkJFV1ZMbUJhTmpKV1p4ckVEb0U9YWhCeXNWeWdSMnNSZ3U5azFkNnk9X2JkMTdZSTd5RmJwNXMtLQ0K", + "RequestBody": [ + "--gowD7XX0fOgIWIxLDLWCf6Zd80OEHckNuZIW0l_YKaoc_oA5e9iEfg6sxVieJr9iQHy6Q8\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--gowD7XX0fOgIWIxLDLWCf6Zd80OEHckNuZIW0l_YKaoc_oA5e9iEfg6sxVieJr9iQHy6Q8\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--gowD7XX0fOgIWIxLDLWCf6Zd80OEHckNuZIW0l_YKaoc_oA5e9iEfg6sxVieJr9iQHy6Q8--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191e98c3b935e-SEA", + "CF-RAY": "995487b2aabb6bdd-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:15 GMT", + "Date": "Mon, 27 Oct 2025 19:16:50 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "242", + "openai-processing-ms": "317", "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": "250", + "x-envoy-upstream-service-time": "330", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-WJYmYqF6zQkm16bpNgo5yH", + "id": "file-XNoHtdrTFYUhLn12HU9ZjC", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038355, - "expires_at": 1760630355, + "bytes": 232, + "created_at": 1761592609, + "expires_at": 1764184609, "status": "processed", "status_details": null } @@ -52,10 +65,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-WJYmYqF6zQkm16bpNgo5yH", + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -66,35 +79,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191ebde38935e-SEA", + "CF-RAY": "995487b54d7b6bdd-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:16 GMT", + "Date": "Mon, 27 Oct 2025 19:16:50 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "186", + "openai-processing-ms": "199", "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": "190", + "x-envoy-upstream-service-time": "201", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98953e66c81909d850866ce61a5a0", + "id": "batch_68ffc5222a488190a1534578165afb5d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-WJYmYqF6zQkm16bpNgo5yH", + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038355, + "created_at": 1761592610, "in_progress_at": null, - "expires_at": 1758124755, + "expires_at": 1761679010, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -123,53 +137,54 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c98953e66c81909d850866ce61a5a0/cancel", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc5222a488190a1534578165afb5d/cancel", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "0", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980191edbfde935e-SEA", + "CF-RAY": "995487b71f466bdd-DFW", "Connection": "keep-alive", - "Content-Length": "701", + "Content-Length": "714", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 15:59:16 GMT", + "Date": "Mon, 27 Oct 2025 19:16:50 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "264", + "openai-processing-ms": "95", "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": "268", + "x-envoy-upstream-service-time": "98", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c98953e66c81909d850866ce61a5a0", + "id": "batch_68ffc5222a488190a1534578165afb5d", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-WJYmYqF6zQkm16bpNgo5yH", + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", "completion_window": "24h", "status": "cancelling", "output_file_id": null, "error_file_id": null, - "created_at": 1758038355, + "created_at": 1761592610, "in_progress_at": null, - "expires_at": 1758124755, + "expires_at": 1761679010, "finalizing_at": null, "completed_at": null, "failed_at": null, "expired_at": null, - "cancelling_at": 1758038356, + "cancelling_at": 1761592610, "cancelled_at": null, "request_counts": { "total": 0, diff --git a/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocolAsync.json b/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocolAsync.json index 1ccd054e0..f42088274 100644 --- a/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocolAsync.json +++ b/tests/SessionRecords/BatchTests/CreateGetAndCancelBatchProtocolAsync.json @@ -6,40 +6,53 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "660", - "Content-Type": "multipart/form-data; boundary=\"PCwh5BVfO17GBxPZ9KAtwsSwXmgwxBMU=m3B7TSF1u5d53I_XzgkB7maQgQ88SSAc7vrJB\"", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "Content-Length": "659", + "Content-Type": "multipart/form-data; boundary=\"2t_UKGY8Hczalv0tp0I2AraQ0DkIT2lhfGnRWIQtmR=763ScR55EjOeUZrn69V9m7iB6LW\"", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, - "RequestBody": "LS1QQ3doNUJWZk8xN0dCeFBaOUtBdHdzU3dYbWd3eEJNVT1tM0I3VFNGMXU1ZDUzSV9YemdrQjdtYVFnUTg4U1NBYzd2ckpCDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ZmlsZTsgZmlsZW5hbWU9dGVzdC1iYXRjaC1maWxlOyBmaWxlbmFtZSo9dXRmLTgnJ3Rlc3QtYmF0Y2gtZmlsZQ0KDQp7ImN1c3RvbV9pZCI6ICJyZXF1ZXN0LTEiLCAibWV0aG9kIjogIlBPU1QiLCAidXJsIjogIi92MS9jaGF0L2NvbXBsZXRpb25zIiwgImJvZHkiOiB7Im1vZGVsIjogImdwdC00by1taW5pIiwgIm1lc3NhZ2VzIjogW3sicm9sZSI6ICJzeXN0ZW0iLCAiY29udGVudCI6ICJZb3UgYXJlIGEgaGVscGZ1bCBhc3Npc3RhbnQuIn0sIHsicm9sZSI6ICJ1c2VyIiwgImNvbnRlbnQiOiAiV2hhdCBpcyAyKzI/In1dfX0NCg0KLS1QQ3doNUJWZk8xN0dCeFBaOUtBdHdzU3dYbWd3eEJNVT1tM0I3VFNGMXU1ZDUzSV9YemdrQjdtYVFnUTg4U1NBYzd2ckpCDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9dXRmLTgNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1wdXJwb3NlDQoNCmJhdGNoDQotLVBDd2g1QlZmTzE3R0J4UFo5S0F0d3NTd1htZ3d4Qk1VPW0zQjdUU0YxdTVkNTNJX1h6Z2tCN21hUWdRODhTU0FjN3ZySkItLQ0K", + "RequestBody": [ + "--2t_UKGY8Hczalv0tp0I2AraQ0DkIT2lhfGnRWIQtmR=763ScR55EjOeUZrn69V9m7iB6LW\r\n", + "Content-Disposition: form-data; name=file; filename=test-batch-file; filename*=utf-8''test-batch-file\r\n", + "\r\n", + "b64:eyJjdXN0b21faWQiOiAicmVxdWVzdC0xIiwgIm1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICIvdjEvY2hhdC9jb21wbGV0aW9ucyIsICJib2R5IjogeyJtb2RlbCI6ICJncHQtNG8tbWluaSIsICJtZXNzYWdlcyI6IFt7InJvbGUiOiAic3lzdGVtIiwgImNvbnRlbnQiOiAiWW91IGFyZSBhIGhlbHBmdWwgYXNzaXN0YW50LiJ9LCB7InJvbGUiOiAidXNlciIsICJjb250ZW50IjogIldoYXQgaXMgMisyPyJ9XX19Cg==", + "\r\n", + "--2t_UKGY8Hczalv0tp0I2AraQ0DkIT2lhfGnRWIQtmR=763ScR55EjOeUZrn69V9m7iB6LW\r\n", + "Content-Type: text/plain; charset=utf-8\r\n", + "Content-Disposition: form-data; name=purpose\r\n", + "\r\n", + "batch", + "\r\n", + "--2t_UKGY8Hczalv0tp0I2AraQ0DkIT2lhfGnRWIQtmR=763ScR55EjOeUZrn69V9m7iB6LW--\r\n" + ], "StatusCode": 200, "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193e9bc40935e-SEA", + "CF-RAY": "995486fa3cb3473e-DFW", "Connection": "keep-alive", "Content-Length": "240", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:37 GMT", + "Date": "Mon, 27 Oct 2025 19:16:20 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "260", + "openai-processing-ms": "589", "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": "271", + "x-envoy-upstream-service-time": "600", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { "object": "file", - "id": "file-UDG1mSiZptTYJv2vw2gqni", + "id": "file-UhJJA9PC5RLmaAr67Z9V1b", "purpose": "batch", "filename": "test-batch-file", - "bytes": 233, - "created_at": 1758038437, - "expires_at": 1760630437, + "bytes": 232, + "created_at": 1761592580, + "expires_at": 1764184580, "status": "processed", "status_details": null } @@ -52,10 +65,10 @@ "Authorization": "Sanitized", "Content-Length": "160", "Content-Type": "application/json", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": { - "input_file_id": "file-UDG1mSiZptTYJv2vw2gqni", + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", "endpoint": "/v1/chat/completions", "completion_window": "24h", "metadata": { @@ -66,35 +79,36 @@ "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193ecdfbd935e-SEA", + "CF-RAY": "995486fea904473e-DFW", "Connection": "keep-alive", - "Content-Length": "869", + "Content-Length": "886", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:38 GMT", + "Date": "Mon, 27 Oct 2025 19:16:21 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "196", + "openai-processing-ms": "162", "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": "200", + "x-envoy-upstream-service-time": "165", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a5f9248190b3dc45d5972e8f38", + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-UDG1mSiZptTYJv2vw2gqni", + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", "completion_window": "24h", "status": "validating", "output_file_id": null, "error_file_id": null, - "created_at": 1758038437, + "created_at": 1761592580, "in_progress_at": null, - "expires_at": 1758124837, + "expires_at": 1761678980, "finalizing_at": null, "completed_at": null, "failed_at": null, @@ -123,53 +137,54 @@ } }, { - "RequestUri": "https://api.openai.com/v1/batches/batch_68c989a5f9248190b3dc45d5972e8f38/cancel", + "RequestUri": "https://api.openai.com/v1/batches/batch_68ffc504f298819087e3b6ceebbf8c01/cancel", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "0", - "User-Agent": "OpenAI/2.4.0 (.NET 9.0.9; Microsoft Windows 10.0.26100)" + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Alt-Svc": "h3=\":443\"", "cf-cache-status": "DYNAMIC", - "CF-RAY": "980193eea9b8935e-SEA", + "CF-RAY": "995487007a84473e-DFW", "Connection": "keep-alive", - "Content-Length": "701", + "Content-Length": "714", "Content-Type": "application/json", - "Date": "Tue, 16 Sep 2025 16:00:38 GMT", + "Date": "Mon, 27 Oct 2025 19:16:21 GMT", "openai-organization": "Sanitized", - "openai-processing-ms": "328", + "openai-processing-ms": "413", "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": "336", + "x-envoy-upstream-service-time": "417", "x-openai-proxy-wasm": "v0.1", "X-Request-ID": "Sanitized" }, "ResponseBody": { - "id": "batch_68c989a5f9248190b3dc45d5972e8f38", + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", "object": "batch", "endpoint": "/v1/chat/completions", + "model": null, "errors": null, - "input_file_id": "file-UDG1mSiZptTYJv2vw2gqni", + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", "completion_window": "24h", "status": "cancelling", "output_file_id": null, "error_file_id": null, - "created_at": 1758038437, + "created_at": 1761592580, "in_progress_at": null, - "expires_at": 1758124837, + "expires_at": 1761678980, "finalizing_at": null, "completed_at": null, "failed_at": null, "expired_at": null, - "cancelling_at": 1758038438, + "cancelling_at": 1761592581, "cancelled_at": null, "request_counts": { "total": 0, diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationToken.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationToken.json new file mode 100644 index 000000000..40b8930b1 --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationToken.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationTokenAsync.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationTokenAsync.json new file mode 100644 index 000000000..40b8930b1 --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_HonorsCancellationTokenAsync.json @@ -0,0 +1,6 @@ +{ + "Entries": [], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPage.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPage.json new file mode 100644 index 000000000..b052d0d96 --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPage.json @@ -0,0 +1,247 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549dcc9a4d6b7c-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:31:55 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "376", + "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": "379", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5222a488190a1534578165afb5d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592610, + "in_progress_at": null, + "expires_at": 1761679010, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592610, + "cancelled_at": 1761593215, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc52151448190afaff0bd92164896", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592609, + "in_progress_at": 1761592610, + "expires_at": 1761679009, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5222a488190a1534578165afb5d", + "last_id": "batch_68ffc52151448190afaff0bd92164896", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc52151448190afaff0bd92164896&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549dcfdd5b6b7c-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:31:55 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "229", + "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": "233", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592608, + "in_progress_at": 1761592609, + "expires_at": 1761679008, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": 1761593187, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "last_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "has_more": true + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPageAsync.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPageAsync.json new file mode 100644 index 000000000..6a0152450 --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_AfterIdStartsFromNextPageAsync.json @@ -0,0 +1,243 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "995487041e47473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2271", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:22 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "404", + "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": "408", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelling", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc503138c8190a5feae51d273996d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592579, + "in_progress_at": null, + "expires_at": 1761678979, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "last_id": "batch_68ffc503138c8190a5feae51d273996d", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc503138c8190a5feae51d273996d&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "9954870789f8473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2276", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:22 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "267", + "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": "270", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5019e20819088144b8c8b5f179d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592577, + "in_progress_at": null, + "expires_at": 1761678977, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68d9d3ce694081909d4371748dd7761b", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-KSMcqbwJYq6hNQ3wGKFF2Z", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1759105998, + "in_progress_at": null, + "expires_at": 1759192398, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1759105998, + "cancelled_at": 1759106604, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5019e20819088144b8c8b5f179d", + "last_id": "batch_68d9d3ce694081909d4371748dd7761b", + "has_more": true + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItems.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItems.json new file mode 100644 index 000000000..70898124b --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItems.json @@ -0,0 +1,483 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549a56db19f078-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:29:33 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "242", + "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": "248", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5222a488190a1534578165afb5d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592610, + "in_progress_at": null, + "expires_at": 1761679010, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592610, + "cancelled_at": 1761593215, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc52151448190afaff0bd92164896", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592609, + "in_progress_at": 1761592610, + "expires_at": 1761679009, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5222a488190a1534578165afb5d", + "last_id": "batch_68ffc52151448190afaff0bd92164896", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc52151448190afaff0bd92164896&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549a58fa04f078-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:29:33 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "124", + "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": "128", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592608, + "in_progress_at": 1761592609, + "expires_at": 1761679008, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": 1761593187, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "last_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549a5a1d6cf078-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:29:33 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "127", + "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": "130", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5222a488190a1534578165afb5d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-XNoHtdrTFYUhLn12HU9ZjC", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592610, + "in_progress_at": null, + "expires_at": 1761679010, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592610, + "cancelled_at": 1761593215, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc52151448190afaff0bd92164896", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-NUKUTbm5g2HzBc6eztYyHh", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592609, + "in_progress_at": 1761592610, + "expires_at": 1761679009, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5222a488190a1534578165afb5d", + "last_id": "batch_68ffc52151448190afaff0bd92164896", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc52151448190afaff0bd92164896&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "99549a5b38e7f078-DFW", + "Connection": "keep-alive", + "Content-Length": "2303", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:29:34 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "115", + "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": "118", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": "gpt-4o-mini-2024-07-18", + "errors": null, + "input_file_id": "file-Q5eDmL1DyKe7S2v7qVpugz", + "completion_window": "24h", + "status": "in_progress", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592608, + "in_progress_at": 1761592609, + "expires_at": 1761679008, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 1, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": 1761593187, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc52039d08190aac1dd7fdc35826f", + "last_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "has_more": true + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItemsAsync.json b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItemsAsync.json new file mode 100644 index 000000000..7ef410b10 --- /dev/null +++ b/tests/SessionRecords/BatchTests/ListBatchesAsync_WithOptions_PageSizeLimitAndItemsAsync.json @@ -0,0 +1,479 @@ +{ + "Entries": [ + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "9954870a6cb6473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2271", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:22 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "121", + "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": "124", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelling", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc503138c8190a5feae51d273996d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592579, + "in_progress_at": null, + "expires_at": 1761678979, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "last_id": "batch_68ffc503138c8190a5feae51d273996d", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc503138c8190a5feae51d273996d&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "9954870b8db4473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2276", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:23 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "324", + "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": "328", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5019e20819088144b8c8b5f179d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592577, + "in_progress_at": null, + "expires_at": 1761678977, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68d9d3ce694081909d4371748dd7761b", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-KSMcqbwJYq6hNQ3wGKFF2Z", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1759105998, + "in_progress_at": null, + "expires_at": 1759192398, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1759105998, + "cancelled_at": 1759106604, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5019e20819088144b8c8b5f179d", + "last_id": "batch_68d9d3ce694081909d4371748dd7761b", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "9954870df807473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2271", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:23 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "118", + "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": "121", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-UhJJA9PC5RLmaAr67Z9V1b", + "completion_window": "24h", + "status": "cancelling", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592580, + "in_progress_at": null, + "expires_at": 1761678980, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1761592581, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68ffc503138c8190a5feae51d273996d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-USXeivEfatETkgCf5wDjCF", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592579, + "in_progress_at": null, + "expires_at": 1761678979, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc504f298819087e3b6ceebbf8c01", + "last_id": "batch_68ffc503138c8190a5feae51d273996d", + "has_more": true + } + }, + { + "RequestUri": "https://api.openai.com/v1/batches?after=batch_68ffc503138c8190a5feae51d273996d&limit=2", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "OpenAI/2.5.0 (.NET 9.0.10; Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:42:08 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8132)" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Alt-Svc": "h3=\":443\"", + "cf-cache-status": "DYNAMIC", + "CF-RAY": "9954870f495e473e-DFW", + "Connection": "keep-alive", + "Content-Length": "2276", + "Content-Type": "application/json", + "Date": "Mon, 27 Oct 2025 19:16:23 GMT", + "openai-organization": "Sanitized", + "openai-processing-ms": "331", + "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": "337", + "x-openai-proxy-wasm": "v0.1", + "X-Request-ID": "Sanitized" + }, + "ResponseBody": { + "object": "list", + "data": [ + { + "id": "batch_68ffc5019e20819088144b8c8b5f179d", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-GLDuh3rgbq9PfZUCc6mXzC", + "completion_window": "24h", + "status": "validating", + "output_file_id": null, + "error_file_id": null, + "created_at": 1761592577, + "in_progress_at": null, + "expires_at": 1761678977, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": null, + "cancelled_at": null, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + }, + { + "id": "batch_68d9d3ce694081909d4371748dd7761b", + "object": "batch", + "endpoint": "/v1/chat/completions", + "model": null, + "errors": null, + "input_file_id": "file-KSMcqbwJYq6hNQ3wGKFF2Z", + "completion_window": "24h", + "status": "cancelled", + "output_file_id": null, + "error_file_id": null, + "created_at": 1759105998, + "in_progress_at": null, + "expires_at": 1759192398, + "finalizing_at": null, + "completed_at": null, + "failed_at": null, + "expired_at": null, + "cancelling_at": 1759105998, + "cancelled_at": 1759106604, + "request_counts": { + "total": 0, + "completed": 0, + "failed": 0 + }, + "usage": { + "input_tokens": 0, + "output_tokens": 0, + "total_tokens": 0, + "input_tokens_details": { + "cached_tokens": 0 + }, + "output_tokens_details": { + "reasoning_tokens": 0 + } + }, + "metadata": { + "testMetadataKey": "test metadata value" + } + } + ], + "first_id": "batch_68ffc5019e20819088144b8c8b5f179d", + "last_id": "batch_68d9d3ce694081909d4371748dd7761b", + "has_more": true + } + } + ], + "Variables": { + "OPEN-API-KEY": "api-key" + } +} diff --git a/tspCodeModel.json b/tspCodeModel.json index b31d56b00..2b526920e 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -105117,6 +105117,60 @@ { "$id": "8024", "kind": "model", + "name": "BatchCollectionOptions", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions", + "access": "public", + "usage": "Input", + "decorators": [], + "properties": [ + { + "$id": "8025", + "kind": "property", + "name": "afterId", + "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": "8026", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions.afterId", + "serializationOptions": {}, + "isHttpMetadata": true + }, + { + "$id": "8027", + "kind": "property", + "name": "pageSizeLimit", + "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": "8028", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions.pageSizeLimit", + "serializationOptions": {}, + "isHttpMetadata": true + } + ] + }, + { + "$id": "8029", + "kind": "model", "name": "ChatCompletionCollectionOptions", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions", @@ -105130,12 +105184,12 @@ ], "properties": [ { - "$id": "8025", + "$id": "8030", "kind": "property", "name": "afterId", "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": "8026", + "$id": "8031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105151,12 +105205,12 @@ "isHttpMetadata": true }, { - "$id": "8027", + "$id": "8032", "kind": "property", "name": "pageSizeLimit", "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": "8028", + "$id": "8033", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105172,7 +105226,7 @@ "isHttpMetadata": true }, { - "$id": "8029", + "$id": "8034", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -105189,7 +105243,7 @@ "isHttpMetadata": true }, { - "$id": "8030", + "$id": "8035", "kind": "property", "name": "metadata", "type": { @@ -105205,11 +105259,11 @@ "isHttpMetadata": true }, { - "$id": "8031", + "$id": "8036", "kind": "property", "name": "model", "type": { - "$id": "8032", + "$id": "8037", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105227,7 +105281,7 @@ ] }, { - "$id": "8033", + "$id": "8038", "kind": "model", "name": "ChatCompletionMessageCollectionOptions", "namespace": "OpenAI", @@ -105242,12 +105296,12 @@ ], "properties": [ { - "$id": "8034", + "$id": "8039", "kind": "property", "name": "afterId", "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": "8035", + "$id": "8040", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105263,12 +105317,12 @@ "isHttpMetadata": true }, { - "$id": "8036", + "$id": "8041", "kind": "property", "name": "pageSizeLimit", "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": "8037", + "$id": "8042", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105284,7 +105338,7 @@ "isHttpMetadata": true }, { - "$id": "8038", + "$id": "8043", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -105303,7 +105357,7 @@ ] }, { - "$id": "8039", + "$id": "8044", "kind": "model", "name": "ContainerCollectionOptions", "namespace": "OpenAI", @@ -105313,12 +105367,12 @@ "decorators": [], "properties": [ { - "$id": "8040", + "$id": "8045", "kind": "property", "name": "afterId", "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": "8041", + "$id": "8046", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105334,12 +105388,12 @@ "isHttpMetadata": true }, { - "$id": "8042", + "$id": "8047", "kind": "property", "name": "pageSizeLimit", "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": "8043", + "$id": "8048", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105355,7 +105409,7 @@ "isHttpMetadata": true }, { - "$id": "8044", + "$id": "8049", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -105374,7 +105428,7 @@ ] }, { - "$id": "8045", + "$id": "8050", "kind": "model", "name": "ContainerFileCollectionOptions", "namespace": "OpenAI", @@ -105384,12 +105438,12 @@ "decorators": [], "properties": [ { - "$id": "8046", + "$id": "8051", "kind": "property", "name": "afterId", "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": "8047", + "$id": "8052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105405,12 +105459,12 @@ "isHttpMetadata": true }, { - "$id": "8048", + "$id": "8053", "kind": "property", "name": "pageSizeLimit", "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": "8049", + "$id": "8054", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105426,7 +105480,7 @@ "isHttpMetadata": true }, { - "$id": "8050", + "$id": "8055", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -105445,7 +105499,7 @@ ] }, { - "$id": "8051", + "$id": "8056", "kind": "model", "name": "DotNetChatResponseFormat", "namespace": "OpenAI", @@ -105459,7 +105513,7 @@ } ], "discriminatorProperty": { - "$id": "8052", + "$id": "8057", "kind": "property", "name": "type", "type": { @@ -105476,12 +105530,12 @@ }, "properties": [ { - "$ref": "8052" + "$ref": "8057" } ], "discriminatedSubtypes": { "text": { - "$id": "8053", + "$id": "8058", "kind": "model", "name": "DotNetChatResponseFormatText", "namespace": "OpenAI", @@ -105496,11 +105550,11 @@ } ], "baseModel": { - "$ref": "8051" + "$ref": "8056" }, "properties": [ { - "$id": "8054", + "$id": "8059", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", @@ -105519,7 +105573,7 @@ ] }, "json_object": { - "$id": "8055", + "$id": "8060", "kind": "model", "name": "DotNetChatResponseFormatJsonObject", "namespace": "OpenAI", @@ -105534,11 +105588,11 @@ } ], "baseModel": { - "$ref": "8051" + "$ref": "8056" }, "properties": [ { - "$id": "8056", + "$id": "8061", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", @@ -105557,7 +105611,7 @@ ] }, "json_schema": { - "$id": "8057", + "$id": "8062", "kind": "model", "name": "DotNetChatResponseFormatJsonSchema", "namespace": "OpenAI", @@ -105572,11 +105626,11 @@ } ], "baseModel": { - "$ref": "8051" + "$ref": "8056" }, "properties": [ { - "$id": "8058", + "$id": "8063", "kind": "property", "name": "type", "type": { @@ -105592,11 +105646,11 @@ "isHttpMetadata": false }, { - "$id": "8059", + "$id": "8064", "kind": "property", "name": "json_schema", "type": { - "$id": "8060", + "$id": "8065", "kind": "model", "name": "DotNetChatResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -105605,11 +105659,11 @@ "decorators": [], "properties": [ { - "$id": "8061", + "$id": "8066", "kind": "property", "name": "description", "type": { - "$id": "8062", + "$id": "8067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105625,11 +105679,11 @@ "isHttpMetadata": false }, { - "$id": "8063", + "$id": "8068", "kind": "property", "name": "name", "type": { - "$id": "8064", + "$id": "8069", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105645,11 +105699,11 @@ "isHttpMetadata": false }, { - "$id": "8065", + "$id": "8070", "kind": "property", "name": "schema", "type": { - "$id": "8066", + "$id": "8071", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -105665,14 +105719,14 @@ "isHttpMetadata": false }, { - "$id": "8067", + "$id": "8072", "kind": "property", "name": "strict", "type": { - "$id": "8068", + "$id": "8073", "kind": "nullable", "type": { - "$id": "8069", + "$id": "8074", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -105705,19 +105759,19 @@ } }, { - "$ref": "8053" + "$ref": "8058" }, { - "$ref": "8055" + "$ref": "8060" }, { - "$ref": "8057" + "$ref": "8062" }, { - "$ref": "8060" + "$ref": "8065" }, { - "$id": "8070", + "$id": "8075", "kind": "model", "name": "DotNetAssistantResponseFormat", "namespace": "OpenAI", @@ -105726,7 +105780,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "8071", + "$id": "8076", "kind": "property", "name": "type", "type": { @@ -105743,12 +105797,12 @@ }, "properties": [ { - "$ref": "8071" + "$ref": "8076" } ], "discriminatedSubtypes": { "text": { - "$id": "8072", + "$id": "8077", "kind": "model", "name": "DotNetAssistantResponseFormatText", "namespace": "OpenAI", @@ -105758,11 +105812,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "8070" + "$ref": "8075" }, "properties": [ { - "$id": "8073", + "$id": "8078", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `text`.", @@ -105781,7 +105835,7 @@ ] }, "json_object": { - "$id": "8074", + "$id": "8079", "kind": "model", "name": "DotNetAssistantResponseFormatJsonObject", "namespace": "OpenAI", @@ -105791,11 +105845,11 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "8070" + "$ref": "8075" }, "properties": [ { - "$id": "8075", + "$id": "8080", "kind": "property", "name": "type", "doc": "The type of response format being defined. Always `json_object`.", @@ -105814,7 +105868,7 @@ ] }, "json_schema": { - "$id": "8076", + "$id": "8081", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchema", "namespace": "OpenAI", @@ -105824,11 +105878,11 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "8070" + "$ref": "8075" }, "properties": [ { - "$id": "8077", + "$id": "8082", "kind": "property", "name": "type", "type": { @@ -105844,11 +105898,11 @@ "isHttpMetadata": false }, { - "$id": "8078", + "$id": "8083", "kind": "property", "name": "json_schema", "type": { - "$id": "8079", + "$id": "8084", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -105857,11 +105911,11 @@ "decorators": [], "properties": [ { - "$id": "8080", + "$id": "8085", "kind": "property", "name": "description", "type": { - "$id": "8081", + "$id": "8086", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105877,11 +105931,11 @@ "isHttpMetadata": false }, { - "$id": "8082", + "$id": "8087", "kind": "property", "name": "name", "type": { - "$id": "8083", + "$id": "8088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105897,11 +105951,11 @@ "isHttpMetadata": false }, { - "$id": "8084", + "$id": "8089", "kind": "property", "name": "schema", "type": { - "$id": "8085", + "$id": "8090", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -105917,14 +105971,14 @@ "isHttpMetadata": false }, { - "$id": "8086", + "$id": "8091", "kind": "property", "name": "strict", "type": { - "$id": "8087", + "$id": "8092", "kind": "nullable", "type": { - "$id": "8088", + "$id": "8093", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -105957,19 +106011,19 @@ } }, { - "$ref": "8072" + "$ref": "8077" }, { - "$ref": "8074" + "$ref": "8079" }, { - "$ref": "8076" + "$ref": "8081" }, { - "$ref": "8079" + "$ref": "8084" }, { - "$id": "8089", + "$id": "8094", "kind": "model", "name": "DotNetAudioLogProbsProperties", "namespace": "OpenAI", @@ -105979,12 +106033,12 @@ "decorators": [], "properties": [ { - "$id": "8090", + "$id": "8095", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8091", + "$id": "8096", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106000,12 +106054,12 @@ "isHttpMetadata": false }, { - "$id": "8092", + "$id": "8097", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8093", + "$id": "8098", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -106021,7 +106075,7 @@ "isHttpMetadata": false }, { - "$id": "8094", + "$id": "8099", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", @@ -106040,7 +106094,7 @@ ] }, { - "$id": "8095", + "$id": "8100", "kind": "model", "name": "DotNetRealtimeLogProbsProperties", "namespace": "OpenAI", @@ -106050,12 +106104,12 @@ "decorators": [], "properties": [ { - "$id": "8096", + "$id": "8101", "kind": "property", "name": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "8097", + "$id": "8102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106071,12 +106125,12 @@ "isHttpMetadata": false }, { - "$id": "8098", + "$id": "8103", "kind": "property", "name": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "8099", + "$id": "8104", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -106092,7 +106146,7 @@ "isHttpMetadata": false }, { - "$id": "8100", + "$id": "8105", "kind": "property", "name": "bytes", "doc": "The bytes that were used to generate the log probability.", @@ -106111,7 +106165,7 @@ ] }, { - "$id": "8101", + "$id": "8106", "kind": "model", "name": "ResponseItemCollectionOptions", "namespace": "OpenAI", @@ -106126,12 +106180,12 @@ ], "properties": [ { - "$id": "8102", + "$id": "8107", "kind": "property", "name": "afterId", "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": "8103", + "$id": "8108", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106147,12 +106201,12 @@ "isHttpMetadata": true }, { - "$id": "8104", + "$id": "8109", "kind": "property", "name": "beforeId", "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, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8105", + "$id": "8110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106168,12 +106222,12 @@ "isHttpMetadata": true }, { - "$id": "8106", + "$id": "8111", "kind": "property", "name": "pageSizeLimit", "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": "8107", + "$id": "8112", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106189,7 +106243,7 @@ "isHttpMetadata": true }, { - "$id": "8108", + "$id": "8113", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -106208,7 +106262,7 @@ ] }, { - "$id": "8109", + "$id": "8114", "kind": "model", "name": "DotNetCustomToolCallApprovalPolicy", "namespace": "OpenAI", @@ -106223,7 +106277,7 @@ ], "properties": [ { - "$id": "8110", + "$id": "8115", "kind": "property", "name": "always", "doc": "A list of tools that always require approval.", @@ -106240,7 +106294,7 @@ "isHttpMetadata": false }, { - "$id": "8111", + "$id": "8116", "kind": "property", "name": "never", "doc": "A list of tools that never require approval.", @@ -106259,7 +106313,7 @@ ] }, { - "$id": "8112", + "$id": "8117", "kind": "model", "name": "DotNetToolCallApprovalPolicy", "namespace": "OpenAI", @@ -106274,7 +106328,7 @@ ], "properties": [ { - "$id": "8113", + "$id": "8118", "kind": "property", "name": "global_policy", "type": { @@ -106290,11 +106344,11 @@ "isHttpMetadata": false }, { - "$id": "8114", + "$id": "8119", "kind": "property", "name": "custom_policy", "type": { - "$ref": "8109" + "$ref": "8114" }, "optional": true, "readOnly": false, @@ -106308,7 +106362,7 @@ ] }, { - "$id": "8115", + "$id": "8120", "kind": "model", "name": "DotNetCodeInterpreterToolContainer", "namespace": "OpenAI", @@ -106323,11 +106377,11 @@ ], "properties": [ { - "$id": "8116", + "$id": "8121", "kind": "property", "name": "container_id", "type": { - "$id": "8117", + "$id": "8122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106343,7 +106397,7 @@ "isHttpMetadata": false }, { - "$id": "8118", + "$id": "8123", "kind": "property", "name": "container", "type": { @@ -106361,7 +106415,7 @@ ] }, { - "$id": "8119", + "$id": "8124", "kind": "model", "name": "DotNetCombinedChunkingStrategyParam", "namespace": "OpenAI", @@ -106369,7 +106423,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "8120", + "$id": "8125", "kind": "property", "name": "type", "type": { @@ -106386,12 +106440,12 @@ }, "properties": [ { - "$ref": "8120" + "$ref": "8125" } ], "discriminatedSubtypes": { "auto": { - "$id": "8121", + "$id": "8126", "kind": "model", "name": "DotNetCombinedAutoChunkingStrategyParam", "namespace": "OpenAI", @@ -106401,16 +106455,16 @@ "discriminatorValue": "auto", "decorators": [], "baseModel": { - "$ref": "8119" + "$ref": "8124" }, "properties": [ { - "$id": "8122", + "$id": "8127", "kind": "property", "name": "type", "doc": "Always `auto`.", "type": { - "$id": "8123", + "$id": "8128", "kind": "enumvalue", "name": "auto", "value": "auto", @@ -106418,14 +106472,14 @@ "$ref": "1384" }, "enumType": { - "$id": "8124", + "$id": "8129", "kind": "enum", "decorators": [], "name": "DotNetCombinedChunkingStrategyParamType", "isGeneratedName": true, "namespace": "OpenAI", "valueType": { - "$id": "8125", + "$id": "8130", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -106434,42 +106488,42 @@ }, "values": [ { - "$id": "8126", + "$id": "8131", "kind": "enumvalue", "decorators": [], "name": "auto", "value": "auto", "valueType": { - "$ref": "8125" + "$ref": "8130" }, "enumType": { - "$ref": "8124" + "$ref": "8129" } }, { - "$id": "8127", + "$id": "8132", "kind": "enumvalue", "decorators": [], "name": "static", "value": "static", "valueType": { - "$ref": "8125" + "$ref": "8130" }, "enumType": { - "$ref": "8124" + "$ref": "8129" } }, { - "$id": "8128", + "$id": "8133", "kind": "enumvalue", "decorators": [], "name": "other", "value": "other", "valueType": { - "$ref": "8125" + "$ref": "8130" }, "enumType": { - "$ref": "8124" + "$ref": "8129" } } ], @@ -106496,7 +106550,7 @@ ] }, "static": { - "$id": "8129", + "$id": "8134", "kind": "model", "name": "DotNetCombinedStaticChunkingStrategyParam", "namespace": "OpenAI", @@ -106506,16 +106560,16 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "8119" + "$ref": "8124" }, "properties": [ { - "$id": "8130", + "$id": "8135", "kind": "property", "name": "type", "doc": "Always `static`.", "type": { - "$id": "8131", + "$id": "8136", "kind": "enumvalue", "name": "static", "value": "static", @@ -106523,7 +106577,7 @@ "$ref": "1384" }, "enumType": { - "$ref": "8124" + "$ref": "8129" }, "decorators": [] }, @@ -106537,7 +106591,7 @@ "isHttpMetadata": false }, { - "$id": "8132", + "$id": "8137", "kind": "property", "name": "static", "type": { @@ -106555,7 +106609,7 @@ ] }, "other": { - "$id": "8133", + "$id": "8138", "kind": "model", "name": "DotNetCombinedOtherChunkingStrategyParam", "namespace": "OpenAI", @@ -106565,16 +106619,16 @@ "discriminatorValue": "other", "decorators": [], "baseModel": { - "$ref": "8119" + "$ref": "8124" }, "properties": [ { - "$id": "8134", + "$id": "8139", "kind": "property", "name": "type", "doc": "Always `other`.", "type": { - "$id": "8135", + "$id": "8140", "kind": "enumvalue", "name": "other", "value": "other", @@ -106582,7 +106636,7 @@ "$ref": "1384" }, "enumType": { - "$ref": "8124" + "$ref": "8129" }, "decorators": [] }, @@ -106600,16 +106654,16 @@ } }, { - "$ref": "8121" + "$ref": "8126" }, { - "$ref": "8129" + "$ref": "8134" }, { - "$ref": "8133" + "$ref": "8138" }, { - "$id": "8136", + "$id": "8141", "kind": "model", "name": "VectorStoreCollectionOptions", "namespace": "OpenAI", @@ -106619,12 +106673,12 @@ "decorators": [], "properties": [ { - "$id": "8137", + "$id": "8142", "kind": "property", "name": "afterId", "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": "8138", + "$id": "8143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106640,12 +106694,12 @@ "isHttpMetadata": true }, { - "$id": "8139", + "$id": "8144", "kind": "property", "name": "beforeId", "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, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8140", + "$id": "8145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106661,12 +106715,12 @@ "isHttpMetadata": true }, { - "$id": "8141", + "$id": "8146", "kind": "property", "name": "pageSizeLimit", "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": "8142", + "$id": "8147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106682,7 +106736,7 @@ "isHttpMetadata": true }, { - "$id": "8143", + "$id": "8148", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -106701,7 +106755,7 @@ ] }, { - "$id": "8144", + "$id": "8149", "kind": "model", "name": "VectorStoreFileCollectionOptions", "namespace": "OpenAI", @@ -106711,12 +106765,12 @@ "decorators": [], "properties": [ { - "$id": "8145", + "$id": "8150", "kind": "property", "name": "afterId", "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": "8146", + "$id": "8151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106732,12 +106786,12 @@ "isHttpMetadata": true }, { - "$id": "8147", + "$id": "8152", "kind": "property", "name": "beforeId", "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, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { - "$id": "8148", + "$id": "8153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106753,12 +106807,12 @@ "isHttpMetadata": true }, { - "$id": "8149", + "$id": "8154", "kind": "property", "name": "pageSizeLimit", "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": "8150", + "$id": "8155", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106774,7 +106828,7 @@ "isHttpMetadata": true }, { - "$id": "8151", + "$id": "8156", "kind": "property", "name": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -106791,7 +106845,7 @@ "isHttpMetadata": true }, { - "$id": "8152", + "$id": "8157", "kind": "property", "name": "filter", "type": { @@ -106811,20 +106865,20 @@ ], "clients": [ { - "$id": "8153", + "$id": "8158", "kind": "client", "name": "OpenAIClient", "namespace": "OpenAI", "methods": [], "parameters": [ { - "$id": "8154", + "$id": "8159", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8155", + "$id": "8160", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -106835,7 +106889,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8156", + "$id": "8161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -106853,27 +106907,27 @@ "apiVersions": [], "children": [ { - "$id": "8157", + "$id": "8162", "kind": "client", "name": "Assistants", "namespace": "OpenAI", "methods": [ { - "$id": "8158", + "$id": "8163", "kind": "paging", "name": "GetAssistants", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of assistants.", "operation": { - "$id": "8159", + "$id": "8164", "name": "GetAssistants", "resourceName": "Assistants", "summary": "Returns a list of assistants.", "accessibility": "public", "parameters": [ { - "$id": "8160", + "$id": "8165", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -106889,7 +106943,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept" }, { - "$id": "8161", + "$id": "8166", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -106905,13 +106959,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta" }, { - "$id": "8162", + "$id": "8167", "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": "8163", + "$id": "8168", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106926,7 +106980,7 @@ "readOnly": false }, { - "$id": "8164", + "$id": "8169", "kind": "query", "name": "order", "serializedName": "order", @@ -106943,13 +106997,13 @@ "readOnly": false }, { - "$id": "8165", + "$id": "8170", "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": "8166", + "$id": "8171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106964,13 +107018,13 @@ "readOnly": false }, { - "$id": "8167", + "$id": "8172", "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": "8168", + "$id": "8173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107011,7 +107065,7 @@ }, "parameters": [ { - "$id": "8169", + "$id": "8174", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -107028,7 +107082,7 @@ "decorators": [] }, { - "$id": "8170", + "$id": "8175", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107045,13 +107099,13 @@ "decorators": [] }, { - "$id": "8171", + "$id": "8176", "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": "8172", + "$id": "8177", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107067,7 +107121,7 @@ "decorators": [] }, { - "$id": "8173", + "$id": "8178", "kind": "method", "name": "order", "serializedName": "order", @@ -107085,13 +107139,13 @@ "decorators": [] }, { - "$id": "8174", + "$id": "8179", "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": "8175", + "$id": "8180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107107,13 +107161,13 @@ "decorators": [] }, { - "$id": "8176", + "$id": "8181", "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": "8177", + "$id": "8182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107147,7 +107201,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8165" + "$ref": "8170" }, "responseSegments": [ "last_id" @@ -107157,21 +107211,21 @@ } }, { - "$id": "8178", + "$id": "8183", "kind": "basic", "name": "createAssistant", "accessibility": "public", "apiVersions": [], "summary": "Create an assistant with a model and instructions.", "operation": { - "$id": "8179", + "$id": "8184", "name": "createAssistant", "resourceName": "Assistants", "summary": "Create an assistant with a model and instructions.", "accessibility": "public", "parameters": [ { - "$id": "8180", + "$id": "8185", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -107187,7 +107241,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept" }, { - "$id": "8181", + "$id": "8186", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107203,7 +107257,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta" }, { - "$id": "8182", + "$id": "8187", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -107220,7 +107274,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType" }, { - "$id": "8183", + "$id": "8188", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -107268,7 +107322,7 @@ }, "parameters": [ { - "$id": "8184", + "$id": "8189", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -107285,7 +107339,7 @@ "decorators": [] }, { - "$id": "8185", + "$id": "8190", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107302,7 +107356,7 @@ "decorators": [] }, { - "$id": "8186", + "$id": "8191", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -107319,7 +107373,7 @@ "decorators": [] }, { - "$id": "8187", + "$id": "8192", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -107348,21 +107402,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant" }, { - "$id": "8188", + "$id": "8193", "kind": "basic", "name": "getAssistant", "accessibility": "public", "apiVersions": [], "summary": "Retrieves an assistant.", "operation": { - "$id": "8189", + "$id": "8194", "name": "getAssistant", "resourceName": "Assistants", "summary": "Retrieves an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8190", + "$id": "8195", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -107378,7 +107432,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept" }, { - "$id": "8191", + "$id": "8196", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107394,13 +107448,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta" }, { - "$id": "8192", + "$id": "8197", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8193", + "$id": "8198", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107444,7 +107498,7 @@ }, "parameters": [ { - "$id": "8194", + "$id": "8199", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -107461,7 +107515,7 @@ "decorators": [] }, { - "$id": "8195", + "$id": "8200", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107478,13 +107532,13 @@ "decorators": [] }, { - "$id": "8196", + "$id": "8201", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "8197", + "$id": "8202", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107511,21 +107565,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant" }, { - "$id": "8198", + "$id": "8203", "kind": "basic", "name": "modifyAssistant", "accessibility": "public", "apiVersions": [], "summary": "Modifies an assistant.", "operation": { - "$id": "8199", + "$id": "8204", "name": "modifyAssistant", "resourceName": "Assistants", "summary": "Modifies an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8200", + "$id": "8205", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -107541,7 +107595,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept" }, { - "$id": "8201", + "$id": "8206", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107557,13 +107611,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta" }, { - "$id": "8202", + "$id": "8207", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8203", + "$id": "8208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107581,7 +107635,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id" }, { - "$id": "8204", + "$id": "8209", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -107598,7 +107652,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType" }, { - "$id": "8205", + "$id": "8210", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -107646,7 +107700,7 @@ }, "parameters": [ { - "$id": "8206", + "$id": "8211", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -107663,7 +107717,7 @@ "decorators": [] }, { - "$id": "8207", + "$id": "8212", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107680,13 +107734,13 @@ "decorators": [] }, { - "$id": "8208", + "$id": "8213", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "8209", + "$id": "8214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107702,7 +107756,7 @@ "decorators": [] }, { - "$id": "8210", + "$id": "8215", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -107719,7 +107773,7 @@ "decorators": [] }, { - "$id": "8211", + "$id": "8216", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -107748,21 +107802,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant" }, { - "$id": "8212", + "$id": "8217", "kind": "basic", "name": "deleteAssistant", "accessibility": "public", "apiVersions": [], "summary": "Delete an assistant.", "operation": { - "$id": "8213", + "$id": "8218", "name": "deleteAssistant", "resourceName": "Assistants", "summary": "Delete an assistant.", "accessibility": "public", "parameters": [ { - "$id": "8214", + "$id": "8219", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -107778,7 +107832,7 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept" }, { - "$id": "8215", + "$id": "8220", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107794,13 +107848,13 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta" }, { - "$id": "8216", + "$id": "8221", "kind": "path", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8217", + "$id": "8222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107844,7 +107898,7 @@ }, "parameters": [ { - "$id": "8218", + "$id": "8223", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -107861,7 +107915,7 @@ "decorators": [] }, { - "$id": "8219", + "$id": "8224", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -107878,13 +107932,13 @@ "decorators": [] }, { - "$id": "8220", + "$id": "8225", "kind": "method", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "8221", + "$id": "8226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107913,13 +107967,13 @@ ], "parameters": [ { - "$id": "8222", + "$id": "8227", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8223", + "$id": "8228", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -107930,7 +107984,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8224", + "$id": "8229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -107947,31 +108001,31 @@ "crossLanguageDefinitionId": "OpenAI.Assistants", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8225", + "$id": "8230", "kind": "client", "name": "Audio", "namespace": "OpenAI", "methods": [ { - "$id": "8226", + "$id": "8231", "kind": "basic", "name": "GenerateSpeech", "accessibility": "public", "apiVersions": [], "summary": "Generates audio from the input text.", "operation": { - "$id": "8227", + "$id": "8232", "name": "GenerateSpeech", "resourceName": "Audio", "summary": "Generates audio from the input text.", "accessibility": "public", "parameters": [ { - "$id": "8228", + "$id": "8233", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -107987,7 +108041,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.accept" }, { - "$id": "8229", + "$id": "8234", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -108004,7 +108058,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.contentType" }, { - "$id": "8230", + "$id": "8235", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -108029,7 +108083,7 @@ 200 ], "bodyType": { - "$id": "8231", + "$id": "8236", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -108041,7 +108095,7 @@ "nameInResponse": "Transfer-Encoding", "doc": "chunked", "type": { - "$id": "8232", + "$id": "8237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108076,7 +108130,7 @@ }, "parameters": [ { - "$id": "8233", + "$id": "8238", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -108093,7 +108147,7 @@ "decorators": [] }, { - "$id": "8234", + "$id": "8239", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -108110,7 +108164,7 @@ "decorators": [] }, { - "$id": "8235", + "$id": "8240", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -108130,7 +108184,7 @@ ], "response": { "type": { - "$ref": "8231" + "$ref": "8236" } }, "isOverride": false, @@ -108139,21 +108193,21 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech" }, { - "$id": "8236", + "$id": "8241", "kind": "basic", "name": "TranscribeAudio", "accessibility": "public", "apiVersions": [], "summary": "Transcribes audio into the input language.", "operation": { - "$id": "8237", + "$id": "8242", "name": "TranscribeAudio", "resourceName": "Audio", "summary": "Transcribes audio into the input language.", "accessibility": "public", "parameters": [ { - "$id": "8238", + "$id": "8243", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -108169,7 +108223,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.accept" }, { - "$id": "8239", + "$id": "8244", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -108185,7 +108239,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.contentType" }, { - "$id": "8240", + "$id": "8245", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -108210,12 +108264,12 @@ 200 ], "bodyType": { - "$id": "8241", + "$id": "8246", "kind": "union", "name": "", "variantTypes": [ { - "$id": "8242", + "$id": "8247", "kind": "union", "name": "", "variantTypes": [ @@ -108267,7 +108321,7 @@ }, "parameters": [ { - "$id": "8243", + "$id": "8248", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -108284,7 +108338,7 @@ "decorators": [] }, { - "$id": "8244", + "$id": "8249", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -108301,7 +108355,7 @@ "decorators": [] }, { - "$id": "8245", + "$id": "8250", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -108320,7 +108374,7 @@ ], "response": { "type": { - "$ref": "8241" + "$ref": "8246" } }, "isOverride": false, @@ -108329,21 +108383,21 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription" }, { - "$id": "8246", + "$id": "8251", "kind": "basic", "name": "TranslateAudio", "accessibility": "public", "apiVersions": [], "summary": "Translates audio into English..", "operation": { - "$id": "8247", + "$id": "8252", "name": "TranslateAudio", "resourceName": "Audio", "summary": "Translates audio into English..", "accessibility": "public", "parameters": [ { - "$id": "8248", + "$id": "8253", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -108359,7 +108413,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.accept" }, { - "$id": "8249", + "$id": "8254", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -108375,7 +108429,7 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.contentType" }, { - "$id": "8250", + "$id": "8255", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -108400,12 +108454,12 @@ 200 ], "bodyType": { - "$id": "8251", + "$id": "8256", "kind": "union", "name": "", "variantTypes": [ { - "$id": "8252", + "$id": "8257", "kind": "union", "name": "", "variantTypes": [ @@ -108420,7 +108474,7 @@ "decorators": [] }, { - "$id": "8253", + "$id": "8258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108461,7 +108515,7 @@ }, "parameters": [ { - "$id": "8254", + "$id": "8259", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -108478,7 +108532,7 @@ "decorators": [] }, { - "$id": "8255", + "$id": "8260", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -108495,7 +108549,7 @@ "decorators": [] }, { - "$id": "8256", + "$id": "8261", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -108514,7 +108568,7 @@ ], "response": { "type": { - "$ref": "8251" + "$ref": "8256" } }, "isOverride": false, @@ -108525,13 +108579,13 @@ ], "parameters": [ { - "$id": "8257", + "$id": "8262", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8258", + "$id": "8263", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -108542,7 +108596,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8259", + "$id": "8264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -108559,31 +108613,31 @@ "crossLanguageDefinitionId": "OpenAI.Audio", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8260", + "$id": "8265", "kind": "client", "name": "Batches", "namespace": "OpenAI", "methods": [ { - "$id": "8261", + "$id": "8266", "kind": "basic", "name": "createBatch", "accessibility": "public", "apiVersions": [], "summary": "Creates and executes a batch from an uploaded file of requests", "operation": { - "$id": "8262", + "$id": "8267", "name": "createBatch", "resourceName": "Batches", "summary": "Creates and executes a batch from an uploaded file of requests", "accessibility": "public", "parameters": [ { - "$id": "8263", + "$id": "8268", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -108599,7 +108653,7 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept" }, { - "$id": "8264", + "$id": "8269", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -108616,7 +108670,7 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType" }, { - "$id": "8265", + "$id": "8270", "kind": "body", "name": "createBatchRequest", "serializedName": "createBatchRequest", @@ -108664,7 +108718,7 @@ }, "parameters": [ { - "$id": "8266", + "$id": "8271", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -108681,13 +108735,13 @@ "decorators": [] }, { - "$id": "8267", + "$id": "8272", "kind": "method", "name": "input_file_id", "serializedName": "input_file_id", "doc": "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput),\nand must be uploaded with the purpose `batch`.", "type": { - "$id": "8268", + "$id": "8273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108703,7 +108757,7 @@ "decorators": [] }, { - "$id": "8269", + "$id": "8274", "kind": "method", "name": "endpoint", "serializedName": "endpoint", @@ -108721,7 +108775,7 @@ "decorators": [] }, { - "$id": "8270", + "$id": "8275", "kind": "method", "name": "completion_window", "serializedName": "completion_window", @@ -108739,7 +108793,7 @@ "decorators": [] }, { - "$id": "8271", + "$id": "8276", "kind": "method", "name": "metadata", "serializedName": "metadata", @@ -108757,7 +108811,7 @@ "decorators": [] }, { - "$id": "8272", + "$id": "8277", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -108786,21 +108840,21 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch" }, { - "$id": "8273", - "kind": "basic", + "$id": "8278", + "kind": "paging", "name": "GetBatches", "accessibility": "public", "apiVersions": [], "summary": "List your organization's batches.", "operation": { - "$id": "8274", + "$id": "8279", "name": "GetBatches", "resourceName": "Batches", "summary": "List your organization's batches.", "accessibility": "public", "parameters": [ { - "$id": "8275", + "$id": "8280", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -108816,13 +108870,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept" }, { - "$id": "8276", + "$id": "8281", "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": "8277", + "$id": "8282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108837,13 +108891,13 @@ "readOnly": false }, { - "$id": "8278", + "$id": "8283", "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": "8279", + "$id": "8284", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108884,7 +108938,7 @@ }, "parameters": [ { - "$id": "8280", + "$id": "8285", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -108901,13 +108955,13 @@ "decorators": [] }, { - "$id": "8281", + "$id": "8286", "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": "8282", + "$id": "8287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108923,13 +108977,13 @@ "decorators": [] }, { - "$id": "8283", + "$id": "8288", "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": "8284", + "$id": "8289", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -108947,30 +109001,47 @@ ], "response": { "type": { - "$ref": "2783" - } + "$ref": "2785" + }, + "resultSegments": [ + "data" + ] }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Batches.listBatches" + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches", + "pagingMetadata": { + "itemPropertySegments": [ + "data" + ], + "continuationToken": { + "parameter": { + "$ref": "8281" + }, + "responseSegments": [ + "last_id" + ], + "responseLocation": "Body" + } + } }, { - "$id": "8285", + "$id": "8290", "kind": "basic", "name": "GetBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a batch.", "operation": { - "$id": "8286", + "$id": "8291", "name": "GetBatch", "resourceName": "Batches", "summary": "Retrieves a batch.", "accessibility": "public", "parameters": [ { - "$id": "8287", + "$id": "8292", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -108986,13 +109057,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept" }, { - "$id": "8288", + "$id": "8293", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "8289", + "$id": "8294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109036,7 +109107,7 @@ }, "parameters": [ { - "$id": "8290", + "$id": "8295", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -109053,13 +109124,13 @@ "decorators": [] }, { - "$id": "8291", + "$id": "8296", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "8292", + "$id": "8297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109086,21 +109157,21 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch" }, { - "$id": "8293", + "$id": "8298", "kind": "basic", "name": "cancelBatch", "accessibility": "public", "apiVersions": [], "summary": "Cancels an in-progress batch.", "operation": { - "$id": "8294", + "$id": "8299", "name": "cancelBatch", "resourceName": "Batches", "summary": "Cancels an in-progress batch.", "accessibility": "public", "parameters": [ { - "$id": "8295", + "$id": "8300", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -109116,13 +109187,13 @@ "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept" }, { - "$id": "8296", + "$id": "8301", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "8297", + "$id": "8302", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109166,7 +109237,7 @@ }, "parameters": [ { - "$id": "8298", + "$id": "8303", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -109183,13 +109254,13 @@ "decorators": [] }, { - "$id": "8299", + "$id": "8304", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "8300", + "$id": "8305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109218,13 +109289,13 @@ ], "parameters": [ { - "$id": "8301", + "$id": "8306", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8302", + "$id": "8307", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -109235,7 +109306,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8303", + "$id": "8308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -109252,37 +109323,37 @@ "crossLanguageDefinitionId": "OpenAI.Batches", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8304", + "$id": "8309", "kind": "client", "name": "Chat", "namespace": "OpenAI", "methods": [ { - "$id": "8305", + "$id": "8310", "kind": "paging", "name": "listChatCompletions", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of chat completions.", "operation": { - "$id": "8306", + "$id": "8311", "name": "listChatCompletions", "resourceName": "Chat", "summary": "Returns a list of chat completions.", "accessibility": "public", "parameters": [ { - "$id": "8307", + "$id": "8312", "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": "8308", + "$id": "8313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109297,13 +109368,13 @@ "readOnly": false }, { - "$id": "8309", + "$id": "8314", "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": "8310", + "$id": "8315", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109318,7 +109389,7 @@ "readOnly": false }, { - "$id": "8311", + "$id": "8316", "kind": "query", "name": "order", "serializedName": "order", @@ -109335,7 +109406,7 @@ "readOnly": false }, { - "$id": "8312", + "$id": "8317", "kind": "query", "name": "metadata", "serializedName": "metadata", @@ -109351,12 +109422,12 @@ "readOnly": false }, { - "$id": "8313", + "$id": "8318", "kind": "query", "name": "model", "serializedName": "model", "type": { - "$id": "8314", + "$id": "8319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109371,7 +109442,7 @@ "readOnly": false }, { - "$id": "8315", + "$id": "8320", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -109413,13 +109484,13 @@ }, "parameters": [ { - "$id": "8316", + "$id": "8321", "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": "8317", + "$id": "8322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109435,13 +109506,13 @@ "decorators": [] }, { - "$id": "8318", + "$id": "8323", "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": "8319", + "$id": "8324", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109457,7 +109528,7 @@ "decorators": [] }, { - "$id": "8320", + "$id": "8325", "kind": "method", "name": "order", "serializedName": "order", @@ -109475,7 +109546,7 @@ "decorators": [] }, { - "$id": "8321", + "$id": "8326", "kind": "method", "name": "metadata", "serializedName": "metadata", @@ -109492,12 +109563,12 @@ "decorators": [] }, { - "$id": "8322", + "$id": "8327", "kind": "method", "name": "model", "serializedName": "model", "type": { - "$id": "8323", + "$id": "8328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109513,7 +109584,7 @@ "decorators": [] }, { - "$id": "8324", + "$id": "8329", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -109548,7 +109619,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8307" + "$ref": "8312" }, "responseSegments": [ "last_id" @@ -109558,21 +109629,21 @@ } }, { - "$id": "8325", + "$id": "8330", "kind": "basic", "name": "CompleteChat", "accessibility": "public", "apiVersions": [], "summary": "Creates a model response for the given chat conversation.", "operation": { - "$id": "8326", + "$id": "8331", "name": "CompleteChat", "resourceName": "Chat", "summary": "Creates a model response for the given chat conversation.", "accessibility": "public", "parameters": [ { - "$id": "8327", + "$id": "8332", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -109588,7 +109659,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept" }, { - "$id": "8328", + "$id": "8333", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -109605,7 +109676,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType" }, { - "$id": "8329", + "$id": "8334", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -109630,7 +109701,7 @@ 200 ], "bodyType": { - "$id": "8330", + "$id": "8335", "kind": "union", "name": "", "variantTypes": [ @@ -109674,7 +109745,7 @@ }, "parameters": [ { - "$id": "8331", + "$id": "8336", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -109691,7 +109762,7 @@ "decorators": [] }, { - "$id": "8332", + "$id": "8337", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -109708,7 +109779,7 @@ "decorators": [] }, { - "$id": "8333", + "$id": "8338", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -109728,7 +109799,7 @@ ], "response": { "type": { - "$ref": "8330" + "$ref": "8335" } }, "isOverride": false, @@ -109737,27 +109808,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion" }, { - "$id": "8334", + "$id": "8339", "kind": "basic", "name": "getChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "operation": { - "$id": "8335", + "$id": "8340", "name": "getChatCompletion", "resourceName": "Chat", "summary": "Get a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "accessibility": "public", "parameters": [ { - "$id": "8336", + "$id": "8341", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "8337", + "$id": "8342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109775,7 +109846,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id" }, { - "$id": "8338", + "$id": "8343", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -109817,13 +109888,13 @@ }, "parameters": [ { - "$id": "8339", + "$id": "8344", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "8340", + "$id": "8345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109839,7 +109910,7 @@ "decorators": [] }, { - "$id": "8341", + "$id": "8346", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -109867,27 +109938,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion" }, { - "$id": "8342", + "$id": "8347", "kind": "basic", "name": "updateChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")", "operation": { - "$id": "8343", + "$id": "8348", "name": "updateChatCompletion", "resourceName": "Chat", "summary": "Modify a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be modified. Currently, the only supported modification is to update the `metadata` field.\")", "accessibility": "public", "parameters": [ { - "$id": "8344", + "$id": "8349", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "8345", + "$id": "8350", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109905,7 +109976,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id" }, { - "$id": "8346", + "$id": "8351", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -109922,7 +109993,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType" }, { - "$id": "8347", + "$id": "8352", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -109938,7 +110009,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept" }, { - "$id": "8348", + "$id": "8353", "kind": "body", "name": "updateChatCompletionRequest", "serializedName": "updateChatCompletionRequest", @@ -109986,13 +110057,13 @@ }, "parameters": [ { - "$id": "8349", + "$id": "8354", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "8350", + "$id": "8355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110008,7 +110079,7 @@ "decorators": [] }, { - "$id": "8351", + "$id": "8356", "kind": "method", "name": "metadata", "serializedName": "metadata", @@ -110026,7 +110097,7 @@ "decorators": [] }, { - "$id": "8352", + "$id": "8357", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -110044,7 +110115,7 @@ "decorators": [] }, { - "$id": "8353", + "$id": "8358", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -110072,27 +110143,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion" }, { - "$id": "8354", + "$id": "8359", "kind": "basic", "name": "deleteChatCompletion", "accessibility": "public", "apiVersions": [], "summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.", "operation": { - "$id": "8355", + "$id": "8360", "name": "deleteChatCompletion", "resourceName": "Chat", "summary": "Delete a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` can be deleted.", "accessibility": "public", "parameters": [ { - "$id": "8356", + "$id": "8361", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "8357", + "$id": "8362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110110,7 +110181,7 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id" }, { - "$id": "8358", + "$id": "8363", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -110152,13 +110223,13 @@ }, "parameters": [ { - "$id": "8359", + "$id": "8364", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "8360", + "$id": "8365", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110174,7 +110245,7 @@ "decorators": [] }, { - "$id": "8361", + "$id": "8366", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -110202,27 +110273,27 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion" }, { - "$id": "8362", + "$id": "8367", "kind": "paging", "name": "getChatCompletionMessages", "accessibility": "public", "apiVersions": [], "summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "operation": { - "$id": "8363", + "$id": "8368", "name": "getChatCompletionMessages", "resourceName": "Chat", "summary": "Get the messages of a stored chat completion. Only Chat Completions that have been created with the `store` parameter set to `true` will be returned.", "accessibility": "public", "parameters": [ { - "$id": "8364", + "$id": "8369", "kind": "path", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "8365", + "$id": "8370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110240,13 +110311,13 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id" }, { - "$id": "8366", + "$id": "8371", "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": "8367", + "$id": "8372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110261,13 +110332,13 @@ "readOnly": false }, { - "$id": "8368", + "$id": "8373", "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": "8369", + "$id": "8374", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110282,7 +110353,7 @@ "readOnly": false }, { - "$id": "8370", + "$id": "8375", "kind": "query", "name": "order", "serializedName": "order", @@ -110299,7 +110370,7 @@ "readOnly": false }, { - "$id": "8371", + "$id": "8376", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -110341,13 +110412,13 @@ }, "parameters": [ { - "$id": "8372", + "$id": "8377", "kind": "method", "name": "completion_id", "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "8373", + "$id": "8378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110363,13 +110434,13 @@ "decorators": [] }, { - "$id": "8374", + "$id": "8379", "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": "8375", + "$id": "8380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110385,13 +110456,13 @@ "decorators": [] }, { - "$id": "8376", + "$id": "8381", "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": "8377", + "$id": "8382", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110407,7 +110478,7 @@ "decorators": [] }, { - "$id": "8378", + "$id": "8383", "kind": "method", "name": "order", "serializedName": "order", @@ -110425,7 +110496,7 @@ "decorators": [] }, { - "$id": "8379", + "$id": "8384", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -110460,7 +110531,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8366" + "$ref": "8371" }, "responseSegments": [ "last_id" @@ -110472,13 +110543,13 @@ ], "parameters": [ { - "$id": "8380", + "$id": "8385", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8381", + "$id": "8386", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -110489,7 +110560,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8382", + "$id": "8387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -110506,35 +110577,35 @@ "crossLanguageDefinitionId": "OpenAI.Chat", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8383", + "$id": "8388", "kind": "client", "name": "Containers", "namespace": "OpenAI", "methods": [ { - "$id": "8384", + "$id": "8389", "kind": "paging", "name": "listContainers", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8385", + "$id": "8390", "name": "listContainers", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8386", + "$id": "8391", "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": "8387", + "$id": "8392", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110549,7 +110620,7 @@ "readOnly": false }, { - "$id": "8388", + "$id": "8393", "kind": "query", "name": "order", "serializedName": "order", @@ -110566,13 +110637,13 @@ "readOnly": false }, { - "$id": "8389", + "$id": "8394", "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": "8390", + "$id": "8395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110587,7 +110658,7 @@ "readOnly": false }, { - "$id": "8391", + "$id": "8396", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -110629,13 +110700,13 @@ }, "parameters": [ { - "$id": "8392", + "$id": "8397", "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": "8393", + "$id": "8398", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110651,7 +110722,7 @@ "decorators": [] }, { - "$id": "8394", + "$id": "8399", "kind": "method", "name": "order", "serializedName": "order", @@ -110669,13 +110740,13 @@ "decorators": [] }, { - "$id": "8395", + "$id": "8400", "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": "8396", + "$id": "8401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110691,7 +110762,7 @@ "decorators": [] }, { - "$id": "8397", + "$id": "8402", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -110726,7 +110797,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8389" + "$ref": "8394" }, "responseSegments": [ "last_id" @@ -110736,19 +110807,19 @@ } }, { - "$id": "8398", + "$id": "8403", "kind": "basic", "name": "createContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8399", + "$id": "8404", "name": "createContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8400", + "$id": "8405", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -110765,7 +110836,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType" }, { - "$id": "8401", + "$id": "8406", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -110781,7 +110852,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept" }, { - "$id": "8402", + "$id": "8407", "kind": "body", "name": "body", "serializedName": "body", @@ -110829,7 +110900,7 @@ }, "parameters": [ { - "$id": "8403", + "$id": "8408", "kind": "method", "name": "body", "serializedName": "body", @@ -110846,7 +110917,7 @@ "decorators": [] }, { - "$id": "8404", + "$id": "8409", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -110864,7 +110935,7 @@ "decorators": [] }, { - "$id": "8405", + "$id": "8410", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -110892,24 +110963,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer" }, { - "$id": "8406", + "$id": "8411", "kind": "basic", "name": "GetContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8407", + "$id": "8412", "name": "GetContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8408", + "$id": "8413", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8409", + "$id": "8414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110927,7 +110998,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id" }, { - "$id": "8410", + "$id": "8415", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -110969,12 +111040,12 @@ }, "parameters": [ { - "$id": "8411", + "$id": "8416", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8412", + "$id": "8417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110990,7 +111061,7 @@ "decorators": [] }, { - "$id": "8413", + "$id": "8418", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111018,24 +111089,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer" }, { - "$id": "8414", + "$id": "8419", "kind": "basic", "name": "deleteContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8415", + "$id": "8420", "name": "deleteContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8416", + "$id": "8421", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8417", + "$id": "8422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111053,7 +111124,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id" }, { - "$id": "8418", + "$id": "8423", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -111095,12 +111166,12 @@ }, "parameters": [ { - "$id": "8419", + "$id": "8424", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8420", + "$id": "8425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111116,7 +111187,7 @@ "decorators": [] }, { - "$id": "8421", + "$id": "8426", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111144,24 +111215,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer" }, { - "$id": "8422", + "$id": "8427", "kind": "basic", "name": "createContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8423", + "$id": "8428", "name": "createContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8424", + "$id": "8429", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8425", + "$id": "8430", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111179,7 +111250,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id" }, { - "$id": "8426", + "$id": "8431", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -111195,7 +111266,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType" }, { - "$id": "8427", + "$id": "8432", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -111211,7 +111282,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept" }, { - "$id": "8428", + "$id": "8433", "kind": "body", "name": "body", "serializedName": "body", @@ -111259,12 +111330,12 @@ }, "parameters": [ { - "$id": "8429", + "$id": "8434", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8430", + "$id": "8435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111280,7 +111351,7 @@ "decorators": [] }, { - "$id": "8431", + "$id": "8436", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -111297,7 +111368,7 @@ "decorators": [] }, { - "$id": "8432", + "$id": "8437", "kind": "method", "name": "body", "serializedName": "body", @@ -111314,7 +111385,7 @@ "decorators": [] }, { - "$id": "8433", + "$id": "8438", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111342,24 +111413,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile" }, { - "$id": "8434", + "$id": "8439", "kind": "paging", "name": "listContainerFiles", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8435", + "$id": "8440", "name": "listContainerFiles", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8436", + "$id": "8441", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8437", + "$id": "8442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111377,13 +111448,13 @@ "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id" }, { - "$id": "8438", + "$id": "8443", "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": "8439", + "$id": "8444", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111398,7 +111469,7 @@ "readOnly": false }, { - "$id": "8440", + "$id": "8445", "kind": "query", "name": "order", "serializedName": "order", @@ -111415,13 +111486,13 @@ "readOnly": false }, { - "$id": "8441", + "$id": "8446", "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": "8442", + "$id": "8447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111436,7 +111507,7 @@ "readOnly": false }, { - "$id": "8443", + "$id": "8448", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -111478,12 +111549,12 @@ }, "parameters": [ { - "$id": "8444", + "$id": "8449", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8445", + "$id": "8450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111499,13 +111570,13 @@ "decorators": [] }, { - "$id": "8446", + "$id": "8451", "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": "8447", + "$id": "8452", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111521,7 +111592,7 @@ "decorators": [] }, { - "$id": "8448", + "$id": "8453", "kind": "method", "name": "order", "serializedName": "order", @@ -111539,13 +111610,13 @@ "decorators": [] }, { - "$id": "8449", + "$id": "8454", "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": "8450", + "$id": "8455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111561,7 +111632,7 @@ "decorators": [] }, { - "$id": "8451", + "$id": "8456", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111596,7 +111667,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8441" + "$ref": "8446" }, "responseSegments": [ "last_id" @@ -111606,24 +111677,24 @@ } }, { - "$id": "8452", + "$id": "8457", "kind": "basic", "name": "GetContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8453", + "$id": "8458", "name": "GetContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8454", + "$id": "8459", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8455", + "$id": "8460", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111641,12 +111712,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id" }, { - "$id": "8456", + "$id": "8461", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8457", + "$id": "8462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111664,7 +111735,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id" }, { - "$id": "8458", + "$id": "8463", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -111706,12 +111777,12 @@ }, "parameters": [ { - "$id": "8459", + "$id": "8464", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8460", + "$id": "8465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111727,12 +111798,12 @@ "decorators": [] }, { - "$id": "8461", + "$id": "8466", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8462", + "$id": "8467", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111748,7 +111819,7 @@ "decorators": [] }, { - "$id": "8463", + "$id": "8468", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111776,24 +111847,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile" }, { - "$id": "8464", + "$id": "8469", "kind": "basic", "name": "deleteContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8465", + "$id": "8470", "name": "deleteContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8466", + "$id": "8471", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8467", + "$id": "8472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111811,12 +111882,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id" }, { - "$id": "8468", + "$id": "8473", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8469", + "$id": "8474", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111834,7 +111905,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id" }, { - "$id": "8470", + "$id": "8475", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -111876,12 +111947,12 @@ }, "parameters": [ { - "$id": "8471", + "$id": "8476", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8472", + "$id": "8477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111897,12 +111968,12 @@ "decorators": [] }, { - "$id": "8473", + "$id": "8478", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8474", + "$id": "8479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111918,7 +111989,7 @@ "decorators": [] }, { - "$id": "8475", + "$id": "8480", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -111946,24 +112017,24 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile" }, { - "$id": "8476", + "$id": "8481", "kind": "basic", "name": "GetContainerFileContent", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8477", + "$id": "8482", "name": "GetContainerFileContent", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "8478", + "$id": "8483", "kind": "path", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8479", + "$id": "8484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111981,12 +112052,12 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id" }, { - "$id": "8480", + "$id": "8485", "kind": "path", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8481", + "$id": "8486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112004,7 +112075,7 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id" }, { - "$id": "8482", + "$id": "8487", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112026,7 +112097,7 @@ 200 ], "bodyType": { - "$id": "8483", + "$id": "8488", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -112051,12 +112122,12 @@ }, "parameters": [ { - "$id": "8484", + "$id": "8489", "kind": "method", "name": "container_id", "serializedName": "container_id", "type": { - "$id": "8485", + "$id": "8490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112072,12 +112143,12 @@ "decorators": [] }, { - "$id": "8486", + "$id": "8491", "kind": "method", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "8487", + "$id": "8492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112093,7 +112164,7 @@ "decorators": [] }, { - "$id": "8488", + "$id": "8493", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112112,7 +112183,7 @@ ], "response": { "type": { - "$ref": "8483" + "$ref": "8488" } }, "isOverride": false, @@ -112123,13 +112194,13 @@ ], "parameters": [ { - "$id": "8489", + "$id": "8494", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8490", + "$id": "8495", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -112140,7 +112211,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8491", + "$id": "8496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -112157,31 +112228,31 @@ "crossLanguageDefinitionId": "OpenAI.Containers", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8492", + "$id": "8497", "kind": "client", "name": "Embeddings", "namespace": "OpenAI", "methods": [ { - "$id": "8493", + "$id": "8498", "kind": "basic", "name": "GenerateEmbeddings", "accessibility": "public", "apiVersions": [], "summary": "Creates an embedding vector representing the input text.", "operation": { - "$id": "8494", + "$id": "8499", "name": "GenerateEmbeddings", "resourceName": "Embeddings", "summary": "Creates an embedding vector representing the input text.", "accessibility": "public", "parameters": [ { - "$id": "8495", + "$id": "8500", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112197,7 +112268,7 @@ "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept" }, { - "$id": "8496", + "$id": "8501", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -112214,7 +112285,7 @@ "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType" }, { - "$id": "8497", + "$id": "8502", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -112262,7 +112333,7 @@ }, "parameters": [ { - "$id": "8498", + "$id": "8503", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112279,7 +112350,7 @@ "decorators": [] }, { - "$id": "8499", + "$id": "8504", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -112296,7 +112367,7 @@ "decorators": [] }, { - "$id": "8500", + "$id": "8505", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -112327,13 +112398,13 @@ ], "parameters": [ { - "$id": "8501", + "$id": "8506", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8502", + "$id": "8507", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -112344,7 +112415,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8503", + "$id": "8508", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -112361,31 +112432,31 @@ "crossLanguageDefinitionId": "OpenAI.Embeddings", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8504", + "$id": "8509", "kind": "client", "name": "Files", "namespace": "OpenAI", "methods": [ { - "$id": "8505", + "$id": "8510", "kind": "basic", "name": "GetFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of files that belong to the user's organization.", "operation": { - "$id": "8506", + "$id": "8511", "name": "GetFiles", "resourceName": "Files", "summary": "Returns a list of files that belong to the user's organization.", "accessibility": "public", "parameters": [ { - "$id": "8507", + "$id": "8512", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112401,13 +112472,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.listFiles.accept" }, { - "$id": "8508", + "$id": "8513", "kind": "query", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "8509", + "$id": "8514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112448,7 +112519,7 @@ }, "parameters": [ { - "$id": "8510", + "$id": "8515", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112465,13 +112536,13 @@ "decorators": [] }, { - "$id": "8511", + "$id": "8516", "kind": "method", "name": "purpose", "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "8512", + "$id": "8517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112498,21 +112569,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.listFiles" }, { - "$id": "8513", + "$id": "8518", "kind": "basic", "name": "UploadFile", "accessibility": "public", "apiVersions": [], "summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.", "operation": { - "$id": "8514", + "$id": "8519", "name": "UploadFile", "resourceName": "Files", "summary": "Upload a file that can be used across various endpoints. The size of all the files uploaded by\none organization can be up to 100 GB.\n\nThe size of individual files can be a maximum of 512 MB or 2 million tokens for Assistants. See\nthe [Assistants Tools guide](/docs/assistants/tools) to learn more about the types of files\nsupported. The Fine-tuning API only supports `.jsonl` files.\n\nPlease [contact us](https://help.openai.com/) if you need to increase these storage limits.", "accessibility": "public", "parameters": [ { - "$id": "8515", + "$id": "8520", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112528,7 +112599,7 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile.accept" }, { - "$id": "8516", + "$id": "8521", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -112544,7 +112615,7 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile.contentType" }, { - "$id": "8517", + "$id": "8522", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -112592,7 +112663,7 @@ }, "parameters": [ { - "$id": "8518", + "$id": "8523", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112609,7 +112680,7 @@ "decorators": [] }, { - "$id": "8519", + "$id": "8524", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -112626,7 +112697,7 @@ "decorators": [] }, { - "$id": "8520", + "$id": "8525", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -112654,21 +112725,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile" }, { - "$id": "8521", + "$id": "8526", "kind": "basic", "name": "deleteFile", "accessibility": "public", "apiVersions": [], "summary": "Delete a file", "operation": { - "$id": "8522", + "$id": "8527", "name": "deleteFile", "resourceName": "Files", "summary": "Delete a file", "accessibility": "public", "parameters": [ { - "$id": "8523", + "$id": "8528", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112684,13 +112755,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.accept" }, { - "$id": "8524", + "$id": "8529", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8525", + "$id": "8530", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112734,7 +112805,7 @@ }, "parameters": [ { - "$id": "8526", + "$id": "8531", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112751,13 +112822,13 @@ "decorators": [] }, { - "$id": "8527", + "$id": "8532", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8528", + "$id": "8533", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112784,21 +112855,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.deleteFile" }, { - "$id": "8529", + "$id": "8534", "kind": "basic", "name": "GetFile", "accessibility": "public", "apiVersions": [], "summary": "Returns information about a specific file.", "operation": { - "$id": "8530", + "$id": "8535", "name": "GetFile", "resourceName": "Files", "summary": "Returns information about a specific file.", "accessibility": "public", "parameters": [ { - "$id": "8531", + "$id": "8536", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112814,13 +112885,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.accept" }, { - "$id": "8532", + "$id": "8537", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8533", + "$id": "8538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112864,7 +112935,7 @@ }, "parameters": [ { - "$id": "8534", + "$id": "8539", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -112881,13 +112952,13 @@ "decorators": [] }, { - "$id": "8535", + "$id": "8540", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8536", + "$id": "8541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112914,21 +112985,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile" }, { - "$id": "8537", + "$id": "8542", "kind": "basic", "name": "downloadFile", "accessibility": "public", "apiVersions": [], "summary": "Returns the contents of the specified file.", "operation": { - "$id": "8538", + "$id": "8543", "name": "downloadFile", "resourceName": "Files", "summary": "Returns the contents of the specified file.", "accessibility": "public", "parameters": [ { - "$id": "8539", + "$id": "8544", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -112944,13 +113015,13 @@ "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.accept" }, { - "$id": "8540", + "$id": "8545", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8541", + "$id": "8546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112974,7 +113045,7 @@ 200 ], "bodyType": { - "$id": "8542", + "$id": "8547", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -112999,7 +113070,7 @@ }, "parameters": [ { - "$id": "8543", + "$id": "8548", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -113016,13 +113087,13 @@ "decorators": [] }, { - "$id": "8544", + "$id": "8549", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "8545", + "$id": "8550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113040,7 +113111,7 @@ ], "response": { "type": { - "$ref": "8542" + "$ref": "8547" } }, "isOverride": false, @@ -113051,13 +113122,13 @@ ], "parameters": [ { - "$id": "8546", + "$id": "8551", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8547", + "$id": "8552", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -113068,7 +113139,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8548", + "$id": "8553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -113085,37 +113156,37 @@ "crossLanguageDefinitionId": "OpenAI.Files", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8549", + "$id": "8554", "kind": "client", "name": "FineTuning", "namespace": "OpenAI", "methods": [ { - "$id": "8550", + "$id": "8555", "kind": "basic", "name": "listFineTuningCheckpointPermissions", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.", "operation": { - "$id": "8551", + "$id": "8556", "name": "listFineTuningCheckpointPermissions", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to view all permissions for a fine-tuned model checkpoint.", "accessibility": "public", "parameters": [ { - "$id": "8552", + "$id": "8557", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "8553", + "$id": "8558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113133,13 +113204,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint" }, { - "$id": "8554", + "$id": "8559", "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": "8555", + "$id": "8560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113154,13 +113225,13 @@ "readOnly": false }, { - "$id": "8556", + "$id": "8561", "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": "8557", + "$id": "8562", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113175,7 +113246,7 @@ "readOnly": false }, { - "$id": "8558", + "$id": "8563", "kind": "query", "name": "order", "serializedName": "order", @@ -113192,13 +113263,13 @@ "readOnly": false }, { - "$id": "8559", + "$id": "8564", "kind": "query", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "8560", + "$id": "8565", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113213,7 +113284,7 @@ "readOnly": false }, { - "$id": "8561", + "$id": "8566", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -113255,13 +113326,13 @@ }, "parameters": [ { - "$id": "8562", + "$id": "8567", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "8563", + "$id": "8568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113277,13 +113348,13 @@ "decorators": [] }, { - "$id": "8564", + "$id": "8569", "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": "8565", + "$id": "8570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113299,13 +113370,13 @@ "decorators": [] }, { - "$id": "8566", + "$id": "8571", "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": "8567", + "$id": "8572", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113321,7 +113392,7 @@ "decorators": [] }, { - "$id": "8568", + "$id": "8573", "kind": "method", "name": "order", "serializedName": "order", @@ -113339,13 +113410,13 @@ "decorators": [] }, { - "$id": "8569", + "$id": "8574", "kind": "method", "name": "project_id", "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "8570", + "$id": "8575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113361,7 +113432,7 @@ "decorators": [] }, { - "$id": "8571", + "$id": "8576", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -113389,27 +113460,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions" }, { - "$id": "8572", + "$id": "8577", "kind": "basic", "name": "createFineTuningCheckpointPermission", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.", "operation": { - "$id": "8573", + "$id": "8578", "name": "createFineTuningCheckpointPermission", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nThis enables organization owners to share fine-tuned models with other projects in their organization.", "accessibility": "public", "parameters": [ { - "$id": "8574", + "$id": "8579", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "8575", + "$id": "8580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113427,7 +113498,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "8576", + "$id": "8581", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -113444,7 +113515,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType" }, { - "$id": "8577", + "$id": "8582", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -113460,7 +113531,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept" }, { - "$id": "8578", + "$id": "8583", "kind": "body", "name": "createFineTuningCheckpointPermissionRequest", "serializedName": "createFineTuningCheckpointPermissionRequest", @@ -113508,13 +113579,13 @@ }, "parameters": [ { - "$id": "8579", + "$id": "8584", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "8580", + "$id": "8585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113530,7 +113601,7 @@ "decorators": [] }, { - "$id": "8581", + "$id": "8586", "kind": "method", "name": "project_ids", "serializedName": "project_ids", @@ -113548,7 +113619,7 @@ "decorators": [] }, { - "$id": "8582", + "$id": "8587", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -113566,7 +113637,7 @@ "decorators": [] }, { - "$id": "8583", + "$id": "8588", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -113594,27 +113665,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission" }, { - "$id": "8584", + "$id": "8589", "kind": "basic", "name": "deleteFineTuningCheckpointPermission", "accessibility": "public", "apiVersions": [], "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.", "operation": { - "$id": "8585", + "$id": "8590", "name": "deleteFineTuningCheckpointPermission", "resourceName": "FineTuning", "summary": "NOTE: This endpoint requires an admin API key.\nOrganization owners can use this endpoint to delete a permission for a fine-tuned model checkpoint.", "accessibility": "public", "parameters": [ { - "$id": "8586", + "$id": "8591", "kind": "path", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "8587", + "$id": "8592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113632,13 +113703,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { - "$id": "8588", + "$id": "8593", "kind": "path", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "8589", + "$id": "8594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113656,7 +113727,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id" }, { - "$id": "8590", + "$id": "8595", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -113698,13 +113769,13 @@ }, "parameters": [ { - "$id": "8591", + "$id": "8596", "kind": "method", "name": "fine_tuned_model_checkpoint", "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "8592", + "$id": "8597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113720,13 +113791,13 @@ "decorators": [] }, { - "$id": "8593", + "$id": "8598", "kind": "method", "name": "permission_id", "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "8594", + "$id": "8599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113742,7 +113813,7 @@ "decorators": [] }, { - "$id": "8595", + "$id": "8600", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -113770,21 +113841,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission" }, { - "$id": "8596", + "$id": "8601", "kind": "basic", "name": "createFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "operation": { - "$id": "8597", + "$id": "8602", "name": "createFineTuningJob", "resourceName": "FineTuning", "summary": "Creates a fine-tuning job which begins the process of creating a new model from a given dataset.\n\nResponse includes details of the enqueued job including job status and the name of the fine-tuned models once complete.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "accessibility": "public", "parameters": [ { - "$id": "8598", + "$id": "8603", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -113800,7 +113871,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept" }, { - "$id": "8599", + "$id": "8604", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -113817,7 +113888,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType" }, { - "$id": "8600", + "$id": "8605", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -113865,7 +113936,7 @@ }, "parameters": [ { - "$id": "8601", + "$id": "8606", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -113882,7 +113953,7 @@ "decorators": [] }, { - "$id": "8602", + "$id": "8607", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -113899,7 +113970,7 @@ "decorators": [] }, { - "$id": "8603", + "$id": "8608", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -113928,21 +113999,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob" }, { - "$id": "8604", + "$id": "8609", "kind": "basic", "name": "listPaginatedFineTuningJobs", "accessibility": "public", "apiVersions": [], "summary": "List your organization's fine-tuning jobs", "operation": { - "$id": "8605", + "$id": "8610", "name": "listPaginatedFineTuningJobs", "resourceName": "FineTuning", "summary": "List your organization's fine-tuning jobs", "accessibility": "public", "parameters": [ { - "$id": "8606", + "$id": "8611", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -113958,13 +114029,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept" }, { - "$id": "8607", + "$id": "8612", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "8608", + "$id": "8613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113979,13 +114050,13 @@ "readOnly": false }, { - "$id": "8609", + "$id": "8614", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "8610", + "$id": "8615", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114026,7 +114097,7 @@ }, "parameters": [ { - "$id": "8611", + "$id": "8616", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114043,13 +114114,13 @@ "decorators": [] }, { - "$id": "8612", + "$id": "8617", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "8613", + "$id": "8618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114065,13 +114136,13 @@ "decorators": [] }, { - "$id": "8614", + "$id": "8619", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "8615", + "$id": "8620", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114098,21 +114169,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs" }, { - "$id": "8616", + "$id": "8621", "kind": "basic", "name": "retrieveFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "operation": { - "$id": "8617", + "$id": "8622", "name": "retrieveFineTuningJob", "resourceName": "FineTuning", "summary": "Get info about a fine-tuning job.\n\n[Learn more about fine-tuning](/docs/guides/fine-tuning)", "accessibility": "public", "parameters": [ { - "$id": "8618", + "$id": "8623", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -114128,13 +114199,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept" }, { - "$id": "8619", + "$id": "8624", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "8620", + "$id": "8625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114178,7 +114249,7 @@ }, "parameters": [ { - "$id": "8621", + "$id": "8626", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114195,13 +114266,13 @@ "decorators": [] }, { - "$id": "8622", + "$id": "8627", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "8623", + "$id": "8628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114228,21 +114299,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob" }, { - "$id": "8624", + "$id": "8629", "kind": "basic", "name": "cancelFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Immediately cancel a fine-tune job.", "operation": { - "$id": "8625", + "$id": "8630", "name": "cancelFineTuningJob", "resourceName": "FineTuning", "summary": "Immediately cancel a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8626", + "$id": "8631", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -114258,13 +114329,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept" }, { - "$id": "8627", + "$id": "8632", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "8628", + "$id": "8633", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114308,7 +114379,7 @@ }, "parameters": [ { - "$id": "8629", + "$id": "8634", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114325,13 +114396,13 @@ "decorators": [] }, { - "$id": "8630", + "$id": "8635", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "8631", + "$id": "8636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114358,21 +114429,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob" }, { - "$id": "8632", + "$id": "8637", "kind": "basic", "name": "listFineTuningJobCheckpoints", "accessibility": "public", "apiVersions": [], "summary": "List the checkpoints for a fine-tuning job.", "operation": { - "$id": "8633", + "$id": "8638", "name": "listFineTuningJobCheckpoints", "resourceName": "FineTuning", "summary": "List the checkpoints for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "8634", + "$id": "8639", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -114388,13 +114459,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept" }, { - "$id": "8635", + "$id": "8640", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "8636", + "$id": "8641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114412,13 +114483,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id" }, { - "$id": "8637", + "$id": "8642", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "8638", + "$id": "8643", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114433,13 +114504,13 @@ "readOnly": false }, { - "$id": "8639", + "$id": "8644", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "8640", + "$id": "8645", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114480,7 +114551,7 @@ }, "parameters": [ { - "$id": "8641", + "$id": "8646", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114497,13 +114568,13 @@ "decorators": [] }, { - "$id": "8642", + "$id": "8647", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "8643", + "$id": "8648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114519,13 +114590,13 @@ "decorators": [] }, { - "$id": "8644", + "$id": "8649", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "8645", + "$id": "8650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114541,13 +114612,13 @@ "decorators": [] }, { - "$id": "8646", + "$id": "8651", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "8647", + "$id": "8652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114574,21 +114645,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints" }, { - "$id": "8648", + "$id": "8653", "kind": "basic", "name": "listFineTuningEvents", "accessibility": "public", "apiVersions": [], "summary": "Get status updates for a fine-tuning job.", "operation": { - "$id": "8649", + "$id": "8654", "name": "listFineTuningEvents", "resourceName": "FineTuning", "summary": "Get status updates for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "8650", + "$id": "8655", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -114604,13 +114675,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept" }, { - "$id": "8651", + "$id": "8656", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "8652", + "$id": "8657", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114628,13 +114699,13 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id" }, { - "$id": "8653", + "$id": "8658", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "8654", + "$id": "8659", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114649,13 +114720,13 @@ "readOnly": false }, { - "$id": "8655", + "$id": "8660", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "8656", + "$id": "8661", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114696,7 +114767,7 @@ }, "parameters": [ { - "$id": "8657", + "$id": "8662", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114713,13 +114784,13 @@ "decorators": [] }, { - "$id": "8658", + "$id": "8663", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "8659", + "$id": "8664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114735,13 +114806,13 @@ "decorators": [] }, { - "$id": "8660", + "$id": "8665", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "8661", + "$id": "8666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114757,13 +114828,13 @@ "decorators": [] }, { - "$id": "8662", + "$id": "8667", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "8663", + "$id": "8668", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -114790,27 +114861,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents" }, { - "$id": "8664", + "$id": "8669", "kind": "basic", "name": "pauseFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Pause a fine-tune job.", "operation": { - "$id": "8665", + "$id": "8670", "name": "pauseFineTuningJob", "resourceName": "FineTuning", "summary": "Pause a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8666", + "$id": "8671", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "8667", + "$id": "8672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114828,7 +114899,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id" }, { - "$id": "8668", + "$id": "8673", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -114870,13 +114941,13 @@ }, "parameters": [ { - "$id": "8669", + "$id": "8674", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "8670", + "$id": "8675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114892,7 +114963,7 @@ "decorators": [] }, { - "$id": "8671", + "$id": "8676", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -114920,27 +114991,27 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob" }, { - "$id": "8672", + "$id": "8677", "kind": "basic", "name": "resumeFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Resume a paused fine-tune job.", "operation": { - "$id": "8673", + "$id": "8678", "name": "resumeFineTuningJob", "resourceName": "FineTuning", "summary": "Resume a paused fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "8674", + "$id": "8679", "kind": "path", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "8675", + "$id": "8680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114958,7 +115029,7 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id" }, { - "$id": "8676", + "$id": "8681", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115000,13 +115071,13 @@ }, "parameters": [ { - "$id": "8677", + "$id": "8682", "kind": "method", "name": "fine_tuning_job_id", "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "8678", + "$id": "8683", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115022,7 +115093,7 @@ "decorators": [] }, { - "$id": "8679", + "$id": "8684", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115052,13 +115123,13 @@ ], "parameters": [ { - "$id": "8680", + "$id": "8685", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8681", + "$id": "8686", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115069,7 +115140,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8682", + "$id": "8687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115086,31 +115157,31 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8683", + "$id": "8688", "kind": "client", "name": "Graders", "namespace": "OpenAI", "methods": [ { - "$id": "8684", + "$id": "8689", "kind": "basic", "name": "runGrader", "accessibility": "public", "apiVersions": [], "summary": "Run a grader.", "operation": { - "$id": "8685", + "$id": "8690", "name": "runGrader", "resourceName": "Graders", "summary": "Run a grader.", "accessibility": "public", "parameters": [ { - "$id": "8686", + "$id": "8691", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -115127,7 +115198,7 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType" }, { - "$id": "8687", + "$id": "8692", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115143,7 +115214,7 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept" }, { - "$id": "8688", + "$id": "8693", "kind": "body", "name": "request", "serializedName": "request", @@ -115191,7 +115262,7 @@ }, "parameters": [ { - "$id": "8689", + "$id": "8694", "kind": "method", "name": "request", "serializedName": "request", @@ -115208,7 +115279,7 @@ "decorators": [] }, { - "$id": "8690", + "$id": "8695", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -115226,7 +115297,7 @@ "decorators": [] }, { - "$id": "8691", + "$id": "8696", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115254,21 +115325,21 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader" }, { - "$id": "8692", + "$id": "8697", "kind": "basic", "name": "validateGrader", "accessibility": "public", "apiVersions": [], "summary": "Validate a grader.", "operation": { - "$id": "8693", + "$id": "8698", "name": "validateGrader", "resourceName": "Graders", "summary": "Validate a grader.", "accessibility": "public", "parameters": [ { - "$id": "8694", + "$id": "8699", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -115285,7 +115356,7 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType" }, { - "$id": "8695", + "$id": "8700", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115301,7 +115372,7 @@ "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept" }, { - "$id": "8696", + "$id": "8701", "kind": "body", "name": "request", "serializedName": "request", @@ -115349,7 +115420,7 @@ }, "parameters": [ { - "$id": "8697", + "$id": "8702", "kind": "method", "name": "request", "serializedName": "request", @@ -115366,7 +115437,7 @@ "decorators": [] }, { - "$id": "8698", + "$id": "8703", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -115384,7 +115455,7 @@ "decorators": [] }, { - "$id": "8699", + "$id": "8704", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115414,13 +115485,13 @@ ], "parameters": [ { - "$id": "8700", + "$id": "8705", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8701", + "$id": "8706", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115431,7 +115502,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8702", + "$id": "8707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115448,37 +115519,37 @@ "crossLanguageDefinitionId": "OpenAI.Graders", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8703", + "$id": "8708", "kind": "client", "name": "Evals", "namespace": "OpenAI", "methods": [ { - "$id": "8704", + "$id": "8709", "kind": "basic", "name": "listEvals", "accessibility": "public", "apiVersions": [], "summary": "List evaluations for a project.", "operation": { - "$id": "8705", + "$id": "8710", "name": "listEvals", "resourceName": "Evals", "summary": "List evaluations for a project.", "accessibility": "public", "parameters": [ { - "$id": "8706", + "$id": "8711", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "8707", + "$id": "8712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115493,13 +115564,13 @@ "readOnly": false }, { - "$id": "8708", + "$id": "8713", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "8709", + "$id": "8714", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115514,7 +115585,7 @@ "readOnly": false }, { - "$id": "8710", + "$id": "8715", "kind": "query", "name": "order", "serializedName": "order", @@ -115531,7 +115602,7 @@ "readOnly": false }, { - "$id": "8711", + "$id": "8716", "kind": "query", "name": "order_by", "serializedName": "order_by", @@ -115548,7 +115619,7 @@ "readOnly": false }, { - "$id": "8712", + "$id": "8717", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115590,13 +115661,13 @@ }, "parameters": [ { - "$id": "8713", + "$id": "8718", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "8714", + "$id": "8719", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115612,13 +115683,13 @@ "decorators": [] }, { - "$id": "8715", + "$id": "8720", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "8716", + "$id": "8721", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115634,7 +115705,7 @@ "decorators": [] }, { - "$id": "8717", + "$id": "8722", "kind": "method", "name": "order", "serializedName": "order", @@ -115652,7 +115723,7 @@ "decorators": [] }, { - "$id": "8718", + "$id": "8723", "kind": "method", "name": "order_by", "serializedName": "order_by", @@ -115670,7 +115741,7 @@ "decorators": [] }, { - "$id": "8719", + "$id": "8724", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115698,21 +115769,21 @@ "crossLanguageDefinitionId": "OpenAI.Evals.listEvals" }, { - "$id": "8720", + "$id": "8725", "kind": "basic", "name": "createEval", "accessibility": "public", "apiVersions": [], "doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).", "operation": { - "$id": "8721", + "$id": "8726", "name": "createEval", "resourceName": "Evals", "doc": "Create the structure of an evaluation that can be used to test a model's\nperformance.\n\nAn evaluation is a set of testing criteria and a datasource. After\ncreating an evaluation, you can run it on different models and model\nparameters. We support several types of graders and datasources.\n\nFor more information, see the [Evals guide](/docs/guides/evals).", "accessibility": "public", "parameters": [ { - "$id": "8722", + "$id": "8727", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -115729,7 +115800,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType" }, { - "$id": "8723", + "$id": "8728", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115745,7 +115816,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept" }, { - "$id": "8724", + "$id": "8729", "kind": "body", "name": "body", "serializedName": "body", @@ -115793,7 +115864,7 @@ }, "parameters": [ { - "$id": "8725", + "$id": "8730", "kind": "method", "name": "body", "serializedName": "body", @@ -115810,7 +115881,7 @@ "decorators": [] }, { - "$id": "8726", + "$id": "8731", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -115828,7 +115899,7 @@ "decorators": [] }, { - "$id": "8727", + "$id": "8732", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115856,26 +115927,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval" }, { - "$id": "8728", + "$id": "8733", "kind": "basic", "name": "getEval", "accessibility": "public", "apiVersions": [], "summary": "Retrieve an evaluation by its ID.", "operation": { - "$id": "8729", + "$id": "8734", "name": "getEval", "resourceName": "Evals", "summary": "Retrieve an evaluation by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8730", + "$id": "8735", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "8731", + "$id": "8736", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115893,7 +115964,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id" }, { - "$id": "8732", + "$id": "8737", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -115935,12 +116006,12 @@ }, "parameters": [ { - "$id": "8733", + "$id": "8738", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "8734", + "$id": "8739", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115956,7 +116027,7 @@ "decorators": [] }, { - "$id": "8735", + "$id": "8740", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -115984,27 +116055,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval" }, { - "$id": "8736", + "$id": "8741", "kind": "basic", "name": "updateEval", "accessibility": "public", "apiVersions": [], "doc": "Update select, mutable properties of a specified evaluation.", "operation": { - "$id": "8737", + "$id": "8742", "name": "updateEval", "resourceName": "Evals", "doc": "Update select, mutable properties of a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "8738", + "$id": "8743", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "8739", + "$id": "8744", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116022,7 +116093,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id" }, { - "$id": "8740", + "$id": "8745", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -116039,7 +116110,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType" }, { - "$id": "8741", + "$id": "8746", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -116055,7 +116126,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept" }, { - "$id": "8742", + "$id": "8747", "kind": "body", "name": "body", "serializedName": "body", @@ -116103,13 +116174,13 @@ }, "parameters": [ { - "$id": "8743", + "$id": "8748", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "8744", + "$id": "8749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116125,7 +116196,7 @@ "decorators": [] }, { - "$id": "8745", + "$id": "8750", "kind": "method", "name": "body", "serializedName": "body", @@ -116142,7 +116213,7 @@ "decorators": [] }, { - "$id": "8746", + "$id": "8751", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -116160,7 +116231,7 @@ "decorators": [] }, { - "$id": "8747", + "$id": "8752", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -116188,27 +116259,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval" }, { - "$id": "8748", + "$id": "8753", "kind": "basic", "name": "deleteEval", "accessibility": "public", "apiVersions": [], "doc": "Delete a specified evaluation.", "operation": { - "$id": "8749", + "$id": "8754", "name": "deleteEval", "resourceName": "Evals", "doc": "Delete a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "8750", + "$id": "8755", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "8751", + "$id": "8756", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116226,7 +116297,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id" }, { - "$id": "8752", + "$id": "8757", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -116268,13 +116339,13 @@ }, "parameters": [ { - "$id": "8753", + "$id": "8758", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "8754", + "$id": "8759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116290,7 +116361,7 @@ "decorators": [] }, { - "$id": "8755", + "$id": "8760", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -116318,7 +116389,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval" }, { - "$id": "8756", + "$id": "8761", "kind": "basic", "name": "getEvalRuns", "accessibility": "public", @@ -116326,7 +116397,7 @@ "doc": "Retrieve a list of runs for a specified evaluation.", "summary": "", "operation": { - "$id": "8757", + "$id": "8762", "name": "getEvalRuns", "resourceName": "Evals", "summary": "", @@ -116334,13 +116405,13 @@ "accessibility": "public", "parameters": [ { - "$id": "8758", + "$id": "8763", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "8759", + "$id": "8764", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116358,13 +116429,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id" }, { - "$id": "8760", + "$id": "8765", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "8761", + "$id": "8766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116379,13 +116450,13 @@ "readOnly": false }, { - "$id": "8762", + "$id": "8767", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "8763", + "$id": "8768", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116400,7 +116471,7 @@ "readOnly": false }, { - "$id": "8764", + "$id": "8769", "kind": "query", "name": "order", "serializedName": "order", @@ -116417,7 +116488,7 @@ "readOnly": false }, { - "$id": "8765", + "$id": "8770", "kind": "query", "name": "status", "serializedName": "status", @@ -116434,7 +116505,7 @@ "readOnly": false }, { - "$id": "8766", + "$id": "8771", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -116476,13 +116547,13 @@ }, "parameters": [ { - "$id": "8767", + "$id": "8772", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "8768", + "$id": "8773", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116498,13 +116569,13 @@ "decorators": [] }, { - "$id": "8769", + "$id": "8774", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "8770", + "$id": "8775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116520,13 +116591,13 @@ "decorators": [] }, { - "$id": "8771", + "$id": "8776", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "8772", + "$id": "8777", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -116542,7 +116613,7 @@ "decorators": [] }, { - "$id": "8773", + "$id": "8778", "kind": "method", "name": "order", "serializedName": "order", @@ -116560,7 +116631,7 @@ "decorators": [] }, { - "$id": "8774", + "$id": "8779", "kind": "method", "name": "status", "serializedName": "status", @@ -116578,7 +116649,7 @@ "decorators": [] }, { - "$id": "8775", + "$id": "8780", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -116606,27 +116677,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns" }, { - "$id": "8776", + "$id": "8781", "kind": "basic", "name": "createEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Create a new evaluation run, beginning the grading process.", "operation": { - "$id": "8777", + "$id": "8782", "name": "createEvalRun", "resourceName": "Evals", "doc": "Create a new evaluation run, beginning the grading process.", "accessibility": "public", "parameters": [ { - "$id": "8778", + "$id": "8783", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "8779", + "$id": "8784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116644,7 +116715,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id" }, { - "$id": "8780", + "$id": "8785", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -116661,7 +116732,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType" }, { - "$id": "8781", + "$id": "8786", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -116677,7 +116748,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept" }, { - "$id": "8782", + "$id": "8787", "kind": "body", "name": "body", "serializedName": "body", @@ -116725,13 +116796,13 @@ }, "parameters": [ { - "$id": "8783", + "$id": "8788", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "8784", + "$id": "8789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116747,7 +116818,7 @@ "decorators": [] }, { - "$id": "8785", + "$id": "8790", "kind": "method", "name": "body", "serializedName": "body", @@ -116764,7 +116835,7 @@ "decorators": [] }, { - "$id": "8786", + "$id": "8791", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -116782,7 +116853,7 @@ "decorators": [] }, { - "$id": "8787", + "$id": "8792", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -116810,27 +116881,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun" }, { - "$id": "8788", + "$id": "8793", "kind": "basic", "name": "getEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific evaluation run by its ID.", "operation": { - "$id": "8789", + "$id": "8794", "name": "getEvalRun", "resourceName": "Evals", "doc": "Retrieve a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8790", + "$id": "8795", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8791", + "$id": "8796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116848,13 +116919,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id" }, { - "$id": "8792", + "$id": "8797", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8793", + "$id": "8798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116872,7 +116943,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id" }, { - "$id": "8794", + "$id": "8799", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -116914,13 +116985,13 @@ }, "parameters": [ { - "$id": "8795", + "$id": "8800", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8796", + "$id": "8801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116936,13 +117007,13 @@ "decorators": [] }, { - "$id": "8797", + "$id": "8802", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8798", + "$id": "8803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116958,7 +117029,7 @@ "decorators": [] }, { - "$id": "8799", + "$id": "8804", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -116986,27 +117057,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun" }, { - "$id": "8800", + "$id": "8805", "kind": "basic", "name": "cancelEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Cancel a specific evaluation run by its ID.", "operation": { - "$id": "8801", + "$id": "8806", "name": "cancelEvalRun", "resourceName": "Evals", "doc": "Cancel a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8802", + "$id": "8807", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8803", + "$id": "8808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117024,13 +117095,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id" }, { - "$id": "8804", + "$id": "8809", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8805", + "$id": "8810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117048,7 +117119,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id" }, { - "$id": "8806", + "$id": "8811", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -117090,13 +117161,13 @@ }, "parameters": [ { - "$id": "8807", + "$id": "8812", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8808", + "$id": "8813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117112,13 +117183,13 @@ "decorators": [] }, { - "$id": "8809", + "$id": "8814", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8810", + "$id": "8815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117134,7 +117205,7 @@ "decorators": [] }, { - "$id": "8811", + "$id": "8816", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -117162,27 +117233,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun" }, { - "$id": "8812", + "$id": "8817", "kind": "basic", "name": "deleteEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Delete a specific evaluation run by its ID.", "operation": { - "$id": "8813", + "$id": "8818", "name": "deleteEvalRun", "resourceName": "Evals", "doc": "Delete a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8814", + "$id": "8819", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8815", + "$id": "8820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117200,13 +117271,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id" }, { - "$id": "8816", + "$id": "8821", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8817", + "$id": "8822", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117224,7 +117295,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id" }, { - "$id": "8818", + "$id": "8823", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -117266,13 +117337,13 @@ }, "parameters": [ { - "$id": "8819", + "$id": "8824", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8820", + "$id": "8825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117288,13 +117359,13 @@ "decorators": [] }, { - "$id": "8821", + "$id": "8826", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8822", + "$id": "8827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117310,7 +117381,7 @@ "decorators": [] }, { - "$id": "8823", + "$id": "8828", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -117338,27 +117409,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun" }, { - "$id": "8824", + "$id": "8829", "kind": "basic", "name": "getEvalRunOutputItems", "accessibility": "public", "apiVersions": [], "doc": "Get a list of output items for a specified evaluation run.", "operation": { - "$id": "8825", + "$id": "8830", "name": "getEvalRunOutputItems", "resourceName": "Evals", "doc": "Get a list of output items for a specified evaluation run.", "accessibility": "public", "parameters": [ { - "$id": "8826", + "$id": "8831", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8827", + "$id": "8832", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117376,13 +117447,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id" }, { - "$id": "8828", + "$id": "8833", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8829", + "$id": "8834", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117400,13 +117471,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id" }, { - "$id": "8830", + "$id": "8835", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8831", + "$id": "8836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117421,13 +117492,13 @@ "readOnly": false }, { - "$id": "8832", + "$id": "8837", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8833", + "$id": "8838", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117442,7 +117513,7 @@ "readOnly": false }, { - "$id": "8834", + "$id": "8839", "kind": "query", "name": "status", "serializedName": "status", @@ -117459,7 +117530,7 @@ "readOnly": false }, { - "$id": "8835", + "$id": "8840", "kind": "query", "name": "order", "serializedName": "order", @@ -117476,7 +117547,7 @@ "readOnly": false }, { - "$id": "8836", + "$id": "8841", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -117518,13 +117589,13 @@ }, "parameters": [ { - "$id": "8837", + "$id": "8842", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8838", + "$id": "8843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117540,13 +117611,13 @@ "decorators": [] }, { - "$id": "8839", + "$id": "8844", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8840", + "$id": "8845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117562,13 +117633,13 @@ "decorators": [] }, { - "$id": "8841", + "$id": "8846", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8842", + "$id": "8847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117584,13 +117655,13 @@ "decorators": [] }, { - "$id": "8843", + "$id": "8848", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8844", + "$id": "8849", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -117606,7 +117677,7 @@ "decorators": [] }, { - "$id": "8845", + "$id": "8850", "kind": "method", "name": "status", "serializedName": "status", @@ -117624,7 +117695,7 @@ "decorators": [] }, { - "$id": "8846", + "$id": "8851", "kind": "method", "name": "order", "serializedName": "order", @@ -117642,7 +117713,7 @@ "decorators": [] }, { - "$id": "8847", + "$id": "8852", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -117670,27 +117741,27 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems" }, { - "$id": "8848", + "$id": "8853", "kind": "basic", "name": "getEvalRunOutputItem", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific output item from an evaluation run by its ID.", "operation": { - "$id": "8849", + "$id": "8854", "name": "getEvalRunOutputItem", "resourceName": "Evals", "doc": "Retrieve a specific output item from an evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8850", + "$id": "8855", "kind": "path", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8851", + "$id": "8856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117708,13 +117779,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id" }, { - "$id": "8852", + "$id": "8857", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8853", + "$id": "8858", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117732,13 +117803,13 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id" }, { - "$id": "8854", + "$id": "8859", "kind": "path", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8855", + "$id": "8860", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117756,7 +117827,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id" }, { - "$id": "8856", + "$id": "8861", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -117798,13 +117869,13 @@ }, "parameters": [ { - "$id": "8857", + "$id": "8862", "kind": "method", "name": "eval_id", "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8858", + "$id": "8863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117820,13 +117891,13 @@ "decorators": [] }, { - "$id": "8859", + "$id": "8864", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8860", + "$id": "8865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117842,13 +117913,13 @@ "decorators": [] }, { - "$id": "8861", + "$id": "8866", "kind": "method", "name": "output_item_id", "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8862", + "$id": "8867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -117864,7 +117935,7 @@ "decorators": [] }, { - "$id": "8863", + "$id": "8868", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -117894,13 +117965,13 @@ ], "parameters": [ { - "$id": "8864", + "$id": "8869", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8865", + "$id": "8870", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -117911,7 +117982,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8866", + "$id": "8871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -117928,31 +117999,31 @@ "crossLanguageDefinitionId": "OpenAI.Evals", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8867", + "$id": "8872", "kind": "client", "name": "Responses", "namespace": "OpenAI", "methods": [ { - "$id": "8868", + "$id": "8873", "kind": "basic", "name": "createResponse", "accessibility": "public", "apiVersions": [], "doc": "Creates a model response.", "operation": { - "$id": "8869", + "$id": "8874", "name": "createResponse", "resourceName": "Responses", "doc": "Creates a model response.", "accessibility": "public", "parameters": [ { - "$id": "8870", + "$id": "8875", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -117968,7 +118039,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept" }, { - "$id": "8871", + "$id": "8876", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -117985,7 +118056,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType" }, { - "$id": "8872", + "$id": "8877", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -118010,7 +118081,7 @@ 200 ], "bodyType": { - "$id": "8873", + "$id": "8878", "kind": "union", "name": "", "variantTypes": [ @@ -118054,7 +118125,7 @@ }, "parameters": [ { - "$id": "8874", + "$id": "8879", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -118071,7 +118142,7 @@ "decorators": [] }, { - "$id": "8875", + "$id": "8880", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -118088,7 +118159,7 @@ "decorators": [] }, { - "$id": "8876", + "$id": "8881", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -118108,7 +118179,7 @@ ], "response": { "type": { - "$ref": "8873" + "$ref": "8878" } }, "isOverride": false, @@ -118117,27 +118188,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse" }, { - "$id": "8877", + "$id": "8882", "kind": "basic", "name": "getResponse", "accessibility": "public", "apiVersions": [], "doc": "Retrieves a model response with the given ID.", "operation": { - "$id": "8878", + "$id": "8883", "name": "getResponse", "resourceName": "Responses", "doc": "Retrieves a model response with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "8879", + "$id": "8884", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8880", + "$id": "8885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118155,7 +118226,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id" }, { - "$id": "8881", + "$id": "8886", "kind": "query", "name": "includables", "serializedName": "include[]", @@ -118171,13 +118242,13 @@ "readOnly": false }, { - "$id": "8882", + "$id": "8887", "kind": "query", "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": "8883", + "$id": "8888", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -118192,13 +118263,13 @@ "readOnly": false }, { - "$id": "8884", + "$id": "8889", "kind": "query", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "8885", + "$id": "8890", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118213,12 +118284,12 @@ "readOnly": false }, { - "$id": "8886", + "$id": "8891", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "8887", + "$id": "8892", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118239,7 +118310,7 @@ 200 ], "bodyType": { - "$id": "8888", + "$id": "8893", "kind": "union", "name": "", "variantTypes": [ @@ -118280,13 +118351,13 @@ }, "parameters": [ { - "$id": "8889", + "$id": "8894", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8890", + "$id": "8895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118302,7 +118373,7 @@ "decorators": [] }, { - "$id": "8891", + "$id": "8896", "kind": "method", "name": "includables", "serializedName": "include[]", @@ -118319,13 +118390,13 @@ "decorators": [] }, { - "$id": "8892", + "$id": "8897", "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": "8893", + "$id": "8898", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -118341,13 +118412,13 @@ "decorators": [] }, { - "$id": "8894", + "$id": "8899", "kind": "method", "name": "starting_after", "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "8895", + "$id": "8900", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118363,12 +118434,12 @@ "decorators": [] }, { - "$id": "8896", + "$id": "8901", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "8887" + "$ref": "8892" }, "location": "Header", "isApiVersion": false, @@ -118382,7 +118453,7 @@ ], "response": { "type": { - "$ref": "8888" + "$ref": "8893" } }, "isOverride": false, @@ -118391,25 +118462,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse" }, { - "$id": "8897", + "$id": "8902", "kind": "basic", "name": "deleteResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8898", + "$id": "8903", "name": "deleteResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "8899", + "$id": "8904", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8900", + "$id": "8905", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118427,7 +118498,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id" }, { - "$id": "8901", + "$id": "8906", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -118469,13 +118540,13 @@ }, "parameters": [ { - "$id": "8902", + "$id": "8907", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8903", + "$id": "8908", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118491,7 +118562,7 @@ "decorators": [] }, { - "$id": "8904", + "$id": "8909", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -118519,25 +118590,25 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse" }, { - "$id": "8905", + "$id": "8910", "kind": "basic", "name": "cancelResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8906", + "$id": "8911", "name": "cancelResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "8907", + "$id": "8912", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "8908", + "$id": "8913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118555,7 +118626,7 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id" }, { - "$id": "8909", + "$id": "8914", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -118597,13 +118668,13 @@ }, "parameters": [ { - "$id": "8910", + "$id": "8915", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "8911", + "$id": "8916", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118619,7 +118690,7 @@ "decorators": [] }, { - "$id": "8912", + "$id": "8917", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -118647,27 +118718,27 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse" }, { - "$id": "8913", + "$id": "8918", "kind": "paging", "name": "GetResponseInputItems", "accessibility": "public", "apiVersions": [], "doc": "Returns a list of input items for a given response.", "operation": { - "$id": "8914", + "$id": "8919", "name": "GetResponseInputItems", "resourceName": "Responses", "doc": "Returns a list of input items for a given response.", "accessibility": "public", "parameters": [ { - "$id": "8915", + "$id": "8920", "kind": "path", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8916", + "$id": "8921", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118685,13 +118756,13 @@ "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id" }, { - "$id": "8917", + "$id": "8922", "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": "8918", + "$id": "8923", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118706,7 +118777,7 @@ "readOnly": false }, { - "$id": "8919", + "$id": "8924", "kind": "query", "name": "order", "serializedName": "order", @@ -118723,13 +118794,13 @@ "readOnly": false }, { - "$id": "8920", + "$id": "8925", "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": "8921", + "$id": "8926", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118744,13 +118815,13 @@ "readOnly": false }, { - "$id": "8922", + "$id": "8927", "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": "8923", + "$id": "8928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118765,7 +118836,7 @@ "readOnly": false }, { - "$id": "8924", + "$id": "8929", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -118807,13 +118878,13 @@ }, "parameters": [ { - "$id": "8925", + "$id": "8930", "kind": "method", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8926", + "$id": "8931", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118829,13 +118900,13 @@ "decorators": [] }, { - "$id": "8927", + "$id": "8932", "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": "8928", + "$id": "8933", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -118851,7 +118922,7 @@ "decorators": [] }, { - "$id": "8929", + "$id": "8934", "kind": "method", "name": "order", "serializedName": "order", @@ -118869,13 +118940,13 @@ "decorators": [] }, { - "$id": "8930", + "$id": "8935", "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": "8931", + "$id": "8936", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118891,13 +118962,13 @@ "decorators": [] }, { - "$id": "8932", + "$id": "8937", "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": "8933", + "$id": "8938", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -118913,7 +118984,7 @@ "decorators": [] }, { - "$id": "8934", + "$id": "8939", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -118948,7 +119019,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8920" + "$ref": "8925" }, "responseSegments": [ "last_id" @@ -118960,13 +119031,13 @@ ], "parameters": [ { - "$id": "8935", + "$id": "8940", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8936", + "$id": "8941", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -118977,7 +119048,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8937", + "$id": "8942", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -118994,31 +119065,31 @@ "crossLanguageDefinitionId": "OpenAI.Responses", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8938", + "$id": "8943", "kind": "client", "name": "Images", "namespace": "OpenAI", "methods": [ { - "$id": "8939", + "$id": "8944", "kind": "basic", "name": "GenerateImages", "accessibility": "public", "apiVersions": [], "summary": "Creates an image given a prompt", "operation": { - "$id": "8940", + "$id": "8945", "name": "GenerateImages", "resourceName": "Images", "summary": "Creates an image given a prompt", "accessibility": "public", "parameters": [ { - "$id": "8941", + "$id": "8946", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119034,7 +119105,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept" }, { - "$id": "8942", + "$id": "8947", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -119051,7 +119122,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType" }, { - "$id": "8943", + "$id": "8948", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -119099,7 +119170,7 @@ }, "parameters": [ { - "$id": "8944", + "$id": "8949", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119116,7 +119187,7 @@ "decorators": [] }, { - "$id": "8945", + "$id": "8950", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -119133,7 +119204,7 @@ "decorators": [] }, { - "$id": "8946", + "$id": "8951", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -119162,21 +119233,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage" }, { - "$id": "8947", + "$id": "8952", "kind": "basic", "name": "GenerateImageEdits", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "8948", + "$id": "8953", "name": "GenerateImageEdits", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "8949", + "$id": "8954", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119192,7 +119263,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept" }, { - "$id": "8950", + "$id": "8955", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -119208,7 +119279,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType" }, { - "$id": "8951", + "$id": "8956", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -119256,7 +119327,7 @@ }, "parameters": [ { - "$id": "8952", + "$id": "8957", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119273,7 +119344,7 @@ "decorators": [] }, { - "$id": "8953", + "$id": "8958", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -119290,7 +119361,7 @@ "decorators": [] }, { - "$id": "8954", + "$id": "8959", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -119318,21 +119389,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit" }, { - "$id": "8955", + "$id": "8960", "kind": "basic", "name": "GenerateImageVariations", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "8956", + "$id": "8961", "name": "GenerateImageVariations", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "8957", + "$id": "8962", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119348,7 +119419,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept" }, { - "$id": "8958", + "$id": "8963", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -119364,7 +119435,7 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType" }, { - "$id": "8959", + "$id": "8964", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -119412,7 +119483,7 @@ }, "parameters": [ { - "$id": "8960", + "$id": "8965", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119429,7 +119500,7 @@ "decorators": [] }, { - "$id": "8961", + "$id": "8966", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -119446,7 +119517,7 @@ "decorators": [] }, { - "$id": "8962", + "$id": "8967", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -119476,13 +119547,13 @@ ], "parameters": [ { - "$id": "8963", + "$id": "8968", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "8964", + "$id": "8969", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -119493,7 +119564,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "8965", + "$id": "8970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -119510,31 +119581,31 @@ "crossLanguageDefinitionId": "OpenAI.Images", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "8966", + "$id": "8971", "kind": "client", "name": "Messages", "namespace": "OpenAI", "methods": [ { - "$id": "8967", + "$id": "8972", "kind": "basic", "name": "createMessage", "accessibility": "public", "apiVersions": [], "summary": "Create a message.", "operation": { - "$id": "8968", + "$id": "8973", "name": "createMessage", "resourceName": "Messages", "summary": "Create a message.", "accessibility": "public", "parameters": [ { - "$id": "8969", + "$id": "8974", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119550,7 +119621,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept" }, { - "$id": "8970", + "$id": "8975", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -119566,13 +119637,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta" }, { - "$id": "8971", + "$id": "8976", "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": "8972", + "$id": "8977", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119590,7 +119661,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id" }, { - "$id": "8973", + "$id": "8978", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -119607,7 +119678,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType" }, { - "$id": "8974", + "$id": "8979", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -119655,7 +119726,7 @@ }, "parameters": [ { - "$id": "8975", + "$id": "8980", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119672,7 +119743,7 @@ "decorators": [] }, { - "$id": "8976", + "$id": "8981", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -119689,13 +119760,13 @@ "decorators": [] }, { - "$id": "8977", + "$id": "8982", "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": "8978", + "$id": "8983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119711,7 +119782,7 @@ "decorators": [] }, { - "$id": "8979", + "$id": "8984", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -119728,7 +119799,7 @@ "decorators": [] }, { - "$id": "8980", + "$id": "8985", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -119757,21 +119828,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage" }, { - "$id": "8981", + "$id": "8986", "kind": "paging", "name": "listMessages", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of messages for a given thread.", "operation": { - "$id": "8982", + "$id": "8987", "name": "listMessages", "resourceName": "Messages", "summary": "Returns a list of messages for a given thread.", "accessibility": "public", "parameters": [ { - "$id": "8983", + "$id": "8988", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -119787,7 +119858,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept" }, { - "$id": "8984", + "$id": "8989", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -119803,13 +119874,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta" }, { - "$id": "8985", + "$id": "8990", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "8986", + "$id": "8991", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119827,13 +119898,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id" }, { - "$id": "8987", + "$id": "8992", "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": "8988", + "$id": "8993", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -119848,7 +119919,7 @@ "readOnly": false }, { - "$id": "8989", + "$id": "8994", "kind": "query", "name": "order", "serializedName": "order", @@ -119865,13 +119936,13 @@ "readOnly": false }, { - "$id": "8990", + "$id": "8995", "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": "8991", + "$id": "8996", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119886,13 +119957,13 @@ "readOnly": false }, { - "$id": "8992", + "$id": "8997", "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": "8993", + "$id": "8998", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119933,7 +120004,7 @@ }, "parameters": [ { - "$id": "8994", + "$id": "8999", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -119950,7 +120021,7 @@ "decorators": [] }, { - "$id": "8995", + "$id": "9000", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -119967,13 +120038,13 @@ "decorators": [] }, { - "$id": "8996", + "$id": "9001", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "8997", + "$id": "9002", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -119989,13 +120060,13 @@ "decorators": [] }, { - "$id": "8998", + "$id": "9003", "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": "8999", + "$id": "9004", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -120011,7 +120082,7 @@ "decorators": [] }, { - "$id": "9000", + "$id": "9005", "kind": "method", "name": "order", "serializedName": "order", @@ -120029,13 +120100,13 @@ "decorators": [] }, { - "$id": "9001", + "$id": "9006", "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": "9002", + "$id": "9007", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120051,13 +120122,13 @@ "decorators": [] }, { - "$id": "9003", + "$id": "9008", "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": "9004", + "$id": "9009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120091,7 +120162,7 @@ ], "continuationToken": { "parameter": { - "$ref": "8990" + "$ref": "8995" }, "responseSegments": [ "last_id" @@ -120101,21 +120172,21 @@ } }, { - "$id": "9005", + "$id": "9010", "kind": "basic", "name": "getMessage", "accessibility": "public", "apiVersions": [], "summary": "Retrieve a message.", "operation": { - "$id": "9006", + "$id": "9011", "name": "getMessage", "resourceName": "Messages", "summary": "Retrieve a message.", "accessibility": "public", "parameters": [ { - "$id": "9007", + "$id": "9012", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120131,7 +120202,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept" }, { - "$id": "9008", + "$id": "9013", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120147,13 +120218,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta" }, { - "$id": "9009", + "$id": "9014", "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": "9010", + "$id": "9015", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120171,13 +120242,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id" }, { - "$id": "9011", + "$id": "9016", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9012", + "$id": "9017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120221,7 +120292,7 @@ }, "parameters": [ { - "$id": "9013", + "$id": "9018", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120238,7 +120309,7 @@ "decorators": [] }, { - "$id": "9014", + "$id": "9019", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120255,13 +120326,13 @@ "decorators": [] }, { - "$id": "9015", + "$id": "9020", "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": "9016", + "$id": "9021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120277,13 +120348,13 @@ "decorators": [] }, { - "$id": "9017", + "$id": "9022", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "9018", + "$id": "9023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120310,21 +120381,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage" }, { - "$id": "9019", + "$id": "9024", "kind": "basic", "name": "modifyMessage", "accessibility": "public", "apiVersions": [], "summary": "Modifies a message.", "operation": { - "$id": "9020", + "$id": "9025", "name": "modifyMessage", "resourceName": "Messages", "summary": "Modifies a message.", "accessibility": "public", "parameters": [ { - "$id": "9021", + "$id": "9026", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120340,7 +120411,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept" }, { - "$id": "9022", + "$id": "9027", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120356,13 +120427,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta" }, { - "$id": "9023", + "$id": "9028", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9024", + "$id": "9029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120380,13 +120451,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id" }, { - "$id": "9025", + "$id": "9030", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9026", + "$id": "9031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120404,7 +120475,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id" }, { - "$id": "9027", + "$id": "9032", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120421,7 +120492,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType" }, { - "$id": "9028", + "$id": "9033", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120469,7 +120540,7 @@ }, "parameters": [ { - "$id": "9029", + "$id": "9034", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120486,7 +120557,7 @@ "decorators": [] }, { - "$id": "9030", + "$id": "9035", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120503,13 +120574,13 @@ "decorators": [] }, { - "$id": "9031", + "$id": "9036", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9032", + "$id": "9037", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120525,13 +120596,13 @@ "decorators": [] }, { - "$id": "9033", + "$id": "9038", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "9034", + "$id": "9039", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120547,7 +120618,7 @@ "decorators": [] }, { - "$id": "9035", + "$id": "9040", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120564,7 +120635,7 @@ "decorators": [] }, { - "$id": "9036", + "$id": "9041", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -120593,21 +120664,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage" }, { - "$id": "9037", + "$id": "9042", "kind": "basic", "name": "deleteMessage", "accessibility": "public", "apiVersions": [], "summary": "Deletes a message.", "operation": { - "$id": "9038", + "$id": "9043", "name": "deleteMessage", "resourceName": "Messages", "summary": "Deletes a message.", "accessibility": "public", "parameters": [ { - "$id": "9039", + "$id": "9044", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120623,7 +120694,7 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept" }, { - "$id": "9040", + "$id": "9045", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120639,13 +120710,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta" }, { - "$id": "9041", + "$id": "9046", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9042", + "$id": "9047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120663,13 +120734,13 @@ "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id" }, { - "$id": "9043", + "$id": "9048", "kind": "path", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9044", + "$id": "9049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120713,7 +120784,7 @@ }, "parameters": [ { - "$id": "9045", + "$id": "9050", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120730,7 +120801,7 @@ "decorators": [] }, { - "$id": "9046", + "$id": "9051", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -120747,13 +120818,13 @@ "decorators": [] }, { - "$id": "9047", + "$id": "9052", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "9048", + "$id": "9053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120769,13 +120840,13 @@ "decorators": [] }, { - "$id": "9049", + "$id": "9054", "kind": "method", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "9050", + "$id": "9055", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -120804,13 +120875,13 @@ ], "parameters": [ { - "$id": "9051", + "$id": "9056", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9052", + "$id": "9057", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -120821,7 +120892,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9053", + "$id": "9058", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -120838,31 +120909,31 @@ "crossLanguageDefinitionId": "OpenAI.Messages", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9054", + "$id": "9059", "kind": "client", "name": "Moderations", "namespace": "OpenAI", "methods": [ { - "$id": "9055", + "$id": "9060", "kind": "basic", "name": "ClassifyText", "accessibility": "public", "apiVersions": [], "summary": "Classifies if text is potentially harmful.", "operation": { - "$id": "9056", + "$id": "9061", "name": "ClassifyText", "resourceName": "Moderations", "summary": "Classifies if text is potentially harmful.", "accessibility": "public", "parameters": [ { - "$id": "9057", + "$id": "9062", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -120878,7 +120949,7 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept" }, { - "$id": "9058", + "$id": "9063", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -120895,7 +120966,7 @@ "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType" }, { - "$id": "9059", + "$id": "9064", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -120943,7 +121014,7 @@ }, "parameters": [ { - "$id": "9060", + "$id": "9065", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -120960,7 +121031,7 @@ "decorators": [] }, { - "$id": "9061", + "$id": "9066", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -120977,7 +121048,7 @@ "decorators": [] }, { - "$id": "9062", + "$id": "9067", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -121008,13 +121079,13 @@ ], "parameters": [ { - "$id": "9063", + "$id": "9068", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9064", + "$id": "9069", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -121025,7 +121096,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9065", + "$id": "9070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -121042,31 +121113,31 @@ "crossLanguageDefinitionId": "OpenAI.Moderations", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9066", + "$id": "9071", "kind": "client", "name": "Runs", "namespace": "OpenAI", "methods": [ { - "$id": "9067", + "$id": "9072", "kind": "basic", "name": "createThreadAndRun", "accessibility": "public", "apiVersions": [], "summary": "Create a thread and run it in one request.", "operation": { - "$id": "9068", + "$id": "9073", "name": "createThreadAndRun", "resourceName": "Runs", "summary": "Create a thread and run it in one request.", "accessibility": "public", "parameters": [ { - "$id": "9069", + "$id": "9074", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121082,7 +121153,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept" }, { - "$id": "9070", + "$id": "9075", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121098,7 +121169,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta" }, { - "$id": "9071", + "$id": "9076", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -121115,7 +121186,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType" }, { - "$id": "9072", + "$id": "9077", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -121163,7 +121234,7 @@ }, "parameters": [ { - "$id": "9073", + "$id": "9078", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121180,7 +121251,7 @@ "decorators": [] }, { - "$id": "9074", + "$id": "9079", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121197,7 +121268,7 @@ "decorators": [] }, { - "$id": "9075", + "$id": "9080", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -121214,7 +121285,7 @@ "decorators": [] }, { - "$id": "9076", + "$id": "9081", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -121243,21 +121314,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun" }, { - "$id": "9077", + "$id": "9082", "kind": "basic", "name": "createRun", "accessibility": "public", "apiVersions": [], "summary": "Create a run.", "operation": { - "$id": "9078", + "$id": "9083", "name": "createRun", "resourceName": "Runs", "summary": "Create a run.", "accessibility": "public", "parameters": [ { - "$id": "9079", + "$id": "9084", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121273,7 +121344,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept" }, { - "$id": "9080", + "$id": "9085", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121289,13 +121360,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta" }, { - "$id": "9081", + "$id": "9086", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9082", + "$id": "9087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121313,13 +121384,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id" }, { - "$id": "9083", + "$id": "9088", "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": "9084", + "$id": "9089", "kind": "array", "name": "ArrayIncludedRunStepProperty", "valueType": { @@ -121338,7 +121409,7 @@ "readOnly": false }, { - "$id": "9085", + "$id": "9090", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -121355,7 +121426,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType" }, { - "$id": "9086", + "$id": "9091", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -121403,7 +121474,7 @@ }, "parameters": [ { - "$id": "9087", + "$id": "9092", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121420,7 +121491,7 @@ "decorators": [] }, { - "$id": "9088", + "$id": "9093", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121437,13 +121508,13 @@ "decorators": [] }, { - "$id": "9089", + "$id": "9094", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "9090", + "$id": "9095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121459,13 +121530,13 @@ "decorators": [] }, { - "$id": "9091", + "$id": "9096", "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": "9084" + "$ref": "9089" }, "location": "Query", "isApiVersion": false, @@ -121477,7 +121548,7 @@ "decorators": [] }, { - "$id": "9092", + "$id": "9097", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -121494,7 +121565,7 @@ "decorators": [] }, { - "$id": "9093", + "$id": "9098", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -121523,21 +121594,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun" }, { - "$id": "9094", + "$id": "9099", "kind": "paging", "name": "listRuns", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of runs belonging to a thread.", "operation": { - "$id": "9095", + "$id": "9100", "name": "listRuns", "resourceName": "Runs", "summary": "Returns a list of runs belonging to a thread.", "accessibility": "public", "parameters": [ { - "$id": "9096", + "$id": "9101", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121553,7 +121624,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept" }, { - "$id": "9097", + "$id": "9102", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121569,13 +121640,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta" }, { - "$id": "9098", + "$id": "9103", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9099", + "$id": "9104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121593,13 +121664,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id" }, { - "$id": "9100", + "$id": "9105", "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": "9101", + "$id": "9106", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121614,7 +121685,7 @@ "readOnly": false }, { - "$id": "9102", + "$id": "9107", "kind": "query", "name": "order", "serializedName": "order", @@ -121631,13 +121702,13 @@ "readOnly": false }, { - "$id": "9103", + "$id": "9108", "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": "9104", + "$id": "9109", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121652,13 +121723,13 @@ "readOnly": false }, { - "$id": "9105", + "$id": "9110", "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": "9106", + "$id": "9111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121699,7 +121770,7 @@ }, "parameters": [ { - "$id": "9107", + "$id": "9112", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -121716,7 +121787,7 @@ "decorators": [] }, { - "$id": "9108", + "$id": "9113", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121733,13 +121804,13 @@ "decorators": [] }, { - "$id": "9109", + "$id": "9114", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "9110", + "$id": "9115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121755,13 +121826,13 @@ "decorators": [] }, { - "$id": "9111", + "$id": "9116", "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": "9112", + "$id": "9117", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -121777,7 +121848,7 @@ "decorators": [] }, { - "$id": "9113", + "$id": "9118", "kind": "method", "name": "order", "serializedName": "order", @@ -121795,13 +121866,13 @@ "decorators": [] }, { - "$id": "9114", + "$id": "9119", "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": "9115", + "$id": "9120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121817,13 +121888,13 @@ "decorators": [] }, { - "$id": "9116", + "$id": "9121", "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": "9117", + "$id": "9122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121857,7 +121928,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9103" + "$ref": "9108" }, "responseSegments": [ "last_id" @@ -121867,21 +121938,21 @@ } }, { - "$id": "9118", + "$id": "9123", "kind": "basic", "name": "getRun", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run.", "operation": { - "$id": "9119", + "$id": "9124", "name": "getRun", "resourceName": "Runs", "summary": "Retrieves a run.", "accessibility": "public", "parameters": [ { - "$id": "9120", + "$id": "9125", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -121897,7 +121968,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept" }, { - "$id": "9121", + "$id": "9126", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -121913,13 +121984,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta" }, { - "$id": "9122", + "$id": "9127", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9123", + "$id": "9128", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121937,13 +122008,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id" }, { - "$id": "9124", + "$id": "9129", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9125", + "$id": "9130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -121987,7 +122058,7 @@ }, "parameters": [ { - "$id": "9126", + "$id": "9131", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122004,7 +122075,7 @@ "decorators": [] }, { - "$id": "9127", + "$id": "9132", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122021,13 +122092,13 @@ "decorators": [] }, { - "$id": "9128", + "$id": "9133", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9129", + "$id": "9134", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122043,13 +122114,13 @@ "decorators": [] }, { - "$id": "9130", + "$id": "9135", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "9131", + "$id": "9136", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122076,21 +122147,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun" }, { - "$id": "9132", + "$id": "9137", "kind": "basic", "name": "modifyRun", "accessibility": "public", "apiVersions": [], "summary": "Modifies a run.", "operation": { - "$id": "9133", + "$id": "9138", "name": "modifyRun", "resourceName": "Runs", "summary": "Modifies a run.", "accessibility": "public", "parameters": [ { - "$id": "9134", + "$id": "9139", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122106,7 +122177,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept" }, { - "$id": "9135", + "$id": "9140", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122122,13 +122193,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta" }, { - "$id": "9136", + "$id": "9141", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9137", + "$id": "9142", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122146,13 +122217,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id" }, { - "$id": "9138", + "$id": "9143", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9139", + "$id": "9144", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122170,7 +122241,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id" }, { - "$id": "9140", + "$id": "9145", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -122187,7 +122258,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType" }, { - "$id": "9141", + "$id": "9146", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -122235,7 +122306,7 @@ }, "parameters": [ { - "$id": "9142", + "$id": "9147", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122252,7 +122323,7 @@ "decorators": [] }, { - "$id": "9143", + "$id": "9148", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122269,13 +122340,13 @@ "decorators": [] }, { - "$id": "9144", + "$id": "9149", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "9145", + "$id": "9150", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122291,13 +122362,13 @@ "decorators": [] }, { - "$id": "9146", + "$id": "9151", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "9147", + "$id": "9152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122313,7 +122384,7 @@ "decorators": [] }, { - "$id": "9148", + "$id": "9153", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -122330,7 +122401,7 @@ "decorators": [] }, { - "$id": "9149", + "$id": "9154", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -122359,21 +122430,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun" }, { - "$id": "9150", + "$id": "9155", "kind": "basic", "name": "cancelRun", "accessibility": "public", "apiVersions": [], "summary": "Cancels a run that is `in_progress`.", "operation": { - "$id": "9151", + "$id": "9156", "name": "cancelRun", "resourceName": "Runs", "summary": "Cancels a run that is `in_progress`.", "accessibility": "public", "parameters": [ { - "$id": "9152", + "$id": "9157", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122389,7 +122460,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept" }, { - "$id": "9153", + "$id": "9158", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122405,13 +122476,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta" }, { - "$id": "9154", + "$id": "9159", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9155", + "$id": "9160", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122429,13 +122500,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id" }, { - "$id": "9156", + "$id": "9161", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9157", + "$id": "9162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122479,7 +122550,7 @@ }, "parameters": [ { - "$id": "9158", + "$id": "9163", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122496,7 +122567,7 @@ "decorators": [] }, { - "$id": "9159", + "$id": "9164", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122513,13 +122584,13 @@ "decorators": [] }, { - "$id": "9160", + "$id": "9165", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "9161", + "$id": "9166", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122535,13 +122606,13 @@ "decorators": [] }, { - "$id": "9162", + "$id": "9167", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "9163", + "$id": "9168", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122568,21 +122639,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun" }, { - "$id": "9164", + "$id": "9169", "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": "9165", + "$id": "9170", "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": "9166", + "$id": "9171", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122598,7 +122669,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept" }, { - "$id": "9167", + "$id": "9172", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122614,13 +122685,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta" }, { - "$id": "9168", + "$id": "9173", "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": "9169", + "$id": "9174", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122638,13 +122709,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id" }, { - "$id": "9170", + "$id": "9175", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9171", + "$id": "9176", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122662,7 +122733,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id" }, { - "$id": "9172", + "$id": "9177", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -122679,7 +122750,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType" }, { - "$id": "9173", + "$id": "9178", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -122727,7 +122798,7 @@ }, "parameters": [ { - "$id": "9174", + "$id": "9179", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -122744,7 +122815,7 @@ "decorators": [] }, { - "$id": "9175", + "$id": "9180", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122761,13 +122832,13 @@ "decorators": [] }, { - "$id": "9176", + "$id": "9181", "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": "9177", + "$id": "9182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122783,13 +122854,13 @@ "decorators": [] }, { - "$id": "9178", + "$id": "9183", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "9179", + "$id": "9184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122805,7 +122876,7 @@ "decorators": [] }, { - "$id": "9180", + "$id": "9185", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -122822,7 +122893,7 @@ "decorators": [] }, { - "$id": "9181", + "$id": "9186", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -122851,21 +122922,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun" }, { - "$id": "9182", + "$id": "9187", "kind": "paging", "name": "listRunSteps", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of run steps belonging to a run.", "operation": { - "$id": "9183", + "$id": "9188", "name": "listRunSteps", "resourceName": "Runs", "summary": "Returns a list of run steps belonging to a run.", "accessibility": "public", "parameters": [ { - "$id": "9184", + "$id": "9189", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -122881,7 +122952,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept" }, { - "$id": "9185", + "$id": "9190", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -122897,13 +122968,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta" }, { - "$id": "9186", + "$id": "9191", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9187", + "$id": "9192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122921,13 +122992,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id" }, { - "$id": "9188", + "$id": "9193", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9189", + "$id": "9194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -122945,13 +123016,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id" }, { - "$id": "9190", + "$id": "9195", "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": "9191", + "$id": "9196", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -122966,7 +123037,7 @@ "readOnly": false }, { - "$id": "9192", + "$id": "9197", "kind": "query", "name": "order", "serializedName": "order", @@ -122983,13 +123054,13 @@ "readOnly": false }, { - "$id": "9193", + "$id": "9198", "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": "9194", + "$id": "9199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123004,13 +123075,13 @@ "readOnly": false }, { - "$id": "9195", + "$id": "9200", "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": "9196", + "$id": "9201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123025,13 +123096,13 @@ "readOnly": false }, { - "$id": "9197", + "$id": "9202", "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": "9084" + "$ref": "9089" }, "isApiVersion": false, "explode": false, @@ -123069,7 +123140,7 @@ }, "parameters": [ { - "$id": "9198", + "$id": "9203", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123086,7 +123157,7 @@ "decorators": [] }, { - "$id": "9199", + "$id": "9204", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123103,13 +123174,13 @@ "decorators": [] }, { - "$id": "9200", + "$id": "9205", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "9201", + "$id": "9206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123125,13 +123196,13 @@ "decorators": [] }, { - "$id": "9202", + "$id": "9207", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "9203", + "$id": "9208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123147,13 +123218,13 @@ "decorators": [] }, { - "$id": "9204", + "$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": "9205", + "$id": "9210", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -123169,7 +123240,7 @@ "decorators": [] }, { - "$id": "9206", + "$id": "9211", "kind": "method", "name": "order", "serializedName": "order", @@ -123187,13 +123258,13 @@ "decorators": [] }, { - "$id": "9207", + "$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": "9208", + "$id": "9213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123209,13 +123280,13 @@ "decorators": [] }, { - "$id": "9209", + "$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": "9210", + "$id": "9215", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123231,13 +123302,13 @@ "decorators": [] }, { - "$id": "9211", + "$id": "9216", "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": "9084" + "$ref": "9089" }, "location": "Query", "isApiVersion": false, @@ -123267,7 +123338,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9193" + "$ref": "9198" }, "responseSegments": [ "last_id" @@ -123277,21 +123348,21 @@ } }, { - "$id": "9212", + "$id": "9217", "kind": "basic", "name": "getRunStep", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run step.", "operation": { - "$id": "9213", + "$id": "9218", "name": "getRunStep", "resourceName": "Runs", "summary": "Retrieves a run step.", "accessibility": "public", "parameters": [ { - "$id": "9214", + "$id": "9219", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123307,7 +123378,7 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept" }, { - "$id": "9215", + "$id": "9220", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123323,13 +123394,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta" }, { - "$id": "9216", + "$id": "9221", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9217", + "$id": "9222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123347,13 +123418,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id" }, { - "$id": "9218", + "$id": "9223", "kind": "path", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9219", + "$id": "9224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123371,13 +123442,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id" }, { - "$id": "9220", + "$id": "9225", "kind": "path", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9221", + "$id": "9226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123395,13 +123466,13 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id" }, { - "$id": "9222", + "$id": "9227", "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": "9084" + "$ref": "9089" }, "isApiVersion": false, "explode": false, @@ -123439,7 +123510,7 @@ }, "parameters": [ { - "$id": "9223", + "$id": "9228", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123456,7 +123527,7 @@ "decorators": [] }, { - "$id": "9224", + "$id": "9229", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123473,13 +123544,13 @@ "decorators": [] }, { - "$id": "9225", + "$id": "9230", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "9226", + "$id": "9231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123495,13 +123566,13 @@ "decorators": [] }, { - "$id": "9227", + "$id": "9232", "kind": "method", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "9228", + "$id": "9233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123517,13 +123588,13 @@ "decorators": [] }, { - "$id": "9229", + "$id": "9234", "kind": "method", "name": "step_id", "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "9230", + "$id": "9235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123539,13 +123610,13 @@ "decorators": [] }, { - "$id": "9231", + "$id": "9236", "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": "9084" + "$ref": "9089" }, "location": "Query", "isApiVersion": false, @@ -123570,13 +123641,13 @@ ], "parameters": [ { - "$id": "9232", + "$id": "9237", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9233", + "$id": "9238", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -123587,7 +123658,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9234", + "$id": "9239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -123604,31 +123675,31 @@ "crossLanguageDefinitionId": "OpenAI.Runs", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9235", + "$id": "9240", "kind": "client", "name": "Threads", "namespace": "OpenAI", "methods": [ { - "$id": "9236", + "$id": "9241", "kind": "basic", "name": "createThread", "accessibility": "public", "apiVersions": [], "summary": "Create a thread.", "operation": { - "$id": "9237", + "$id": "9242", "name": "createThread", "resourceName": "Threads", "summary": "Create a thread.", "accessibility": "public", "parameters": [ { - "$id": "9238", + "$id": "9243", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123644,7 +123715,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept" }, { - "$id": "9239", + "$id": "9244", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123660,7 +123731,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta" }, { - "$id": "9240", + "$id": "9245", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -123677,7 +123748,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType" }, { - "$id": "9241", + "$id": "9246", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -123725,7 +123796,7 @@ }, "parameters": [ { - "$id": "9242", + "$id": "9247", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123742,7 +123813,7 @@ "decorators": [] }, { - "$id": "9243", + "$id": "9248", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123759,7 +123830,7 @@ "decorators": [] }, { - "$id": "9244", + "$id": "9249", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -123776,7 +123847,7 @@ "decorators": [] }, { - "$id": "9245", + "$id": "9250", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -123805,21 +123876,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread" }, { - "$id": "9246", + "$id": "9251", "kind": "basic", "name": "getThread", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a thread.", "operation": { - "$id": "9247", + "$id": "9252", "name": "getThread", "resourceName": "Threads", "summary": "Retrieves a thread.", "accessibility": "public", "parameters": [ { - "$id": "9248", + "$id": "9253", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123835,7 +123906,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept" }, { - "$id": "9249", + "$id": "9254", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123851,13 +123922,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta" }, { - "$id": "9250", + "$id": "9255", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9251", + "$id": "9256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123901,7 +123972,7 @@ }, "parameters": [ { - "$id": "9252", + "$id": "9257", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -123918,7 +123989,7 @@ "decorators": [] }, { - "$id": "9253", + "$id": "9258", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -123935,13 +124006,13 @@ "decorators": [] }, { - "$id": "9254", + "$id": "9259", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "9255", + "$id": "9260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -123968,21 +124039,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread" }, { - "$id": "9256", + "$id": "9261", "kind": "basic", "name": "modifyThread", "accessibility": "public", "apiVersions": [], "summary": "Modifies a thread.", "operation": { - "$id": "9257", + "$id": "9262", "name": "modifyThread", "resourceName": "Threads", "summary": "Modifies a thread.", "accessibility": "public", "parameters": [ { - "$id": "9258", + "$id": "9263", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -123998,7 +124069,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept" }, { - "$id": "9259", + "$id": "9264", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124014,13 +124085,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta" }, { - "$id": "9260", + "$id": "9265", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9261", + "$id": "9266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124038,7 +124109,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id" }, { - "$id": "9262", + "$id": "9267", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -124055,7 +124126,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType" }, { - "$id": "9263", + "$id": "9268", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -124103,7 +124174,7 @@ }, "parameters": [ { - "$id": "9264", + "$id": "9269", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124120,7 +124191,7 @@ "decorators": [] }, { - "$id": "9265", + "$id": "9270", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124137,13 +124208,13 @@ "decorators": [] }, { - "$id": "9266", + "$id": "9271", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "9267", + "$id": "9272", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124159,7 +124230,7 @@ "decorators": [] }, { - "$id": "9268", + "$id": "9273", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -124176,7 +124247,7 @@ "decorators": [] }, { - "$id": "9269", + "$id": "9274", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -124205,21 +124276,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread" }, { - "$id": "9270", + "$id": "9275", "kind": "basic", "name": "deleteThread", "accessibility": "public", "apiVersions": [], "summary": "Delete a thread.", "operation": { - "$id": "9271", + "$id": "9276", "name": "deleteThread", "resourceName": "Threads", "summary": "Delete a thread.", "accessibility": "public", "parameters": [ { - "$id": "9272", + "$id": "9277", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124235,7 +124306,7 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept" }, { - "$id": "9273", + "$id": "9278", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124251,13 +124322,13 @@ "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta" }, { - "$id": "9274", + "$id": "9279", "kind": "path", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9275", + "$id": "9280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124301,7 +124372,7 @@ }, "parameters": [ { - "$id": "9276", + "$id": "9281", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124318,7 +124389,7 @@ "decorators": [] }, { - "$id": "9277", + "$id": "9282", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -124335,13 +124406,13 @@ "decorators": [] }, { - "$id": "9278", + "$id": "9283", "kind": "method", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "9279", + "$id": "9284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124370,13 +124441,13 @@ ], "parameters": [ { - "$id": "9280", + "$id": "9285", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9281", + "$id": "9286", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -124387,7 +124458,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9282", + "$id": "9287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -124404,31 +124475,31 @@ "crossLanguageDefinitionId": "OpenAI.Threads", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9283", + "$id": "9288", "kind": "client", "name": "VectorStores", "namespace": "OpenAI", "methods": [ { - "$id": "9284", + "$id": "9289", "kind": "paging", "name": "GetVectorStores", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector stores.", "operation": { - "$id": "9285", + "$id": "9290", "name": "GetVectorStores", "resourceName": "VectorStores", "summary": "Returns a list of vector stores.", "accessibility": "public", "parameters": [ { - "$id": "9286", + "$id": "9291", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124444,13 +124515,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept" }, { - "$id": "9287", + "$id": "9292", "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": "9288", + "$id": "9293", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124465,7 +124536,7 @@ "readOnly": false }, { - "$id": "9289", + "$id": "9294", "kind": "query", "name": "order", "serializedName": "order", @@ -124482,13 +124553,13 @@ "readOnly": false }, { - "$id": "9290", + "$id": "9295", "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": "9291", + "$id": "9296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124503,13 +124574,13 @@ "readOnly": false }, { - "$id": "9292", + "$id": "9297", "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": "9293", + "$id": "9298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124550,7 +124621,7 @@ }, "parameters": [ { - "$id": "9294", + "$id": "9299", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124567,13 +124638,13 @@ "decorators": [] }, { - "$id": "9295", + "$id": "9300", "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": "9296", + "$id": "9301", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -124589,7 +124660,7 @@ "decorators": [] }, { - "$id": "9297", + "$id": "9302", "kind": "method", "name": "order", "serializedName": "order", @@ -124607,13 +124678,13 @@ "decorators": [] }, { - "$id": "9298", + "$id": "9303", "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": "9299", + "$id": "9304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124629,13 +124700,13 @@ "decorators": [] }, { - "$id": "9300", + "$id": "9305", "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": "9301", + "$id": "9306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124669,7 +124740,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9290" + "$ref": "9295" }, "responseSegments": [ "last_id" @@ -124679,21 +124750,21 @@ } }, { - "$id": "9302", + "$id": "9307", "kind": "basic", "name": "createVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Creates a vector store.", "operation": { - "$id": "9303", + "$id": "9308", "name": "createVectorStore", "resourceName": "VectorStores", "summary": "Creates a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9304", + "$id": "9309", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124709,7 +124780,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept" }, { - "$id": "9305", + "$id": "9310", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -124726,7 +124797,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType" }, { - "$id": "9306", + "$id": "9311", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -124774,7 +124845,7 @@ }, "parameters": [ { - "$id": "9307", + "$id": "9312", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124791,7 +124862,7 @@ "decorators": [] }, { - "$id": "9308", + "$id": "9313", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -124808,7 +124879,7 @@ "decorators": [] }, { - "$id": "9309", + "$id": "9314", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -124837,21 +124908,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore" }, { - "$id": "9310", + "$id": "9315", "kind": "basic", "name": "getVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store.", "operation": { - "$id": "9311", + "$id": "9316", "name": "getVectorStore", "resourceName": "VectorStores", "summary": "Retrieves a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9312", + "$id": "9317", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124867,13 +124938,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" }, { - "$id": "9313", + "$id": "9318", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "9314", + "$id": "9319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124917,7 +124988,7 @@ }, "parameters": [ { - "$id": "9315", + "$id": "9320", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -124934,13 +125005,13 @@ "decorators": [] }, { - "$id": "9316", + "$id": "9321", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "9317", + "$id": "9322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -124967,21 +125038,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" }, { - "$id": "9318", + "$id": "9323", "kind": "basic", "name": "modifyVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Modifies a vector store.", "operation": { - "$id": "9319", + "$id": "9324", "name": "modifyVectorStore", "resourceName": "VectorStores", "summary": "Modifies a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9320", + "$id": "9325", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -124997,13 +125068,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" }, { - "$id": "9321", + "$id": "9326", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "9322", + "$id": "9327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125021,7 +125092,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" }, { - "$id": "9323", + "$id": "9328", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -125038,7 +125109,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" }, { - "$id": "9324", + "$id": "9329", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -125086,7 +125157,7 @@ }, "parameters": [ { - "$id": "9325", + "$id": "9330", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125103,13 +125174,13 @@ "decorators": [] }, { - "$id": "9326", + "$id": "9331", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "9327", + "$id": "9332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125125,7 +125196,7 @@ "decorators": [] }, { - "$id": "9328", + "$id": "9333", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -125142,7 +125213,7 @@ "decorators": [] }, { - "$id": "9329", + "$id": "9334", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -125171,21 +125242,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" }, { - "$id": "9330", + "$id": "9335", "kind": "basic", "name": "deleteVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Delete a vector store.", "operation": { - "$id": "9331", + "$id": "9336", "name": "deleteVectorStore", "resourceName": "VectorStores", "summary": "Delete a vector store.", "accessibility": "public", "parameters": [ { - "$id": "9332", + "$id": "9337", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125201,13 +125272,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" }, { - "$id": "9333", + "$id": "9338", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "9334", + "$id": "9339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125251,7 +125322,7 @@ }, "parameters": [ { - "$id": "9335", + "$id": "9340", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125268,13 +125339,13 @@ "decorators": [] }, { - "$id": "9336", + "$id": "9341", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "9337", + "$id": "9342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125301,21 +125372,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" }, { - "$id": "9338", + "$id": "9343", "kind": "basic", "name": "AddFileBatchToVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Create a vector store file batch.", "operation": { - "$id": "9339", + "$id": "9344", "name": "AddFileBatchToVectorStore", "resourceName": "VectorStores", "summary": "Create a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9340", + "$id": "9345", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125331,13 +125402,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" }, { - "$id": "9341", + "$id": "9346", "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": "9342", + "$id": "9347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125355,7 +125426,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" }, { - "$id": "9343", + "$id": "9348", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -125372,7 +125443,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" }, { - "$id": "9344", + "$id": "9349", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -125420,7 +125491,7 @@ }, "parameters": [ { - "$id": "9345", + "$id": "9350", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125437,13 +125508,13 @@ "decorators": [] }, { - "$id": "9346", + "$id": "9351", "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": "9347", + "$id": "9352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125459,7 +125530,7 @@ "decorators": [] }, { - "$id": "9348", + "$id": "9353", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -125476,7 +125547,7 @@ "decorators": [] }, { - "$id": "9349", + "$id": "9354", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -125505,21 +125576,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" }, { - "$id": "9350", + "$id": "9355", "kind": "basic", "name": "getVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file batch.", "operation": { - "$id": "9351", + "$id": "9356", "name": "getVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Retrieves a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "9352", + "$id": "9357", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125535,13 +125606,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" }, { - "$id": "9353", + "$id": "9358", "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": "9354", + "$id": "9359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125559,13 +125630,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" }, { - "$id": "9355", + "$id": "9360", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "9356", + "$id": "9361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125609,7 +125680,7 @@ }, "parameters": [ { - "$id": "9357", + "$id": "9362", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125626,13 +125697,13 @@ "decorators": [] }, { - "$id": "9358", + "$id": "9363", "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": "9359", + "$id": "9364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125648,13 +125719,13 @@ "decorators": [] }, { - "$id": "9360", + "$id": "9365", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "9361", + "$id": "9366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125681,21 +125752,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" }, { - "$id": "9362", + "$id": "9367", "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": "9363", + "$id": "9368", "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": "9364", + "$id": "9369", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125711,13 +125782,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" }, { - "$id": "9365", + "$id": "9370", "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": "9366", + "$id": "9371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125735,13 +125806,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" }, { - "$id": "9367", + "$id": "9372", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "9368", + "$id": "9373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125785,7 +125856,7 @@ }, "parameters": [ { - "$id": "9369", + "$id": "9374", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -125802,13 +125873,13 @@ "decorators": [] }, { - "$id": "9370", + "$id": "9375", "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": "9371", + "$id": "9376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125824,13 +125895,13 @@ "decorators": [] }, { - "$id": "9372", + "$id": "9377", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "9373", + "$id": "9378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125857,21 +125928,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" }, { - "$id": "9374", + "$id": "9379", "kind": "paging", "name": "GetVectorStoreFilesInBatch", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files in a batch.", "operation": { - "$id": "9375", + "$id": "9380", "name": "GetVectorStoreFilesInBatch", "resourceName": "VectorStores", "summary": "Returns a list of vector store files in a batch.", "accessibility": "public", "parameters": [ { - "$id": "9376", + "$id": "9381", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -125887,13 +125958,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" }, { - "$id": "9377", + "$id": "9382", "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": "9378", + "$id": "9383", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125911,13 +125982,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" }, { - "$id": "9379", + "$id": "9384", "kind": "path", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "9380", + "$id": "9385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125935,13 +126006,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" }, { - "$id": "9381", + "$id": "9386", "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": "9387", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -125956,7 +126027,7 @@ "readOnly": false }, { - "$id": "9383", + "$id": "9388", "kind": "query", "name": "order", "serializedName": "order", @@ -125973,13 +126044,13 @@ "readOnly": false }, { - "$id": "9384", + "$id": "9389", "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": "9390", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -125994,13 +126065,13 @@ "readOnly": false }, { - "$id": "9386", + "$id": "9391", "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": "9392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126015,7 +126086,7 @@ "readOnly": false }, { - "$id": "9388", + "$id": "9393", "kind": "query", "name": "filter", "serializedName": "filter", @@ -126058,7 +126129,7 @@ }, "parameters": [ { - "$id": "9389", + "$id": "9394", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126075,13 +126146,13 @@ "decorators": [] }, { - "$id": "9390", + "$id": "9395", "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": "9391", + "$id": "9396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126097,13 +126168,13 @@ "decorators": [] }, { - "$id": "9392", + "$id": "9397", "kind": "method", "name": "batch_id", "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "9393", + "$id": "9398", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126119,13 +126190,13 @@ "decorators": [] }, { - "$id": "9394", + "$id": "9399", "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": "9395", + "$id": "9400", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -126141,7 +126212,7 @@ "decorators": [] }, { - "$id": "9396", + "$id": "9401", "kind": "method", "name": "order", "serializedName": "order", @@ -126159,13 +126230,13 @@ "decorators": [] }, { - "$id": "9397", + "$id": "9402", "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": "9398", + "$id": "9403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126181,13 +126252,13 @@ "decorators": [] }, { - "$id": "9399", + "$id": "9404", "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": "9400", + "$id": "9405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126203,7 +126274,7 @@ "decorators": [] }, { - "$id": "9401", + "$id": "9406", "kind": "method", "name": "filter", "serializedName": "filter", @@ -126239,7 +126310,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9384" + "$ref": "9389" }, "responseSegments": [ "last_id" @@ -126249,21 +126320,21 @@ } }, { - "$id": "9402", + "$id": "9407", "kind": "paging", "name": "listVectorStoreFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files.", "operation": { - "$id": "9403", + "$id": "9408", "name": "listVectorStoreFiles", "resourceName": "VectorStores", "summary": "Returns a list of vector store files.", "accessibility": "public", "parameters": [ { - "$id": "9404", + "$id": "9409", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126279,13 +126350,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" }, { - "$id": "9405", + "$id": "9410", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9406", + "$id": "9411", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126303,13 +126374,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" }, { - "$id": "9407", + "$id": "9412", "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": "9408", + "$id": "9413", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -126324,7 +126395,7 @@ "readOnly": false }, { - "$id": "9409", + "$id": "9414", "kind": "query", "name": "order", "serializedName": "order", @@ -126341,13 +126412,13 @@ "readOnly": false }, { - "$id": "9410", + "$id": "9415", "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": "9411", + "$id": "9416", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126362,13 +126433,13 @@ "readOnly": false }, { - "$id": "9412", + "$id": "9417", "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": "9413", + "$id": "9418", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126383,7 +126454,7 @@ "readOnly": false }, { - "$id": "9414", + "$id": "9419", "kind": "query", "name": "filter", "serializedName": "filter", @@ -126426,7 +126497,7 @@ }, "parameters": [ { - "$id": "9415", + "$id": "9420", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126443,13 +126514,13 @@ "decorators": [] }, { - "$id": "9416", + "$id": "9421", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "9417", + "$id": "9422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126465,13 +126536,13 @@ "decorators": [] }, { - "$id": "9418", + "$id": "9423", "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": "9419", + "$id": "9424", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -126487,7 +126558,7 @@ "decorators": [] }, { - "$id": "9420", + "$id": "9425", "kind": "method", "name": "order", "serializedName": "order", @@ -126505,13 +126576,13 @@ "decorators": [] }, { - "$id": "9421", + "$id": "9426", "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": "9422", + "$id": "9427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126527,13 +126598,13 @@ "decorators": [] }, { - "$id": "9423", + "$id": "9428", "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": "9424", + "$id": "9429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126549,7 +126620,7 @@ "decorators": [] }, { - "$id": "9425", + "$id": "9430", "kind": "method", "name": "filter", "serializedName": "filter", @@ -126585,7 +126656,7 @@ ], "continuationToken": { "parameter": { - "$ref": "9410" + "$ref": "9415" }, "responseSegments": [ "last_id" @@ -126595,21 +126666,21 @@ } }, { - "$id": "9426", + "$id": "9431", "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": "9427", + "$id": "9432", "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": "9428", + "$id": "9433", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126625,13 +126696,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" }, { - "$id": "9429", + "$id": "9434", "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": "9430", + "$id": "9435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126649,7 +126720,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" }, { - "$id": "9431", + "$id": "9436", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -126666,7 +126737,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" }, { - "$id": "9432", + "$id": "9437", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -126714,7 +126785,7 @@ }, "parameters": [ { - "$id": "9433", + "$id": "9438", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126731,13 +126802,13 @@ "decorators": [] }, { - "$id": "9434", + "$id": "9439", "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": "9435", + "$id": "9440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126753,7 +126824,7 @@ "decorators": [] }, { - "$id": "9436", + "$id": "9441", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -126770,7 +126841,7 @@ "decorators": [] }, { - "$id": "9437", + "$id": "9442", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -126799,21 +126870,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" }, { - "$id": "9438", + "$id": "9443", "kind": "basic", "name": "getVectorStoreFile", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file.", "operation": { - "$id": "9439", + "$id": "9444", "name": "getVectorStoreFile", "resourceName": "VectorStores", "summary": "Retrieves a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9440", + "$id": "9445", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -126829,13 +126900,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" }, { - "$id": "9441", + "$id": "9446", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9442", + "$id": "9447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126853,13 +126924,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" }, { - "$id": "9443", + "$id": "9448", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "9444", + "$id": "9449", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126903,7 +126974,7 @@ }, "parameters": [ { - "$id": "9445", + "$id": "9450", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -126920,13 +126991,13 @@ "decorators": [] }, { - "$id": "9446", + "$id": "9451", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9447", + "$id": "9452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126942,13 +127013,13 @@ "decorators": [] }, { - "$id": "9448", + "$id": "9453", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "9449", + "$id": "9454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -126975,21 +127046,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" }, { - "$id": "9450", + "$id": "9455", "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": "9451", + "$id": "9456", "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": "9452", + "$id": "9457", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127005,13 +127076,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" }, { - "$id": "9453", + "$id": "9458", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9454", + "$id": "9459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127029,13 +127100,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" }, { - "$id": "9455", + "$id": "9460", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "9456", + "$id": "9461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127079,7 +127150,7 @@ }, "parameters": [ { - "$id": "9457", + "$id": "9462", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127096,13 +127167,13 @@ "decorators": [] }, { - "$id": "9458", + "$id": "9463", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9459", + "$id": "9464", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127118,13 +127189,13 @@ "decorators": [] }, { - "$id": "9460", + "$id": "9465", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "9461", + "$id": "9466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127151,27 +127222,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" }, { - "$id": "9462", + "$id": "9467", "kind": "basic", "name": "updateVectorStoreFileAttributes", "accessibility": "public", "apiVersions": [], "summary": "Update the attributes of a vector store file.", "operation": { - "$id": "9463", + "$id": "9468", "name": "updateVectorStoreFileAttributes", "resourceName": "VectorStores", "summary": "Update the attributes of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9464", + "$id": "9469", "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": "9465", + "$id": "9470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127189,13 +127260,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" }, { - "$id": "9466", + "$id": "9471", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9467", + "$id": "9472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127213,7 +127284,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" }, { - "$id": "9468", + "$id": "9473", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -127230,7 +127301,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" }, { - "$id": "9469", + "$id": "9474", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127246,7 +127317,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" }, { - "$id": "9470", + "$id": "9475", "kind": "body", "name": "updateVectorStoreFileAttributesRequest", "serializedName": "updateVectorStoreFileAttributesRequest", @@ -127294,13 +127365,13 @@ }, "parameters": [ { - "$id": "9471", + "$id": "9476", "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": "9472", + "$id": "9477", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127316,13 +127387,13 @@ "decorators": [] }, { - "$id": "9473", + "$id": "9478", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "9474", + "$id": "9479", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127338,7 +127409,7 @@ "decorators": [] }, { - "$id": "9475", + "$id": "9480", "kind": "method", "name": "attributes", "serializedName": "attributes", @@ -127355,7 +127426,7 @@ "decorators": [] }, { - "$id": "9476", + "$id": "9481", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -127373,7 +127444,7 @@ "decorators": [] }, { - "$id": "9477", + "$id": "9482", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127401,27 +127472,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" }, { - "$id": "9478", + "$id": "9483", "kind": "basic", "name": "retrieveVectorStoreFileContent", "accessibility": "public", "apiVersions": [], "summary": "Retrieves the content of a vector store file.", "operation": { - "$id": "9479", + "$id": "9484", "name": "retrieveVectorStoreFileContent", "resourceName": "VectorStores", "summary": "Retrieves the content of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "9480", + "$id": "9485", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9481", + "$id": "9486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127439,13 +127510,13 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" }, { - "$id": "9482", + "$id": "9487", "kind": "path", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9483", + "$id": "9488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127463,7 +127534,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" }, { - "$id": "9484", + "$id": "9489", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127505,13 +127576,13 @@ }, "parameters": [ { - "$id": "9485", + "$id": "9490", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "9486", + "$id": "9491", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127527,13 +127598,13 @@ "decorators": [] }, { - "$id": "9487", + "$id": "9492", "kind": "method", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "9488", + "$id": "9493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127549,7 +127620,7 @@ "decorators": [] }, { - "$id": "9489", + "$id": "9494", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127577,27 +127648,27 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" }, { - "$id": "9490", + "$id": "9495", "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": "9491", + "$id": "9496", "name": "searchVectorStore", "resourceName": "VectorStores", "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "accessibility": "public", "parameters": [ { - "$id": "9492", + "$id": "9497", "kind": "path", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "9493", + "$id": "9498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127615,7 +127686,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" }, { - "$id": "9494", + "$id": "9499", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -127632,7 +127703,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" }, { - "$id": "9495", + "$id": "9500", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127648,7 +127719,7 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" }, { - "$id": "9496", + "$id": "9501", "kind": "body", "name": "vectorStoreSearchRequest", "serializedName": "vectorStoreSearchRequest", @@ -127696,13 +127767,13 @@ }, "parameters": [ { - "$id": "9497", + "$id": "9502", "kind": "method", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "9498", + "$id": "9503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -127718,7 +127789,7 @@ "decorators": [] }, { - "$id": "9499", + "$id": "9504", "kind": "method", "name": "query", "serializedName": "query", @@ -127736,13 +127807,13 @@ "decorators": [] }, { - "$id": "9500", + "$id": "9505", "kind": "method", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "9501", + "$id": "9506", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -127758,13 +127829,13 @@ "decorators": [] }, { - "$id": "9502", + "$id": "9507", "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": "9503", + "$id": "9508", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -127780,7 +127851,7 @@ "decorators": [] }, { - "$id": "9504", + "$id": "9509", "kind": "method", "name": "filters", "serializedName": "filters", @@ -127798,7 +127869,7 @@ "decorators": [] }, { - "$id": "9505", + "$id": "9510", "kind": "method", "name": "ranking_options", "serializedName": "ranking_options", @@ -127816,7 +127887,7 @@ "decorators": [] }, { - "$id": "9506", + "$id": "9511", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -127834,7 +127905,7 @@ "decorators": [] }, { - "$id": "9507", + "$id": "9512", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -127864,13 +127935,13 @@ ], "parameters": [ { - "$id": "9508", + "$id": "9513", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9509", + "$id": "9514", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -127881,7 +127952,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9510", + "$id": "9515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -127898,31 +127969,31 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9511", + "$id": "9516", "kind": "client", "name": "Completions", "namespace": "OpenAI", "methods": [ { - "$id": "9512", + "$id": "9517", "kind": "basic", "name": "createCompletion", "accessibility": "public", "apiVersions": [], "summary": "Creates a completion for the provided prompt and parameters.", "operation": { - "$id": "9513", + "$id": "9518", "name": "createCompletion", "resourceName": "Completions", "summary": "Creates a completion for the provided prompt and parameters.", "accessibility": "public", "parameters": [ { - "$id": "9514", + "$id": "9519", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -127938,7 +128009,7 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" }, { - "$id": "9515", + "$id": "9520", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -127955,7 +128026,7 @@ "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" }, { - "$id": "9516", + "$id": "9521", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -128003,7 +128074,7 @@ }, "parameters": [ { - "$id": "9517", + "$id": "9522", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128020,7 +128091,7 @@ "decorators": [] }, { - "$id": "9518", + "$id": "9523", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -128037,7 +128108,7 @@ "decorators": [] }, { - "$id": "9519", + "$id": "9524", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128068,13 +128139,13 @@ ], "parameters": [ { - "$id": "9520", + "$id": "9525", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9521", + "$id": "9526", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128085,7 +128156,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9522", + "$id": "9527", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -128102,31 +128173,31 @@ "crossLanguageDefinitionId": "OpenAI.Completions", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9523", + "$id": "9528", "kind": "client", "name": "Models", "namespace": "OpenAI", "methods": [ { - "$id": "9524", + "$id": "9529", "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": "9525", + "$id": "9530", "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": "9526", + "$id": "9531", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128168,7 +128239,7 @@ }, "parameters": [ { - "$id": "9527", + "$id": "9532", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128196,21 +128267,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.listModels" }, { - "$id": "9528", + "$id": "9533", "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": "9529", + "$id": "9534", "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": "9530", + "$id": "9535", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128226,13 +128297,13 @@ "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept" }, { - "$id": "9531", + "$id": "9536", "kind": "path", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "9532", + "$id": "9537", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128276,7 +128347,7 @@ }, "parameters": [ { - "$id": "9533", + "$id": "9538", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128293,13 +128364,13 @@ "decorators": [] }, { - "$id": "9534", + "$id": "9539", "kind": "method", "name": "model", "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "9535", + "$id": "9540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128326,21 +128397,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel" }, { - "$id": "9536", + "$id": "9541", "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": "9537", + "$id": "9542", "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": "9538", + "$id": "9543", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128356,13 +128427,13 @@ "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept" }, { - "$id": "9539", + "$id": "9544", "kind": "path", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "9540", + "$id": "9545", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128406,7 +128477,7 @@ }, "parameters": [ { - "$id": "9541", + "$id": "9546", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128423,13 +128494,13 @@ "decorators": [] }, { - "$id": "9542", + "$id": "9547", "kind": "method", "name": "model", "serializedName": "model", "doc": "The model to delete", "type": { - "$id": "9543", + "$id": "9548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -128458,13 +128529,13 @@ ], "parameters": [ { - "$id": "9544", + "$id": "9549", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9545", + "$id": "9550", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -128475,7 +128546,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9546", + "$id": "9551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -128492,31 +128563,31 @@ "crossLanguageDefinitionId": "OpenAI.Models", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9547", + "$id": "9552", "kind": "client", "name": "Realtime", "namespace": "OpenAI", "methods": [ { - "$id": "9548", + "$id": "9553", "kind": "basic", "name": "startRealtimeSession", "accessibility": "public", "apiVersions": [], "summary": "Starts a real-time session for conversation or transcription.", "operation": { - "$id": "9549", + "$id": "9554", "name": "startRealtimeSession", "resourceName": "Realtime", "summary": "Starts a real-time session for conversation or transcription.", "accessibility": "public", "parameters": [ { - "$id": "9550", + "$id": "9555", "kind": "header", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -128532,7 +128603,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta" }, { - "$id": "9551", + "$id": "9556", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -128549,7 +128620,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" }, { - "$id": "9552", + "$id": "9557", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128565,12 +128636,12 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" }, { - "$id": "9553", + "$id": "9558", "kind": "body", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$id": "9554", + "$id": "9559", "kind": "array", "name": "ArrayRealtimeClientEvent", "valueType": { @@ -128597,7 +128668,7 @@ 200 ], "bodyType": { - "$id": "9555", + "$id": "9560", "kind": "array", "name": "ArrayRealtimeServerEvent", "valueType": { @@ -128627,7 +128698,7 @@ }, "parameters": [ { - "$id": "9556", + "$id": "9561", "kind": "method", "name": "openAIBeta", "serializedName": "OpenAI-Beta", @@ -128644,12 +128715,12 @@ "decorators": [] }, { - "$id": "9557", + "$id": "9562", "kind": "method", "name": "requestMessages", "serializedName": "requestMessages", "type": { - "$ref": "9554" + "$ref": "9559" }, "location": "Body", "isApiVersion": false, @@ -128661,7 +128732,7 @@ "decorators": [] }, { - "$id": "9558", + "$id": "9563", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128679,7 +128750,7 @@ "decorators": [] }, { - "$id": "9559", + "$id": "9564", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128698,7 +128769,7 @@ ], "response": { "type": { - "$ref": "9555" + "$ref": "9560" } }, "isOverride": false, @@ -128707,21 +128778,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" }, { - "$id": "9560", + "$id": "9565", "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": "9561", + "$id": "9566", "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": "9562", + "$id": "9567", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -128738,7 +128809,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType" }, { - "$id": "9563", + "$id": "9568", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128754,7 +128825,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept" }, { - "$id": "9564", + "$id": "9569", "kind": "body", "name": "request", "serializedName": "request", @@ -128802,7 +128873,7 @@ }, "parameters": [ { - "$id": "9565", + "$id": "9570", "kind": "method", "name": "request", "serializedName": "request", @@ -128819,7 +128890,7 @@ "decorators": [] }, { - "$id": "9566", + "$id": "9571", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128837,7 +128908,7 @@ "decorators": [] }, { - "$id": "9567", + "$id": "9572", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -128865,21 +128936,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken" }, { - "$id": "9568", + "$id": "9573", "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": "9569", + "$id": "9574", "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": "9570", + "$id": "9575", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -128896,7 +128967,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType" }, { - "$id": "9571", + "$id": "9576", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -128912,7 +128983,7 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept" }, { - "$id": "9572", + "$id": "9577", "kind": "body", "name": "request", "serializedName": "request", @@ -128960,7 +129031,7 @@ }, "parameters": [ { - "$id": "9573", + "$id": "9578", "kind": "method", "name": "request", "serializedName": "request", @@ -128977,7 +129048,7 @@ "decorators": [] }, { - "$id": "9574", + "$id": "9579", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -128995,7 +129066,7 @@ "decorators": [] }, { - "$id": "9575", + "$id": "9580", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129025,13 +129096,13 @@ ], "parameters": [ { - "$id": "9576", + "$id": "9581", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9577", + "$id": "9582", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -129042,7 +129113,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9578", + "$id": "9583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -129059,31 +129130,31 @@ "crossLanguageDefinitionId": "OpenAI.Realtime", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9579", + "$id": "9584", "kind": "client", "name": "Uploads", "namespace": "OpenAI", "methods": [ { - "$id": "9580", + "$id": "9585", "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": "9581", + "$id": "9586", "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": "9582", + "$id": "9587", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129099,7 +129170,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" }, { - "$id": "9583", + "$id": "9588", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129116,7 +129187,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" }, { - "$id": "9584", + "$id": "9589", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -129164,7 +129235,7 @@ }, "parameters": [ { - "$id": "9585", + "$id": "9590", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129181,7 +129252,7 @@ "decorators": [] }, { - "$id": "9586", + "$id": "9591", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -129198,7 +129269,7 @@ "decorators": [] }, { - "$id": "9587", + "$id": "9592", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129227,21 +129298,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" }, { - "$id": "9588", + "$id": "9593", "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": "9589", + "$id": "9594", "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": "9590", + "$id": "9595", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129257,7 +129328,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" }, { - "$id": "9591", + "$id": "9596", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129273,12 +129344,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" }, { - "$id": "9592", + "$id": "9597", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9593", + "$id": "9598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129296,7 +129367,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" }, { - "$id": "9594", + "$id": "9599", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -129344,7 +129415,7 @@ }, "parameters": [ { - "$id": "9595", + "$id": "9600", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129361,7 +129432,7 @@ "decorators": [] }, { - "$id": "9596", + "$id": "9601", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129378,12 +129449,12 @@ "decorators": [] }, { - "$id": "9597", + "$id": "9602", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9598", + "$id": "9603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129399,7 +129470,7 @@ "decorators": [] }, { - "$id": "9599", + "$id": "9604", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -129427,21 +129498,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" }, { - "$id": "9600", + "$id": "9605", "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": "9601", + "$id": "9606", "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": "9602", + "$id": "9607", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129457,12 +129528,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" }, { - "$id": "9603", + "$id": "9608", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9604", + "$id": "9609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129480,7 +129551,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" }, { - "$id": "9605", + "$id": "9610", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -129497,7 +129568,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" }, { - "$id": "9606", + "$id": "9611", "kind": "body", "name": "requestBody", "serializedName": "requestBody", @@ -129545,7 +129616,7 @@ }, "parameters": [ { - "$id": "9607", + "$id": "9612", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129562,12 +129633,12 @@ "decorators": [] }, { - "$id": "9608", + "$id": "9613", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9609", + "$id": "9614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129583,7 +129654,7 @@ "decorators": [] }, { - "$id": "9610", + "$id": "9615", "kind": "method", "name": "requestBody", "serializedName": "requestBody", @@ -129600,7 +129671,7 @@ "decorators": [] }, { - "$id": "9611", + "$id": "9616", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -129629,21 +129700,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" }, { - "$id": "9612", + "$id": "9617", "kind": "basic", "name": "cancelUpload", "accessibility": "public", "apiVersions": [], "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "operation": { - "$id": "9613", + "$id": "9618", "name": "cancelUpload", "resourceName": "Uploads", "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "accessibility": "public", "parameters": [ { - "$id": "9614", + "$id": "9619", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129659,12 +129730,12 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" }, { - "$id": "9615", + "$id": "9620", "kind": "path", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9616", + "$id": "9621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129708,7 +129779,7 @@ }, "parameters": [ { - "$id": "9617", + "$id": "9622", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -129725,12 +129796,12 @@ "decorators": [] }, { - "$id": "9618", + "$id": "9623", "kind": "method", "name": "upload_id", "serializedName": "upload_id", "type": { - "$id": "9619", + "$id": "9624", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129759,13 +129830,13 @@ ], "parameters": [ { - "$id": "9620", + "$id": "9625", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9621", + "$id": "9626", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -129776,7 +129847,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9622", + "$id": "9627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -129793,17 +129864,17 @@ "crossLanguageDefinitionId": "OpenAI.Uploads", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } }, { - "$id": "9623", + "$id": "9628", "kind": "client", "name": "Videos", "namespace": "OpenAI", "methods": [ { - "$id": "9624", + "$id": "9629", "kind": "basic", "name": "ListVideos", "accessibility": "public", @@ -129811,7 +129882,7 @@ "doc": "List videos", "summary": "List videos", "operation": { - "$id": "9625", + "$id": "9630", "name": "ListVideos", "resourceName": "OpenAI", "summary": "List videos", @@ -129819,13 +129890,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9626", + "$id": "9631", "kind": "query", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9627", + "$id": "9632", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -129840,18 +129911,18 @@ "readOnly": false }, { - "$id": "9628", + "$id": "9633", "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": "9629", + "$id": "9634", "kind": "enum", "name": "OrderEnum", "crossLanguageDefinitionId": "OpenAI.OrderEnum", "valueType": { - "$id": "9630", + "$id": "9635", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129859,28 +129930,28 @@ }, "values": [ { - "$id": "9631", + "$id": "9636", "kind": "enumvalue", "name": "asc", "value": "asc", "valueType": { - "$ref": "9630" + "$ref": "9635" }, "enumType": { - "$ref": "9629" + "$ref": "9634" }, "decorators": [] }, { - "$id": "9632", + "$id": "9637", "kind": "enumvalue", "name": "desc", "value": "desc", "valueType": { - "$ref": "9630" + "$ref": "9635" }, "enumType": { - "$ref": "9629" + "$ref": "9634" }, "decorators": [] } @@ -129900,13 +129971,13 @@ "readOnly": false }, { - "$id": "9633", + "$id": "9638", "kind": "query", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9634", + "$id": "9639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -129921,7 +129992,7 @@ "readOnly": false }, { - "$id": "9635", + "$id": "9640", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -129943,7 +130014,7 @@ 200 ], "bodyType": { - "$id": "9636", + "$id": "9641", "kind": "model", "name": "VideoListResource", "namespace": "OpenAI", @@ -129952,7 +130023,7 @@ "decorators": [], "properties": [ { - "$id": "9637", + "$id": "9642", "kind": "property", "name": "object", "doc": "The type of object returned, must be `list`.", @@ -129969,16 +130040,16 @@ "isHttpMetadata": false }, { - "$id": "9638", + "$id": "9643", "kind": "property", "name": "data", "doc": "A list of items", "type": { - "$id": "9639", + "$id": "9644", "kind": "array", "name": "ArrayVideoResource", "valueType": { - "$id": "9640", + "$id": "9645", "kind": "model", "name": "VideoResource", "namespace": "OpenAI", @@ -129989,12 +130060,12 @@ "decorators": [], "properties": [ { - "$id": "9641", + "$id": "9646", "kind": "property", "name": "id", "doc": "Unique identifier for the video job.", "type": { - "$id": "9642", + "$id": "9647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130010,7 +130081,7 @@ "isHttpMetadata": false }, { - "$id": "9643", + "$id": "9648", "kind": "property", "name": "object", "doc": "The object type, which is always `video`.", @@ -130027,17 +130098,17 @@ "isHttpMetadata": false }, { - "$id": "9644", + "$id": "9649", "kind": "property", "name": "model", "doc": "The video generation model that produced the job.", "type": { - "$id": "9645", + "$id": "9650", "kind": "enum", "name": "VideoModel", "crossLanguageDefinitionId": "OpenAI.VideoModel", "valueType": { - "$id": "9646", + "$id": "9651", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130045,28 +130116,28 @@ }, "values": [ { - "$id": "9647", + "$id": "9652", "kind": "enumvalue", "name": "sora-2", "value": "sora-2", "valueType": { - "$ref": "9646" + "$ref": "9651" }, "enumType": { - "$ref": "9645" + "$ref": "9650" }, "decorators": [] }, { - "$id": "9648", + "$id": "9653", "kind": "enumvalue", "name": "sora-2-pro", "value": "sora-2-pro", "valueType": { - "$ref": "9646" + "$ref": "9651" }, "enumType": { - "$ref": "9645" + "$ref": "9650" }, "decorators": [] } @@ -130087,17 +130158,17 @@ "isHttpMetadata": false }, { - "$id": "9649", + "$id": "9654", "kind": "property", "name": "status", "doc": "Current lifecycle status of the video job.", "type": { - "$id": "9650", + "$id": "9655", "kind": "enum", "name": "VideoStatus", "crossLanguageDefinitionId": "OpenAI.VideoStatus", "valueType": { - "$id": "9651", + "$id": "9656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130105,54 +130176,54 @@ }, "values": [ { - "$id": "9652", + "$id": "9657", "kind": "enumvalue", "name": "queued", "value": "queued", "valueType": { - "$ref": "9651" + "$ref": "9656" }, "enumType": { - "$ref": "9650" + "$ref": "9655" }, "decorators": [] }, { - "$id": "9653", + "$id": "9658", "kind": "enumvalue", "name": "in_progress", "value": "in_progress", "valueType": { - "$ref": "9651" + "$ref": "9656" }, "enumType": { - "$ref": "9650" + "$ref": "9655" }, "decorators": [] }, { - "$id": "9654", + "$id": "9659", "kind": "enumvalue", "name": "completed", "value": "completed", "valueType": { - "$ref": "9651" + "$ref": "9656" }, "enumType": { - "$ref": "9650" + "$ref": "9655" }, "decorators": [] }, { - "$id": "9655", + "$id": "9660", "kind": "enumvalue", "name": "failed", "value": "failed", "valueType": { - "$ref": "9651" + "$ref": "9656" }, "enumType": { - "$ref": "9650" + "$ref": "9655" }, "decorators": [] } @@ -130173,12 +130244,12 @@ "isHttpMetadata": false }, { - "$id": "9656", + "$id": "9661", "kind": "property", "name": "progress", "doc": "Approximate completion percentage for the generation task.", "type": { - "$id": "9657", + "$id": "9662", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130194,12 +130265,12 @@ "isHttpMetadata": false }, { - "$id": "9658", + "$id": "9663", "kind": "property", "name": "created_at", "doc": "Unix timestamp (seconds) for when the job was created.", "type": { - "$id": "9659", + "$id": "9664", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130215,14 +130286,14 @@ "isHttpMetadata": false }, { - "$id": "9660", + "$id": "9665", "kind": "property", "name": "completed_at", "type": { - "$id": "9661", + "$id": "9666", "kind": "nullable", "type": { - "$id": "9662", + "$id": "9667", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130240,14 +130311,14 @@ "isHttpMetadata": false }, { - "$id": "9663", + "$id": "9668", "kind": "property", "name": "expires_at", "type": { - "$id": "9664", + "$id": "9669", "kind": "nullable", "type": { - "$id": "9665", + "$id": "9670", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130265,17 +130336,17 @@ "isHttpMetadata": false }, { - "$id": "9666", + "$id": "9671", "kind": "property", "name": "size", "doc": "The resolution of the generated video.", "type": { - "$id": "9667", + "$id": "9672", "kind": "enum", "name": "VideoSize", "crossLanguageDefinitionId": "OpenAI.VideoSize", "valueType": { - "$id": "9668", + "$id": "9673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130283,54 +130354,54 @@ }, "values": [ { - "$id": "9669", + "$id": "9674", "kind": "enumvalue", "name": "720x1280", "value": "720x1280", "valueType": { - "$ref": "9668" + "$ref": "9673" }, "enumType": { - "$ref": "9667" + "$ref": "9672" }, "decorators": [] }, { - "$id": "9670", + "$id": "9675", "kind": "enumvalue", "name": "1280x720", "value": "1280x720", "valueType": { - "$ref": "9668" + "$ref": "9673" }, "enumType": { - "$ref": "9667" + "$ref": "9672" }, "decorators": [] }, { - "$id": "9671", + "$id": "9676", "kind": "enumvalue", "name": "1024x1792", "value": "1024x1792", "valueType": { - "$ref": "9668" + "$ref": "9673" }, "enumType": { - "$ref": "9667" + "$ref": "9672" }, "decorators": [] }, { - "$id": "9672", + "$id": "9677", "kind": "enumvalue", "name": "1792x1024", "value": "1792x1024", "valueType": { - "$ref": "9668" + "$ref": "9673" }, "enumType": { - "$ref": "9667" + "$ref": "9672" }, "decorators": [] } @@ -130351,17 +130422,17 @@ "isHttpMetadata": false }, { - "$id": "9673", + "$id": "9678", "kind": "property", "name": "seconds", "doc": "Duration of the generated clip in seconds.", "type": { - "$id": "9674", + "$id": "9679", "kind": "enum", "name": "VideoSeconds", "crossLanguageDefinitionId": "OpenAI.VideoSeconds", "valueType": { - "$id": "9675", + "$id": "9680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130369,41 +130440,41 @@ }, "values": [ { - "$id": "9676", + "$id": "9681", "kind": "enumvalue", "name": "4", "value": "4", "valueType": { - "$ref": "9675" + "$ref": "9680" }, "enumType": { - "$ref": "9674" + "$ref": "9679" }, "decorators": [] }, { - "$id": "9677", + "$id": "9682", "kind": "enumvalue", "name": "8", "value": "8", "valueType": { - "$ref": "9675" + "$ref": "9680" }, "enumType": { - "$ref": "9674" + "$ref": "9679" }, "decorators": [] }, { - "$id": "9678", + "$id": "9683", "kind": "enumvalue", "name": "12", "value": "12", "valueType": { - "$ref": "9675" + "$ref": "9680" }, "enumType": { - "$ref": "9674" + "$ref": "9679" }, "decorators": [] } @@ -130424,14 +130495,14 @@ "isHttpMetadata": false }, { - "$id": "9679", + "$id": "9684", "kind": "property", "name": "remixed_from_video_id", "type": { - "$id": "9680", + "$id": "9685", "kind": "nullable", "type": { - "$id": "9681", + "$id": "9686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130449,14 +130520,14 @@ "isHttpMetadata": false }, { - "$id": "9682", + "$id": "9687", "kind": "property", "name": "error", "type": { - "$id": "9683", + "$id": "9688", "kind": "nullable", "type": { - "$id": "9684", + "$id": "9689", "kind": "model", "name": "Error-2", "namespace": "OpenAI", @@ -130465,11 +130536,11 @@ "decorators": [], "properties": [ { - "$id": "9685", + "$id": "9690", "kind": "property", "name": "code", "type": { - "$id": "9686", + "$id": "9691", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130485,11 +130556,11 @@ "isHttpMetadata": false }, { - "$id": "9687", + "$id": "9692", "kind": "property", "name": "message", "type": { - "$id": "9688", + "$id": "9693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130532,14 +130603,14 @@ "isHttpMetadata": false }, { - "$id": "9689", + "$id": "9694", "kind": "property", "name": "first_id", "type": { - "$id": "9690", + "$id": "9695", "kind": "nullable", "type": { - "$id": "9691", + "$id": "9696", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130557,14 +130628,14 @@ "isHttpMetadata": false }, { - "$id": "9692", + "$id": "9697", "kind": "property", "name": "last_id", "type": { - "$id": "9693", + "$id": "9698", "kind": "nullable", "type": { - "$id": "9694", + "$id": "9699", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130582,12 +130653,12 @@ "isHttpMetadata": false }, { - "$id": "9695", + "$id": "9700", "kind": "property", "name": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "9696", + "$id": "9701", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -130622,13 +130693,13 @@ }, "parameters": [ { - "$id": "9697", + "$id": "9702", "kind": "method", "name": "limit", "serializedName": "limit", "doc": "Number of items to retrieve", "type": { - "$id": "9698", + "$id": "9703", "kind": "integer", "name": "integer", "crossLanguageDefinitionId": "TypeSpec.integer", @@ -130644,13 +130715,13 @@ "decorators": [] }, { - "$id": "9699", + "$id": "9704", "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": "9629" + "$ref": "9634" }, "location": "Query", "isApiVersion": false, @@ -130662,13 +130733,13 @@ "decorators": [] }, { - "$id": "9700", + "$id": "9705", "kind": "method", "name": "after", "serializedName": "after", "doc": "Identifier for the last item from the previous pagination request", "type": { - "$id": "9701", + "$id": "9706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130684,7 +130755,7 @@ "decorators": [] }, { - "$id": "9702", + "$id": "9707", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -130703,7 +130774,7 @@ ], "response": { "type": { - "$ref": "9636" + "$ref": "9641" } }, "isOverride": false, @@ -130712,7 +130783,7 @@ "crossLanguageDefinitionId": "OpenAI.ListVideos" }, { - "$id": "9703", + "$id": "9708", "kind": "basic", "name": "createVideo", "accessibility": "public", @@ -130720,7 +130791,7 @@ "doc": "Create a video", "summary": "Create video", "operation": { - "$id": "9704", + "$id": "9709", "name": "createVideo", "resourceName": "OpenAI", "summary": "Create video", @@ -130728,7 +130799,7 @@ "accessibility": "public", "parameters": [ { - "$id": "9705", + "$id": "9710", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -130744,7 +130815,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.contentType" }, { - "$id": "9706", + "$id": "9711", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -130760,12 +130831,12 @@ "crossLanguageDefinitionId": "OpenAI.createVideo.accept" }, { - "$id": "9707", + "$id": "9712", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9708", + "$id": "9713", "kind": "model", "name": "CreateVideoBody", "namespace": "OpenAI", @@ -130776,13 +130847,13 @@ "decorators": [], "properties": [ { - "$id": "9709", + "$id": "9714", "kind": "property", "name": "model", "serializedName": "model", "doc": "The video generation model to use. Defaults to `sora-2`.", "type": { - "$ref": "9645" + "$ref": "9650" }, "optional": true, "readOnly": false, @@ -130804,18 +130875,18 @@ "isHttpMetadata": false }, { - "$id": "9710", + "$id": "9715", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Text prompt that describes the video to generate.", "type": { - "$id": "9711", + "$id": "9716", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "9712", + "$id": "9717", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -130843,13 +130914,13 @@ "isHttpMetadata": false }, { - "$id": "9713", + "$id": "9718", "kind": "property", "name": "input_reference", "serializedName": "input_reference", "doc": "Optional image reference that guides generation.", "type": { - "$id": "9714", + "$id": "9719", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -130876,13 +130947,13 @@ "isHttpMetadata": false }, { - "$id": "9715", + "$id": "9720", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "Clip duration in seconds. Defaults to 4 seconds.", "type": { - "$ref": "9674" + "$ref": "9679" }, "optional": true, "readOnly": false, @@ -130904,13 +130975,13 @@ "isHttpMetadata": false }, { - "$id": "9716", + "$id": "9721", "kind": "property", "name": "size", "serializedName": "size", "doc": "Output resolution formatted as width x height. Defaults to 720x1280.", "type": { - "$ref": "9667" + "$ref": "9672" }, "optional": true, "readOnly": false, @@ -130951,7 +131022,7 @@ 200 ], "bodyType": { - "$ref": "9640" + "$ref": "9645" }, "headers": [], "isErrorResponse": false, @@ -130974,7 +131045,7 @@ }, "parameters": [ { - "$id": "9717", + "$id": "9722", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -130991,12 +131062,12 @@ "decorators": [] }, { - "$id": "9718", + "$id": "9723", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9708" + "$ref": "9713" }, "location": "Body", "isApiVersion": false, @@ -131008,7 +131079,7 @@ "decorators": [] }, { - "$id": "9719", + "$id": "9724", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131027,7 +131098,7 @@ ], "response": { "type": { - "$ref": "9640" + "$ref": "9645" } }, "isOverride": false, @@ -131036,7 +131107,7 @@ "crossLanguageDefinitionId": "OpenAI.createVideo" }, { - "$id": "9720", + "$id": "9725", "kind": "basic", "name": "DeleteVideo", "accessibility": "public", @@ -131044,7 +131115,7 @@ "doc": "Delete a video", "summary": "Delete video", "operation": { - "$id": "9721", + "$id": "9726", "name": "DeleteVideo", "resourceName": "OpenAI", "summary": "Delete video", @@ -131052,13 +131123,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9722", + "$id": "9727", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "9723", + "$id": "9728", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131076,7 +131147,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo.video_id" }, { - "$id": "9724", + "$id": "9729", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131098,7 +131169,7 @@ 200 ], "bodyType": { - "$id": "9725", + "$id": "9730", "kind": "model", "name": "DeletedVideoResource", "namespace": "OpenAI", @@ -131109,7 +131180,7 @@ "decorators": [], "properties": [ { - "$id": "9726", + "$id": "9731", "kind": "property", "name": "object", "doc": "The object type that signals the deletion response.", @@ -131126,12 +131197,12 @@ "isHttpMetadata": false }, { - "$id": "9727", + "$id": "9732", "kind": "property", "name": "deleted", "doc": "Indicates that the video resource was deleted.", "type": { - "$id": "9728", + "$id": "9733", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -131147,12 +131218,12 @@ "isHttpMetadata": false }, { - "$id": "9729", + "$id": "9734", "kind": "property", "name": "id", "doc": "Identifier of the deleted video.", "type": { - "$id": "9730", + "$id": "9735", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131187,13 +131258,13 @@ }, "parameters": [ { - "$id": "9731", + "$id": "9736", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to delete.", "type": { - "$id": "9732", + "$id": "9737", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131209,7 +131280,7 @@ "decorators": [] }, { - "$id": "9733", + "$id": "9738", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131228,7 +131299,7 @@ ], "response": { "type": { - "$ref": "9725" + "$ref": "9730" } }, "isOverride": false, @@ -131237,7 +131308,7 @@ "crossLanguageDefinitionId": "OpenAI.DeleteVideo" }, { - "$id": "9734", + "$id": "9739", "kind": "basic", "name": "GetVideo", "accessibility": "public", @@ -131245,7 +131316,7 @@ "doc": "Retrieve a video", "summary": "Retrieve video", "operation": { - "$id": "9735", + "$id": "9740", "name": "GetVideo", "resourceName": "OpenAI", "summary": "Retrieve video", @@ -131253,13 +131324,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9736", + "$id": "9741", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "9737", + "$id": "9742", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131277,7 +131348,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo.video_id" }, { - "$id": "9738", + "$id": "9743", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131299,7 +131370,7 @@ 200 ], "bodyType": { - "$ref": "9640" + "$ref": "9645" }, "headers": [], "isErrorResponse": false, @@ -131319,13 +131390,13 @@ }, "parameters": [ { - "$id": "9739", + "$id": "9744", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video to retrieve.", "type": { - "$id": "9740", + "$id": "9745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131341,7 +131412,7 @@ "decorators": [] }, { - "$id": "9741", + "$id": "9746", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131360,7 +131431,7 @@ ], "response": { "type": { - "$ref": "9640" + "$ref": "9645" } }, "isOverride": false, @@ -131369,7 +131440,7 @@ "crossLanguageDefinitionId": "OpenAI.GetVideo" }, { - "$id": "9742", + "$id": "9747", "kind": "basic", "name": "DownloadVideo", "accessibility": "public", @@ -131377,7 +131448,7 @@ "doc": "Download video content", "summary": "Retrieve video content", "operation": { - "$id": "9743", + "$id": "9748", "name": "DownloadVideo", "resourceName": "OpenAI", "summary": "Retrieve video content", @@ -131385,13 +131456,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9744", + "$id": "9749", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "9745", + "$id": "9750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131409,18 +131480,18 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent.video_id" }, { - "$id": "9746", + "$id": "9751", "kind": "query", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$id": "9747", + "$id": "9752", "kind": "enum", "name": "VideoContentVariant", "crossLanguageDefinitionId": "OpenAI.VideoContentVariant", "valueType": { - "$id": "9748", + "$id": "9753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131428,41 +131499,41 @@ }, "values": [ { - "$id": "9749", + "$id": "9754", "kind": "enumvalue", "name": "video", "value": "video", "valueType": { - "$ref": "9748" + "$ref": "9753" }, "enumType": { - "$ref": "9747" + "$ref": "9752" }, "decorators": [] }, { - "$id": "9750", + "$id": "9755", "kind": "enumvalue", "name": "thumbnail", "value": "thumbnail", "valueType": { - "$ref": "9748" + "$ref": "9753" }, "enumType": { - "$ref": "9747" + "$ref": "9752" }, "decorators": [] }, { - "$id": "9751", + "$id": "9756", "kind": "enumvalue", "name": "spritesheet", "value": "spritesheet", "valueType": { - "$ref": "9748" + "$ref": "9753" }, "enumType": { - "$ref": "9747" + "$ref": "9752" }, "decorators": [] } @@ -131482,12 +131553,12 @@ "readOnly": false }, { - "$id": "9752", + "$id": "9757", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$id": "9753", + "$id": "9758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131508,12 +131579,12 @@ 200 ], "bodyType": { - "$id": "9754", + "$id": "9759", "kind": "union", "name": "", "variantTypes": [ { - "$id": "9755", + "$id": "9760", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -131521,7 +131592,7 @@ "decorators": [] }, { - "$id": "9756", + "$id": "9761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131566,13 +131637,13 @@ }, "parameters": [ { - "$id": "9757", + "$id": "9762", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the video whose media to download.", "type": { - "$id": "9758", + "$id": "9763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131588,13 +131659,13 @@ "decorators": [] }, { - "$id": "9759", + "$id": "9764", "kind": "method", "name": "variant", "serializedName": "variant", "doc": "Which downloadable asset to return. Defaults to the MP4 video.", "type": { - "$ref": "9747" + "$ref": "9752" }, "location": "Query", "isApiVersion": false, @@ -131606,12 +131677,12 @@ "decorators": [] }, { - "$id": "9760", + "$id": "9765", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "9753" + "$ref": "9758" }, "location": "Header", "isApiVersion": false, @@ -131625,7 +131696,7 @@ ], "response": { "type": { - "$ref": "9754" + "$ref": "9759" } }, "isOverride": false, @@ -131634,7 +131705,7 @@ "crossLanguageDefinitionId": "OpenAI.RetrieveVideoContent" }, { - "$id": "9761", + "$id": "9766", "kind": "basic", "name": "CreateVideoRemix", "accessibility": "public", @@ -131642,7 +131713,7 @@ "doc": "Create a video remix", "summary": "Remix video", "operation": { - "$id": "9762", + "$id": "9767", "name": "CreateVideoRemix", "resourceName": "OpenAI", "summary": "Remix video", @@ -131650,13 +131721,13 @@ "accessibility": "public", "parameters": [ { - "$id": "9763", + "$id": "9768", "kind": "path", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "9764", + "$id": "9769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131674,7 +131745,7 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.video_id" }, { - "$id": "9765", + "$id": "9770", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -131690,7 +131761,7 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.contentType" }, { - "$id": "9766", + "$id": "9771", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -131706,12 +131777,12 @@ "crossLanguageDefinitionId": "OpenAI.CreateVideoRemix.accept" }, { - "$id": "9767", + "$id": "9772", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$id": "9768", + "$id": "9773", "kind": "model", "name": "CreateVideoRemixBody", "namespace": "OpenAI", @@ -131722,18 +131793,18 @@ "decorators": [], "properties": [ { - "$id": "9769", + "$id": "9774", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "Updated text prompt that directs the remix generation.", "type": { - "$id": "9770", + "$id": "9775", "kind": "string", "name": "VideoPrompt", "crossLanguageDefinitionId": "OpenAI.VideoPrompt", "baseType": { - "$id": "9771", + "$id": "9776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131780,7 +131851,7 @@ 200 ], "bodyType": { - "$ref": "9640" + "$ref": "9645" }, "headers": [], "isErrorResponse": false, @@ -131803,13 +131874,13 @@ }, "parameters": [ { - "$id": "9772", + "$id": "9777", "kind": "method", "name": "video_id", "serializedName": "video_id", "doc": "The identifier of the completed video to remix.", "type": { - "$id": "9773", + "$id": "9778", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -131825,7 +131896,7 @@ "decorators": [] }, { - "$id": "9774", + "$id": "9779", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -131842,12 +131913,12 @@ "decorators": [] }, { - "$id": "9775", + "$id": "9780", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "9768" + "$ref": "9773" }, "location": "Body", "isApiVersion": false, @@ -131859,7 +131930,7 @@ "decorators": [] }, { - "$id": "9776", + "$id": "9781", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -131878,7 +131949,7 @@ ], "response": { "type": { - "$ref": "9640" + "$ref": "9645" } }, "isOverride": false, @@ -131889,13 +131960,13 @@ ], "parameters": [ { - "$id": "9777", + "$id": "9782", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "9778", + "$id": "9783", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -131906,7 +131977,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "9779", + "$id": "9784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -131923,7 +131994,7 @@ "crossLanguageDefinitionId": "OpenAI", "apiVersions": [], "parent": { - "$ref": "8153" + "$ref": "8158" } } ]