From 3717e4225779cd85ce7009914cd5fff68c9ea8ca Mon Sep 17 00:00:00 2001 From: Christopher Scott Date: Thu, 14 Aug 2025 18:25:20 -0500 Subject: [PATCH] Implement generated ListBatches operations --- api/OpenAI.net8.0.cs | 35 + api/OpenAI.netstandard2.0.cs | 33 + .../src/Visitors/PaginationVisitor.cs | 8 + specification/base/typespec/batch/models.tsp | 4 +- .../base/typespec/batch/operations.tsp | 3 +- specification/client/models/batch.models.tsp | 15 + specification/main.tsp | 1 + src/Custom/Batch/BatchClient.Protocol.cs | 28 - src/Custom/Batch/BatchClient.cs | 2 - .../Batch/ChatCompletionCollectionOptions.cs | 4 + src/Custom/Batch/GeneratorStubs.cs | 4 + src/Custom/Batch/Internal/GeneratorStubs.cs | 3 - src/Generated/BatchClient.cs | 21 + ...chClientGetBatchesAsyncCollectionResult.cs | 61 + ...lientGetBatchesAsyncCollectionResultOfT.cs | 71 + .../BatchClientGetBatchesCollectionResult.cs | 61 + ...atchClientGetBatchesCollectionResultOfT.cs | 66 + .../BatchCollectionOptions.Serialization.cs | 114 + .../Models/Batch/BatchCollectionOptions.cs | 37 + ...alization.cs => BatchJob.Serialization.cs} | 50 +- .../{InternalBatchJob.cs => BatchJob.cs} | 8 +- ...ternalListBatchesResponse.Serialization.cs | 8 +- .../Batch/InternalListBatchesResponse.cs | 8 +- src/Generated/OpenAIModelFactory.cs | 6 + tests/Batch/BatchTests.cs | 193 + tspCodeModel.json | 3647 +++++++++-------- 26 files changed, 2625 insertions(+), 1866 deletions(-) create mode 100644 specification/client/models/batch.models.tsp create mode 100644 src/Custom/Batch/ChatCompletionCollectionOptions.cs create mode 100644 src/Custom/Batch/GeneratorStubs.cs create mode 100644 src/Generated/BatchClientGetBatchesAsyncCollectionResult.cs create mode 100644 src/Generated/BatchClientGetBatchesAsyncCollectionResultOfT.cs create mode 100644 src/Generated/BatchClientGetBatchesCollectionResult.cs create mode 100644 src/Generated/BatchClientGetBatchesCollectionResultOfT.cs create mode 100644 src/Generated/Models/Batch/BatchCollectionOptions.Serialization.cs create mode 100644 src/Generated/Models/Batch/BatchCollectionOptions.cs rename src/Generated/Models/Batch/{InternalBatchJob.Serialization.cs => BatchJob.Serialization.cs} (86%) rename src/Generated/Models/Batch/{InternalBatchJob.cs => BatchJob.cs} (75%) diff --git a/api/OpenAI.net8.0.cs b/api/OpenAI.net8.0.cs index d9e42a0b..209aa1ba 100644 --- a/api/OpenAI.net8.0.cs +++ b/api/OpenAI.net8.0.cs @@ -1355,10 +1355,45 @@ 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); + 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 2306f43b..6b3e48da 100644 --- a/api/OpenAI.netstandard2.0.cs +++ b/api/OpenAI.netstandard2.0.cs @@ -1221,9 +1221,42 @@ 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); + 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 213bb8ff..f7d7de16 100644 --- a/codegen/generator/src/Visitors/PaginationVisitor.cs +++ b/codegen/generator/src/Visitors/PaginationVisitor.cs @@ -45,6 +45,14 @@ public class PaginationVisitor : ScmLibraryVisitor { "GetChatCompletionMessagesAsync", ("ChatCompletionMessageListDatum", "ChatCompletionMessageCollectionOptions", _chatParamsToReplace) + }, + { + "GetBatches", + ("BatchJob", "BatchCollectionOptions", _chatParamsToReplace) + }, + { + "GetBatchesAsync", + ("BatchJob", "BatchCollectionOptions", _chatParamsToReplace) } }; diff --git a/specification/base/typespec/batch/models.tsp b/specification/base/typespec/batch/models.tsp index 6baca754..904a90b9 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 dfc7508d..9022a4d4 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 00000000..4d666fee --- /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 db58af76..ef595974 100644 --- a/specification/main.tsp +++ b/specification/main.tsp @@ -15,6 +15,7 @@ import "./client/threads.client.tsp"; import "./client/vector-stores.client.tsp"; import "./client/models/audio.models.tsp"; +import "./client/models/batch.models.tsp"; import "./client/models/chat.models.tsp"; import "./client/models/common.models.tsp"; import "./client/models/responses.models.tsp"; diff --git a/src/Custom/Batch/BatchClient.Protocol.cs b/src/Custom/Batch/BatchClient.Protocol.cs index 21529eff..a60d7755 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 1cda1d2b..ce14cdec 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/ChatCompletionCollectionOptions.cs b/src/Custom/Batch/ChatCompletionCollectionOptions.cs new file mode 100644 index 00000000..fa0e85db --- /dev/null +++ b/src/Custom/Batch/ChatCompletionCollectionOptions.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 00000000..a2213193 --- /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 233a1f05..2e4814c4 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 ee53fb23..b92ab8c4 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 00000000..a41849c6 --- /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 00000000..904a8388 --- /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 00000000..b1da392a --- /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 00000000..5dde9393 --- /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 00000000..88e7cb09 --- /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 00000000..77cf7d87 --- /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 86% rename from src/Generated/Models/Batch/InternalBatchJob.Serialization.cs rename to src/Generated/Models/Batch/BatchJob.Serialization.cs index 7a87b100..0ed65766 100644 --- a/src/Generated/Models/Batch/InternalBatchJob.Serialization.cs +++ b/src/Generated/Models/Batch/BatchJob.Serialization.cs @@ -3,7 +3,6 @@ #nullable disable using System; -using System.ClientModel; using System.ClientModel.Primitives; using System.Collections.Generic; using System.Text.Json; @@ -11,13 +10,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 +25,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 +170,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 +372,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 +396,37 @@ 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"; - - public static explicit operator InternalBatchJob(ClientResult result) - { - using PipelineResponse response = result.GetRawResponse(); - using JsonDocument document = JsonDocument.Parse(response.Content); - return DeserializeInternalBatchJob(document.RootElement, ModelSerializationExtensions.WireOptions); - } + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; } } 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 8a827b46..f5cce2f7 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 4bc86c18..eef35fd9 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 21748f7e..5582497d 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/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index 3f3eaf18..e0155b74 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; @@ -1070,6 +1071,11 @@ public static AudioTranscription AudioTranscription(string language = default, s 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 ea31f05f..56037e8f 100644 --- a/tests/Batch/BatchTests.cs +++ b/tests/Batch/BatchTests.cs @@ -5,7 +5,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; @@ -19,6 +21,7 @@ namespace OpenAI.Tests.Batch; public class BatchTests : SyncAsyncTestBase { private static BatchClient GetTestClient() => GetTestClient(TestScenario.Batch); + private static readonly DateTimeOffset s_2024 = new(2024, 1, 1, 0, 0, 0, TimeSpan.Zero); public BatchTests(bool isAsync) : base(isAsync) { @@ -88,6 +91,69 @@ public async Task ListBatchesProtocolAsync() Assert.GreaterOrEqual(pageCount, 1); } + [Test] + 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)); + } + + [Test] + 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); + } + + [Test] + public void ListBatchesAsync_HonorsCancellationToken() + { + BatchClient client = GetTestClient(); + var cts = new System.Threading.CancellationTokenSource(); + cts.Cancel(); + + BatchCollectionOptions options = new() { PageSizeLimit = 1 }; + + if (IsAsync) + { + var collection = client.GetBatchesAsync(options, cts.Token); + var enumerator = collection.GetRawPagesAsync().GetAsyncEnumerator(); + Assert.ThrowsAsync(async () => await enumerator.MoveNextAsync().AsTask()); + } + else + { + var collection = client.GetBatches(options, cts.Token); + using var enumerator = collection.GetRawPages().GetEnumerator(); + Assert.Throws(() => enumerator.MoveNext()); + } + } + [Test] public async Task CreateGetAndCancelBatchProtocol() { @@ -242,4 +308,131 @@ static bool Validate(CreateBatchOperation operation) Assert.AreEqual(originalOperationJson.RootElement.GetProperty("created_at").GetInt64(), rehydratedOperationJson.RootElement.GetProperty("created_at").GetInt64()); Assert.AreEqual(originalOperationJson.RootElement.GetProperty("status").GetString(), rehydratedOperationJson.RootElement.GetProperty("status").GetString()); } + + // Helper methods to minimize duplication between sync/async test paths + private async Task ValidateSomeJobsAsync(BatchClient client, BatchCollectionOptions options, int maxItems) + { + int itemCount = 0; + if (IsAsync) + { + AsyncCollectionResult collection = client.GetBatchesAsync(options); + await foreach (BatchJob job in collection) + { + AssertBasicJobFields(job); + itemCount++; + if (itemCount >= maxItems) break; + } + } + else + { + CollectionResult collection = client.GetBatches(options); + 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; + if (IsAsync) + { + 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; + } + } + else + { + CollectionResult collection = client.GetBatches(options); + foreach (ClientResult page in collection.GetRawPages()) + { + 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; + if (IsAsync) + { + AsyncCollectionResult firstCollection = client.GetBatchesAsync(options); + await foreach (ClientResult page in firstCollection.GetRawPagesAsync()) + { + firstPageResult = page; + break; + } + } + else + { + CollectionResult firstCollection = client.GetBatches(options); + foreach (ClientResult page in firstCollection.GetRawPages()) + { + 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; + if (IsAsync) + { + AsyncCollectionResult secondCollection = client.GetBatchesAsync(options); + await foreach (ClientResult page in secondCollection.GetRawPagesAsync()) + { + secondPageResult = page; + break; + } + } + else + { + CollectionResult secondCollection = client.GetBatches(options); + foreach (ClientResult page in secondCollection.GetRawPages()) + { + 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/tspCodeModel.json b/tspCodeModel.json index 336346ba..d7307e83 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -91589,9 +91589,9 @@ { "$id": "7140", "kind": "model", - "name": "ChatCompletionCollectionOptions", + "name": "BatchCollectionOptions", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions", + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions", "access": "public", "usage": "Input", "decorators": [], @@ -91612,7 +91612,7 @@ "optional": true, "readOnly": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.afterId", + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions.afterId", "correspondingMethodParams": [] }, { @@ -91631,11 +91631,61 @@ "optional": true, "readOnly": false, "decorators": [], + "crossLanguageDefinitionId": "OpenAI.BatchCollectionOptions.pageSizeLimit", + "correspondingMethodParams": [] + } + ] + }, + { + "$id": "7145", + "kind": "model", + "name": "ChatCompletionCollectionOptions", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions", + "access": "public", + "usage": "Input", + "decorators": [], + "properties": [ + { + "$id": "7146", + "kind": "query", + "name": "afterId", + "serializedName": "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": "7147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.afterId", + "correspondingMethodParams": [] + }, + { + "$id": "7148", + "kind": "query", + "name": "pageSizeLimit", + "serializedName": "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": "7149", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.pageSizeLimit", "correspondingMethodParams": [] }, { - "$id": "7145", + "$id": "7150", "kind": "query", "name": "order", "serializedName": "order", @@ -91650,7 +91700,7 @@ "correspondingMethodParams": [] }, { - "$id": "7146", + "$id": "7151", "kind": "query", "name": "metadata", "serializedName": "metadata", @@ -91664,12 +91714,12 @@ "correspondingMethodParams": [] }, { - "$id": "7147", + "$id": "7152", "kind": "query", "name": "model", "serializedName": "model", "type": { - "$id": "7148", + "$id": "7153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91684,7 +91734,7 @@ ] }, { - "$id": "7149", + "$id": "7154", "kind": "model", "name": "ChatCompletionMessageCollectionOptions", "namespace": "OpenAI", @@ -91694,13 +91744,13 @@ "decorators": [], "properties": [ { - "$id": "7150", + "$id": "7155", "kind": "query", "name": "afterId", "serializedName": "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": "7151", + "$id": "7156", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91713,13 +91763,13 @@ "correspondingMethodParams": [] }, { - "$id": "7152", + "$id": "7157", "kind": "query", "name": "pageSizeLimit", "serializedName": "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": "7153", + "$id": "7158", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91732,7 +91782,7 @@ "correspondingMethodParams": [] }, { - "$id": "7154", + "$id": "7159", "kind": "query", "name": "order", "serializedName": "order", @@ -91749,7 +91799,7 @@ ] }, { - "$id": "7155", + "$id": "7160", "kind": "model", "name": "DotNetChatResponseFormat", "namespace": "OpenAI", @@ -91758,7 +91808,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7156", + "$id": "7161", "kind": "property", "name": "type", "serializedName": "type", @@ -91775,12 +91825,12 @@ }, "properties": [ { - "$ref": "7156" + "$ref": "7161" } ], "discriminatedSubtypes": { "text": { - "$id": "7157", + "$id": "7162", "kind": "model", "name": "DotNetChatResponseFormatText", "namespace": "OpenAI", @@ -91790,11 +91840,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7155" + "$ref": "7160" }, "properties": [ { - "$id": "7158", + "$id": "7163", "kind": "property", "name": "type", "serializedName": "type", @@ -91813,7 +91863,7 @@ ] }, "json_object": { - "$id": "7159", + "$id": "7164", "kind": "model", "name": "DotNetChatResponseFormatJsonObject", "namespace": "OpenAI", @@ -91823,11 +91873,11 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "7155" + "$ref": "7160" }, "properties": [ { - "$id": "7160", + "$id": "7165", "kind": "property", "name": "type", "serializedName": "type", @@ -91846,7 +91896,7 @@ ] }, "json_schema": { - "$id": "7161", + "$id": "7166", "kind": "model", "name": "DotNetChatResponseFormatJsonSchema", "namespace": "OpenAI", @@ -91856,11 +91906,11 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "7155" + "$ref": "7160" }, "properties": [ { - "$id": "7162", + "$id": "7167", "kind": "property", "name": "type", "serializedName": "type", @@ -91876,12 +91926,12 @@ "serializationOptions": {} }, { - "$id": "7163", + "$id": "7168", "kind": "property", "name": "json_schema", "serializedName": "json_schema", "type": { - "$id": "7164", + "$id": "7169", "kind": "model", "name": "DotNetChatResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -91890,12 +91940,12 @@ "decorators": [], "properties": [ { - "$id": "7165", + "$id": "7170", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "7166", + "$id": "7171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91910,12 +91960,12 @@ "serializationOptions": {} }, { - "$id": "7167", + "$id": "7172", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7168", + "$id": "7173", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91930,12 +91980,12 @@ "serializationOptions": {} }, { - "$id": "7169", + "$id": "7174", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$id": "7170", + "$id": "7175", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -91950,15 +92000,15 @@ "serializationOptions": {} }, { - "$id": "7171", + "$id": "7176", "kind": "property", "name": "strict", "serializedName": "strict", "type": { - "$id": "7172", + "$id": "7177", "kind": "nullable", "type": { - "$id": "7173", + "$id": "7178", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -91989,19 +92039,19 @@ } }, { - "$ref": "7157" + "$ref": "7162" }, { - "$ref": "7159" + "$ref": "7164" }, { - "$ref": "7161" + "$ref": "7166" }, { - "$ref": "7164" + "$ref": "7169" }, { - "$id": "7174", + "$id": "7179", "kind": "model", "name": "DotNetAssistantResponseFormat", "namespace": "OpenAI", @@ -92010,7 +92060,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7175", + "$id": "7180", "kind": "property", "name": "type", "serializedName": "type", @@ -92027,12 +92077,12 @@ }, "properties": [ { - "$ref": "7175" + "$ref": "7180" } ], "discriminatedSubtypes": { "text": { - "$id": "7176", + "$id": "7181", "kind": "model", "name": "DotNetAssistantResponseFormatText", "namespace": "OpenAI", @@ -92042,11 +92092,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7174" + "$ref": "7179" }, "properties": [ { - "$id": "7177", + "$id": "7182", "kind": "property", "name": "type", "serializedName": "type", @@ -92065,7 +92115,7 @@ ] }, "json_object": { - "$id": "7178", + "$id": "7183", "kind": "model", "name": "DotNetAssistantResponseFormatJsonObject", "namespace": "OpenAI", @@ -92075,11 +92125,11 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "7174" + "$ref": "7179" }, "properties": [ { - "$id": "7179", + "$id": "7184", "kind": "property", "name": "type", "serializedName": "type", @@ -92098,7 +92148,7 @@ ] }, "json_schema": { - "$id": "7180", + "$id": "7185", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchema", "namespace": "OpenAI", @@ -92108,11 +92158,11 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "7174" + "$ref": "7179" }, "properties": [ { - "$id": "7181", + "$id": "7186", "kind": "property", "name": "type", "serializedName": "type", @@ -92128,12 +92178,12 @@ "serializationOptions": {} }, { - "$id": "7182", + "$id": "7187", "kind": "property", "name": "json_schema", "serializedName": "json_schema", "type": { - "$id": "7183", + "$id": "7188", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -92142,12 +92192,12 @@ "decorators": [], "properties": [ { - "$id": "7184", + "$id": "7189", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "7185", + "$id": "7190", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92162,12 +92212,12 @@ "serializationOptions": {} }, { - "$id": "7186", + "$id": "7191", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7187", + "$id": "7192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92182,12 +92232,12 @@ "serializationOptions": {} }, { - "$id": "7188", + "$id": "7193", "kind": "property", "name": "schema", "serializedName": "schema", "type": { - "$id": "7189", + "$id": "7194", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -92202,15 +92252,15 @@ "serializationOptions": {} }, { - "$id": "7190", + "$id": "7195", "kind": "property", "name": "strict", "serializedName": "strict", "type": { - "$id": "7191", + "$id": "7196", "kind": "nullable", "type": { - "$id": "7192", + "$id": "7197", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -92241,19 +92291,19 @@ } }, { - "$ref": "7176" + "$ref": "7181" }, { - "$ref": "7178" + "$ref": "7183" }, { - "$ref": "7180" + "$ref": "7185" }, { - "$ref": "7183" + "$ref": "7188" }, { - "$id": "7193", + "$id": "7198", "kind": "model", "name": "DotNetAudioLogProbsProperties", "namespace": "OpenAI", @@ -92263,13 +92313,13 @@ "decorators": [], "properties": [ { - "$id": "7194", + "$id": "7199", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7195", + "$id": "7200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92284,13 +92334,13 @@ "serializationOptions": {} }, { - "$id": "7196", + "$id": "7201", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "7197", + "$id": "7202", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -92305,7 +92355,7 @@ "serializationOptions": {} }, { - "$id": "7198", + "$id": "7203", "kind": "property", "name": "bytes", "serializedName": "bytes", @@ -92324,7 +92374,7 @@ ] }, { - "$id": "7199", + "$id": "7204", "kind": "model", "name": "DotNetRealtimeLogProbsProperties", "namespace": "OpenAI", @@ -92334,13 +92384,13 @@ "decorators": [], "properties": [ { - "$id": "7200", + "$id": "7205", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7201", + "$id": "7206", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92355,13 +92405,13 @@ "serializationOptions": {} }, { - "$id": "7202", + "$id": "7207", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "7203", + "$id": "7208", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -92376,7 +92426,7 @@ "serializationOptions": {} }, { - "$id": "7204", + "$id": "7209", "kind": "property", "name": "bytes", "serializedName": "bytes", @@ -92395,7 +92445,7 @@ ] }, { - "$id": "7205", + "$id": "7210", "kind": "model", "name": "DotnetResponseWebSearchLocation", "namespace": "OpenAI", @@ -92404,7 +92454,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7206", + "$id": "7211", "kind": "property", "name": "type", "serializedName": "type", @@ -92421,12 +92471,12 @@ }, "properties": [ { - "$ref": "7206" + "$ref": "7211" } ], "discriminatedSubtypes": { "approximate": { - "$id": "7207", + "$id": "7212", "kind": "model", "name": "DotnetResponseWebSearchApproximateLocation", "namespace": "OpenAI", @@ -92436,11 +92486,11 @@ "discriminatorValue": "approximate", "decorators": [], "baseModel": { - "$ref": "7205" + "$ref": "7210" }, "properties": [ { - "$id": "7208", + "$id": "7213", "kind": "property", "name": "type", "serializedName": "type", @@ -92456,7 +92506,7 @@ "serializationOptions": {} }, { - "$id": "7209", + "$id": "7214", "kind": "property", "name": "country", "serializedName": "country", @@ -92472,7 +92522,7 @@ "serializationOptions": {} }, { - "$id": "7210", + "$id": "7215", "kind": "property", "name": "region", "serializedName": "region", @@ -92488,7 +92538,7 @@ "serializationOptions": {} }, { - "$id": "7211", + "$id": "7216", "kind": "property", "name": "city", "serializedName": "city", @@ -92504,7 +92554,7 @@ "serializationOptions": {} }, { - "$id": "7212", + "$id": "7217", "kind": "property", "name": "timezone", "serializedName": "timezone", @@ -92524,10 +92574,10 @@ } }, { - "$ref": "7207" + "$ref": "7212" }, { - "$id": "7213", + "$id": "7218", "kind": "model", "name": "DotNetCombinedChunkingStrategyParam", "namespace": "OpenAI", @@ -92535,7 +92585,7 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7214", + "$id": "7219", "kind": "property", "name": "type", "serializedName": "type", @@ -92552,12 +92602,12 @@ }, "properties": [ { - "$ref": "7214" + "$ref": "7219" } ], "discriminatedSubtypes": { "auto": { - "$id": "7215", + "$id": "7220", "kind": "model", "name": "DotNetCombinedAutoChunkingStrategyParam", "namespace": "OpenAI", @@ -92567,11 +92617,11 @@ "discriminatorValue": "auto", "decorators": [], "baseModel": { - "$ref": "7213" + "$ref": "7218" }, "properties": [ { - "$id": "7216", + "$id": "7221", "kind": "property", "name": "type", "serializedName": "type", @@ -92590,7 +92640,7 @@ ] }, "static": { - "$id": "7217", + "$id": "7222", "kind": "model", "name": "DotNetCombinedStaticChunkingStrategyParam", "namespace": "OpenAI", @@ -92600,11 +92650,11 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "7213" + "$ref": "7218" }, "properties": [ { - "$id": "7218", + "$id": "7223", "kind": "property", "name": "type", "serializedName": "type", @@ -92621,7 +92671,7 @@ "serializationOptions": {} }, { - "$id": "7219", + "$id": "7224", "kind": "property", "name": "static", "serializedName": "static", @@ -92639,7 +92689,7 @@ ] }, "other": { - "$id": "7220", + "$id": "7225", "kind": "model", "name": "DotNetCombinedOtherChunkingStrategyParam", "namespace": "OpenAI", @@ -92649,11 +92699,11 @@ "discriminatorValue": "other", "decorators": [], "baseModel": { - "$ref": "7213" + "$ref": "7218" }, "properties": [ { - "$id": "7221", + "$id": "7226", "kind": "property", "name": "type", "serializedName": "type", @@ -92674,16 +92724,16 @@ } }, { - "$ref": "7215" + "$ref": "7220" }, { - "$ref": "7217" + "$ref": "7222" }, { - "$ref": "7220" + "$ref": "7225" }, { - "$id": "7222", + "$id": "7227", "kind": "model", "name": "ContainerListResource", "namespace": "OpenAI", @@ -92692,7 +92742,7 @@ "decorators": [], "properties": [ { - "$id": "7223", + "$id": "7228", "kind": "property", "name": "object", "serializedName": "object", @@ -92709,17 +92759,17 @@ "serializationOptions": {} }, { - "$id": "7224", + "$id": "7229", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of containers.", "type": { - "$id": "7225", + "$id": "7230", "kind": "array", "name": "ArrayContainerResource", "valueType": { - "$id": "7226", + "$id": "7231", "kind": "model", "name": "ContainerResource", "namespace": "OpenAI", @@ -92728,13 +92778,13 @@ "decorators": [], "properties": [ { - "$id": "7227", + "$id": "7232", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the container.", "type": { - "$id": "7228", + "$id": "7233", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92749,13 +92799,13 @@ "serializationOptions": {} }, { - "$id": "7229", + "$id": "7234", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object.", "type": { - "$id": "7230", + "$id": "7235", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92770,13 +92820,13 @@ "serializationOptions": {} }, { - "$id": "7231", + "$id": "7236", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container.", "type": { - "$id": "7232", + "$id": "7237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92791,18 +92841,18 @@ "serializationOptions": {} }, { - "$id": "7233", + "$id": "7238", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the container was created.", "type": { - "$id": "7234", + "$id": "7239", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7235", + "$id": "7240", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92820,13 +92870,13 @@ "serializationOptions": {} }, { - "$id": "7236", + "$id": "7241", "kind": "property", "name": "status", "serializedName": "status", "doc": "Status of the container (e.g., active, deleted).", "type": { - "$id": "7237", + "$id": "7242", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92841,13 +92891,13 @@ "serializationOptions": {} }, { - "$id": "7238", + "$id": "7243", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "doc": "The container will expire after this time period.\nThe anchor is the reference point for the expiration.\nThe minutes is the number of minutes after the anchor before the container expires.", "type": { - "$id": "7239", + "$id": "7244", "kind": "model", "name": "ContainerResourceExpiresAfter", "namespace": "OpenAI", @@ -92856,7 +92906,7 @@ "decorators": [], "properties": [ { - "$id": "7240", + "$id": "7245", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -92873,13 +92923,13 @@ "serializationOptions": {} }, { - "$id": "7241", + "$id": "7246", "kind": "property", "name": "minutes", "serializedName": "minutes", "doc": "The number of minutes after the anchor before the container expires.", "type": { - "$id": "7242", + "$id": "7247", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92917,13 +92967,13 @@ "serializationOptions": {} }, { - "$id": "7243", + "$id": "7248", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first container in the list.", "type": { - "$id": "7244", + "$id": "7249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92938,13 +92988,13 @@ "serializationOptions": {} }, { - "$id": "7245", + "$id": "7250", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last container in the list.", "type": { - "$id": "7246", + "$id": "7251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92959,13 +93009,13 @@ "serializationOptions": {} }, { - "$id": "7247", + "$id": "7252", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more containers available.", "type": { - "$id": "7248", + "$id": "7253", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -92982,13 +93032,13 @@ ] }, { - "$ref": "7226" + "$ref": "7231" }, { - "$ref": "7239" + "$ref": "7244" }, { - "$id": "7249", + "$id": "7254", "kind": "model", "name": "CreateContainerBody", "namespace": "OpenAI", @@ -92997,13 +93047,13 @@ "decorators": [], "properties": [ { - "$id": "7250", + "$id": "7255", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the container to create.", "type": { - "$id": "7251", + "$id": "7256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93018,7 +93068,7 @@ "serializationOptions": {} }, { - "$id": "7252", + "$id": "7257", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -93035,13 +93085,13 @@ "serializationOptions": {} }, { - "$id": "7253", + "$id": "7258", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "doc": "Container expiration time in seconds relative to the 'anchor' time.", "type": { - "$id": "7254", + "$id": "7259", "kind": "model", "name": "CreateContainerBodyExpiresAfter", "namespace": "OpenAI", @@ -93050,7 +93100,7 @@ "decorators": [], "properties": [ { - "$id": "7255", + "$id": "7260", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -93067,12 +93117,12 @@ "serializationOptions": {} }, { - "$id": "7256", + "$id": "7261", "kind": "property", "name": "minutes", "serializedName": "minutes", "type": { - "$id": "7257", + "$id": "7262", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93099,10 +93149,10 @@ ] }, { - "$ref": "7254" + "$ref": "7259" }, { - "$id": "7258", + "$id": "7263", "kind": "model", "name": "DeleteContainerResponse", "namespace": "OpenAI", @@ -93111,12 +93161,12 @@ "decorators": [], "properties": [ { - "$id": "7259", + "$id": "7264", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7260", + "$id": "7265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93131,7 +93181,7 @@ "serializationOptions": {} }, { - "$id": "7261", + "$id": "7266", "kind": "property", "name": "object", "serializedName": "object", @@ -93147,7 +93197,7 @@ "serializationOptions": {} }, { - "$id": "7262", + "$id": "7267", "kind": "property", "name": "deleted", "serializedName": "deleted", @@ -93165,7 +93215,7 @@ ] }, { - "$id": "7263", + "$id": "7268", "kind": "model", "name": "CreateContainerFileBody", "namespace": "OpenAI", @@ -93174,13 +93224,13 @@ "decorators": [], "properties": [ { - "$id": "7264", + "$id": "7269", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "Name of the file to create.", "type": { - "$id": "7265", + "$id": "7270", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93204,13 +93254,13 @@ } }, { - "$id": "7266", + "$id": "7271", "kind": "property", "name": "file", "serializedName": "file", "doc": "The File object (not file name) to be uploaded.", "type": { - "$id": "7267", + "$id": "7272", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -93237,7 +93287,7 @@ ] }, { - "$id": "7268", + "$id": "7273", "kind": "model", "name": "ContainerFileResource", "namespace": "OpenAI", @@ -93246,13 +93296,13 @@ "decorators": [], "properties": [ { - "$id": "7269", + "$id": "7274", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the file.", "type": { - "$id": "7270", + "$id": "7275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93267,13 +93317,13 @@ "serializationOptions": {} }, { - "$id": "7271", + "$id": "7276", "kind": "property", "name": "object", "serializedName": "object", "doc": "The type of this object (`container.file`).", "type": { - "$id": "7272", + "$id": "7277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93288,13 +93338,13 @@ "serializationOptions": {} }, { - "$id": "7273", + "$id": "7278", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The container this file belongs to.", "type": { - "$id": "7274", + "$id": "7279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93309,18 +93359,18 @@ "serializationOptions": {} }, { - "$id": "7275", + "$id": "7280", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the file was created.", "type": { - "$id": "7276", + "$id": "7281", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7277", + "$id": "7282", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93338,13 +93388,13 @@ "serializationOptions": {} }, { - "$id": "7278", + "$id": "7283", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "Size of the file in bytes.", "type": { - "$id": "7279", + "$id": "7284", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93359,13 +93409,13 @@ "serializationOptions": {} }, { - "$id": "7280", + "$id": "7285", "kind": "property", "name": "path", "serializedName": "path", "doc": "Path of the file in the container.", "type": { - "$id": "7281", + "$id": "7286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93380,13 +93430,13 @@ "serializationOptions": {} }, { - "$id": "7282", + "$id": "7287", "kind": "property", "name": "source", "serializedName": "source", "doc": "Source of the file (e.g., `user`, `assistant`).", "type": { - "$id": "7283", + "$id": "7288", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93403,7 +93453,7 @@ ] }, { - "$id": "7284", + "$id": "7289", "kind": "model", "name": "ContainerFileListResource", "namespace": "OpenAI", @@ -93412,7 +93462,7 @@ "decorators": [], "properties": [ { - "$id": "7285", + "$id": "7290", "kind": "property", "name": "object", "serializedName": "object", @@ -93429,17 +93479,17 @@ "serializationOptions": {} }, { - "$id": "7286", + "$id": "7291", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of container files.", "type": { - "$id": "7287", + "$id": "7292", "kind": "array", "name": "ArrayContainerFileResource", "valueType": { - "$ref": "7268" + "$ref": "7273" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -93453,13 +93503,13 @@ "serializationOptions": {} }, { - "$id": "7288", + "$id": "7293", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first file in the list.", "type": { - "$id": "7289", + "$id": "7294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93474,13 +93524,13 @@ "serializationOptions": {} }, { - "$id": "7290", + "$id": "7295", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last file in the list.", "type": { - "$id": "7291", + "$id": "7296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93495,13 +93545,13 @@ "serializationOptions": {} }, { - "$id": "7292", + "$id": "7297", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more files available.", "type": { - "$id": "7293", + "$id": "7298", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93518,7 +93568,7 @@ ] }, { - "$id": "7294", + "$id": "7299", "kind": "model", "name": "DeleteContainerFileResponse", "namespace": "OpenAI", @@ -93527,12 +93577,12 @@ "decorators": [], "properties": [ { - "$id": "7295", + "$id": "7300", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "7296", + "$id": "7301", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93547,7 +93597,7 @@ "serializationOptions": {} }, { - "$id": "7297", + "$id": "7302", "kind": "property", "name": "object", "serializedName": "object", @@ -93563,7 +93613,7 @@ "serializationOptions": {} }, { - "$id": "7298", + "$id": "7303", "kind": "property", "name": "deleted", "serializedName": "deleted", @@ -93581,7 +93631,7 @@ ] }, { - "$id": "7299", + "$id": "7304", "kind": "model", "name": "RunGraderRequest", "namespace": "OpenAI", @@ -93590,13 +93640,13 @@ "decorators": [], "properties": [ { - "$id": "7300", + "$id": "7305", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "7301", + "$id": "7306", "kind": "union", "name": "RunGraderRequestGrader", "variantTypes": [ @@ -93628,13 +93678,13 @@ "serializationOptions": {} }, { - "$id": "7302", + "$id": "7307", "kind": "property", "name": "item", "serializedName": "item", "doc": "The dataset item provided to the grader. This will be used to populate\nthe `item` namespace. See [the guide](/docs/guides/graders) for more details.", "type": { - "$id": "7303", + "$id": "7308", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -93649,13 +93699,13 @@ "serializationOptions": {} }, { - "$id": "7304", + "$id": "7309", "kind": "property", "name": "model_sample", "serializedName": "model_sample", "doc": "The model sample to be evaluated. This value will be used to populate\nthe `sample` namespace. See [the guide](/docs/guides/graders) for more details.\nThe `output_json` variable will be populated if the model sample is a\nvalid JSON string.", "type": { - "$id": "7305", + "$id": "7310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93672,7 +93722,7 @@ ] }, { - "$id": "7306", + "$id": "7311", "kind": "model", "name": "RunGraderResponse", "namespace": "OpenAI", @@ -93681,12 +93731,12 @@ "decorators": [], "properties": [ { - "$id": "7307", + "$id": "7312", "kind": "property", "name": "reward", "serializedName": "reward", "type": { - "$id": "7308", + "$id": "7313", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -93701,12 +93751,12 @@ "serializationOptions": {} }, { - "$id": "7309", + "$id": "7314", "kind": "property", "name": "metadata", "serializedName": "metadata", "type": { - "$id": "7310", + "$id": "7315", "kind": "model", "name": "RunGraderResponseMetadata", "namespace": "OpenAI", @@ -93715,12 +93765,12 @@ "decorators": [], "properties": [ { - "$id": "7311", + "$id": "7316", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "7312", + "$id": "7317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93735,12 +93785,12 @@ "serializationOptions": {} }, { - "$id": "7313", + "$id": "7318", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "7314", + "$id": "7319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93755,12 +93805,12 @@ "serializationOptions": {} }, { - "$id": "7315", + "$id": "7320", "kind": "property", "name": "errors", "serializedName": "errors", "type": { - "$id": "7316", + "$id": "7321", "kind": "model", "name": "RunGraderResponseMetadataErrors", "namespace": "OpenAI", @@ -93769,12 +93819,12 @@ "decorators": [], "properties": [ { - "$id": "7317", + "$id": "7322", "kind": "property", "name": "formula_parse_error", "serializedName": "formula_parse_error", "type": { - "$id": "7318", + "$id": "7323", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93789,12 +93839,12 @@ "serializationOptions": {} }, { - "$id": "7319", + "$id": "7324", "kind": "property", "name": "sample_parse_error", "serializedName": "sample_parse_error", "type": { - "$id": "7320", + "$id": "7325", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93809,12 +93859,12 @@ "serializationOptions": {} }, { - "$id": "7321", + "$id": "7326", "kind": "property", "name": "truncated_observation_error", "serializedName": "truncated_observation_error", "type": { - "$id": "7322", + "$id": "7327", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93829,12 +93879,12 @@ "serializationOptions": {} }, { - "$id": "7323", + "$id": "7328", "kind": "property", "name": "unresponsive_reward_error", "serializedName": "unresponsive_reward_error", "type": { - "$id": "7324", + "$id": "7329", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93849,12 +93899,12 @@ "serializationOptions": {} }, { - "$id": "7325", + "$id": "7330", "kind": "property", "name": "invalid_variable_error", "serializedName": "invalid_variable_error", "type": { - "$id": "7326", + "$id": "7331", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93869,12 +93919,12 @@ "serializationOptions": {} }, { - "$id": "7327", + "$id": "7332", "kind": "property", "name": "other_error", "serializedName": "other_error", "type": { - "$id": "7328", + "$id": "7333", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93889,12 +93939,12 @@ "serializationOptions": {} }, { - "$id": "7329", + "$id": "7334", "kind": "property", "name": "python_grader_server_error", "serializedName": "python_grader_server_error", "type": { - "$id": "7330", + "$id": "7335", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93909,15 +93959,15 @@ "serializationOptions": {} }, { - "$id": "7331", + "$id": "7336", "kind": "property", "name": "python_grader_server_error_type", "serializedName": "python_grader_server_error_type", "type": { - "$id": "7332", + "$id": "7337", "kind": "nullable", "type": { - "$id": "7333", + "$id": "7338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93934,12 +93984,12 @@ "serializationOptions": {} }, { - "$id": "7334", + "$id": "7339", "kind": "property", "name": "python_grader_runtime_error", "serializedName": "python_grader_runtime_error", "type": { - "$id": "7335", + "$id": "7340", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93954,15 +94004,15 @@ "serializationOptions": {} }, { - "$id": "7336", + "$id": "7341", "kind": "property", "name": "python_grader_runtime_error_details", "serializedName": "python_grader_runtime_error_details", "type": { - "$id": "7337", + "$id": "7342", "kind": "nullable", "type": { - "$id": "7338", + "$id": "7343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93979,12 +94029,12 @@ "serializationOptions": {} }, { - "$id": "7339", + "$id": "7344", "kind": "property", "name": "model_grader_server_error", "serializedName": "model_grader_server_error", "type": { - "$id": "7340", + "$id": "7345", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -93999,12 +94049,12 @@ "serializationOptions": {} }, { - "$id": "7341", + "$id": "7346", "kind": "property", "name": "model_grader_refusal_error", "serializedName": "model_grader_refusal_error", "type": { - "$id": "7342", + "$id": "7347", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94019,12 +94069,12 @@ "serializationOptions": {} }, { - "$id": "7343", + "$id": "7348", "kind": "property", "name": "model_grader_parse_error", "serializedName": "model_grader_parse_error", "type": { - "$id": "7344", + "$id": "7349", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -94039,15 +94089,15 @@ "serializationOptions": {} }, { - "$id": "7345", + "$id": "7350", "kind": "property", "name": "model_grader_server_error_details", "serializedName": "model_grader_server_error_details", "type": { - "$id": "7346", + "$id": "7351", "kind": "nullable", "type": { - "$id": "7347", + "$id": "7352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94074,12 +94124,12 @@ "serializationOptions": {} }, { - "$id": "7348", + "$id": "7353", "kind": "property", "name": "execution_time", "serializedName": "execution_time", "type": { - "$id": "7349", + "$id": "7354", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -94094,12 +94144,12 @@ "serializationOptions": {} }, { - "$id": "7350", + "$id": "7355", "kind": "property", "name": "scores", "serializedName": "scores", "type": { - "$id": "7351", + "$id": "7356", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -94114,15 +94164,15 @@ "serializationOptions": {} }, { - "$id": "7352", + "$id": "7357", "kind": "property", "name": "token_usage", "serializedName": "token_usage", "type": { - "$id": "7353", + "$id": "7358", "kind": "nullable", "type": { - "$id": "7354", + "$id": "7359", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94139,15 +94189,15 @@ "serializationOptions": {} }, { - "$id": "7355", + "$id": "7360", "kind": "property", "name": "sampled_model_name", "serializedName": "sampled_model_name", "type": { - "$id": "7356", + "$id": "7361", "kind": "nullable", "type": { - "$id": "7357", + "$id": "7362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94174,12 +94224,12 @@ "serializationOptions": {} }, { - "$id": "7358", + "$id": "7363", "kind": "property", "name": "sub_rewards", "serializedName": "sub_rewards", "type": { - "$id": "7359", + "$id": "7364", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -94194,12 +94244,12 @@ "serializationOptions": {} }, { - "$id": "7360", + "$id": "7365", "kind": "property", "name": "model_grader_token_usage_per_model", "serializedName": "model_grader_token_usage_per_model", "type": { - "$id": "7361", + "$id": "7366", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -94216,13 +94266,13 @@ ] }, { - "$ref": "7310" + "$ref": "7315" }, { - "$ref": "7316" + "$ref": "7321" }, { - "$id": "7362", + "$id": "7367", "kind": "model", "name": "ValidateGraderRequest", "namespace": "OpenAI", @@ -94231,13 +94281,13 @@ "decorators": [], "properties": [ { - "$id": "7363", + "$id": "7368", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "7364", + "$id": "7369", "kind": "union", "name": "ValidateGraderRequestGrader", "variantTypes": [ @@ -94271,7 +94321,7 @@ ] }, { - "$id": "7365", + "$id": "7370", "kind": "model", "name": "ValidateGraderResponse", "namespace": "OpenAI", @@ -94280,13 +94330,13 @@ "decorators": [], "properties": [ { - "$id": "7366", + "$id": "7371", "kind": "property", "name": "grader", "serializedName": "grader", "doc": "The grader used for the fine-tuning job.", "type": { - "$id": "7367", + "$id": "7372", "kind": "union", "name": "ValidateGraderResponseGrader", "variantTypes": [ @@ -94322,19 +94372,19 @@ ], "clients": [ { - "$id": "7368", + "$id": "7373", "kind": "client", "name": "OpenAIClient", "namespace": "OpenAI", "methods": [], "parameters": [ { - "$id": "7369", + "$id": "7374", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7370", + "$id": "7375", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -94349,7 +94399,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7371", + "$id": "7376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -94364,27 +94414,27 @@ "apiVersions": [], "children": [ { - "$id": "7372", + "$id": "7377", "kind": "client", "name": "Assistants", "namespace": "OpenAI", "methods": [ { - "$id": "7373", + "$id": "7378", "kind": "basic", "name": "GetAssistants", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of assistants.", "operation": { - "$id": "7374", + "$id": "7379", "name": "GetAssistants", "resourceName": "Assistants", "summary": "Returns a list of assistants.", "accessibility": "public", "parameters": [ { - "$id": "7375", + "$id": "7380", "name": "accept", "nameInRequest": "Accept", "type": { @@ -94401,7 +94451,7 @@ "skipUrlEncoding": false }, { - "$id": "7376", + "$id": "7381", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94418,12 +94468,12 @@ "skipUrlEncoding": false }, { - "$id": "7377", + "$id": "7382", "name": "limit", "nameInRequest": "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": "7378", + "$id": "7383", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94440,7 +94490,7 @@ "skipUrlEncoding": false }, { - "$id": "7379", + "$id": "7384", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -94458,12 +94508,12 @@ "skipUrlEncoding": false }, { - "$id": "7380", + "$id": "7385", "name": "after", "nameInRequest": "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": "7381", + "$id": "7386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94480,12 +94530,12 @@ "skipUrlEncoding": false }, { - "$id": "7382", + "$id": "7387", "name": "before", "nameInRequest": "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": "7383", + "$id": "7388", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94528,7 +94578,7 @@ }, "parameters": [ { - "$id": "7384", + "$id": "7389", "name": "accept", "nameInRequest": "accept", "type": { @@ -94545,7 +94595,7 @@ "skipUrlEncoding": false }, { - "$id": "7385", + "$id": "7390", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94562,12 +94612,12 @@ "skipUrlEncoding": false }, { - "$id": "7386", + "$id": "7391", "name": "limit", "nameInRequest": "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": "7387", + "$id": "7392", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -94584,7 +94634,7 @@ "skipUrlEncoding": false }, { - "$id": "7388", + "$id": "7393", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -94602,12 +94652,12 @@ "skipUrlEncoding": false }, { - "$id": "7389", + "$id": "7394", "name": "after", "nameInRequest": "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": "7390", + "$id": "7395", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94624,12 +94674,12 @@ "skipUrlEncoding": false }, { - "$id": "7391", + "$id": "7396", "name": "before", "nameInRequest": "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": "7392", + "$id": "7397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94657,21 +94707,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants" }, { - "$id": "7393", + "$id": "7398", "kind": "basic", "name": "createAssistant", "accessibility": "public", "apiVersions": [], "summary": "Create an assistant with a model and instructions.", "operation": { - "$id": "7394", + "$id": "7399", "name": "createAssistant", "resourceName": "Assistants", "summary": "Create an assistant with a model and instructions.", "accessibility": "public", "parameters": [ { - "$id": "7395", + "$id": "7400", "name": "accept", "nameInRequest": "Accept", "type": { @@ -94688,7 +94738,7 @@ "skipUrlEncoding": false }, { - "$id": "7396", + "$id": "7401", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94705,7 +94755,7 @@ "skipUrlEncoding": false }, { - "$id": "7397", + "$id": "7402", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -94723,7 +94773,7 @@ "skipUrlEncoding": false }, { - "$id": "7398", + "$id": "7403", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -94769,7 +94819,7 @@ }, "parameters": [ { - "$id": "7399", + "$id": "7404", "name": "accept", "nameInRequest": "accept", "type": { @@ -94786,7 +94836,7 @@ "skipUrlEncoding": false }, { - "$id": "7400", + "$id": "7405", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94803,7 +94853,7 @@ "skipUrlEncoding": false }, { - "$id": "7401", + "$id": "7406", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -94820,7 +94870,7 @@ "skipUrlEncoding": false }, { - "$id": "7402", + "$id": "7407", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -94849,21 +94899,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant" }, { - "$id": "7403", + "$id": "7408", "kind": "basic", "name": "getAssistant", "accessibility": "public", "apiVersions": [], "summary": "Retrieves an assistant.", "operation": { - "$id": "7404", + "$id": "7409", "name": "getAssistant", "resourceName": "Assistants", "summary": "Retrieves an assistant.", "accessibility": "public", "parameters": [ { - "$id": "7405", + "$id": "7410", "name": "accept", "nameInRequest": "Accept", "type": { @@ -94880,7 +94930,7 @@ "skipUrlEncoding": false }, { - "$id": "7406", + "$id": "7411", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94897,12 +94947,12 @@ "skipUrlEncoding": false }, { - "$id": "7407", + "$id": "7412", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "7408", + "$id": "7413", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -94945,7 +94995,7 @@ }, "parameters": [ { - "$id": "7409", + "$id": "7414", "name": "accept", "nameInRequest": "accept", "type": { @@ -94962,7 +95012,7 @@ "skipUrlEncoding": false }, { - "$id": "7410", + "$id": "7415", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -94979,12 +95029,12 @@ "skipUrlEncoding": false }, { - "$id": "7411", + "$id": "7416", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { - "$id": "7412", + "$id": "7417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95012,21 +95062,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant" }, { - "$id": "7413", + "$id": "7418", "kind": "basic", "name": "modifyAssistant", "accessibility": "public", "apiVersions": [], "summary": "Modifies an assistant.", "operation": { - "$id": "7414", + "$id": "7419", "name": "modifyAssistant", "resourceName": "Assistants", "summary": "Modifies an assistant.", "accessibility": "public", "parameters": [ { - "$id": "7415", + "$id": "7420", "name": "accept", "nameInRequest": "Accept", "type": { @@ -95043,7 +95093,7 @@ "skipUrlEncoding": false }, { - "$id": "7416", + "$id": "7421", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -95060,12 +95110,12 @@ "skipUrlEncoding": false }, { - "$id": "7417", + "$id": "7422", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "7418", + "$id": "7423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95082,7 +95132,7 @@ "skipUrlEncoding": false }, { - "$id": "7419", + "$id": "7424", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -95100,7 +95150,7 @@ "skipUrlEncoding": false }, { - "$id": "7420", + "$id": "7425", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95146,7 +95196,7 @@ }, "parameters": [ { - "$id": "7421", + "$id": "7426", "name": "accept", "nameInRequest": "accept", "type": { @@ -95163,7 +95213,7 @@ "skipUrlEncoding": false }, { - "$id": "7422", + "$id": "7427", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -95180,12 +95230,12 @@ "skipUrlEncoding": false }, { - "$id": "7423", + "$id": "7428", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { - "$id": "7424", + "$id": "7429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95202,7 +95252,7 @@ "skipUrlEncoding": false }, { - "$id": "7425", + "$id": "7430", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95219,7 +95269,7 @@ "skipUrlEncoding": false }, { - "$id": "7426", + "$id": "7431", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -95248,21 +95298,21 @@ "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant" }, { - "$id": "7427", + "$id": "7432", "kind": "basic", "name": "deleteAssistant", "accessibility": "public", "apiVersions": [], "summary": "Delete an assistant.", "operation": { - "$id": "7428", + "$id": "7433", "name": "deleteAssistant", "resourceName": "Assistants", "summary": "Delete an assistant.", "accessibility": "public", "parameters": [ { - "$id": "7429", + "$id": "7434", "name": "accept", "nameInRequest": "Accept", "type": { @@ -95279,7 +95329,7 @@ "skipUrlEncoding": false }, { - "$id": "7430", + "$id": "7435", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -95296,12 +95346,12 @@ "skipUrlEncoding": false }, { - "$id": "7431", + "$id": "7436", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "7432", + "$id": "7437", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95344,7 +95394,7 @@ }, "parameters": [ { - "$id": "7433", + "$id": "7438", "name": "accept", "nameInRequest": "accept", "type": { @@ -95361,7 +95411,7 @@ "skipUrlEncoding": false }, { - "$id": "7434", + "$id": "7439", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -95378,12 +95428,12 @@ "skipUrlEncoding": false }, { - "$id": "7435", + "$id": "7440", "name": "assistant_id", "nameInRequest": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { - "$id": "7436", + "$id": "7441", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95413,12 +95463,12 @@ ], "parameters": [ { - "$id": "7437", + "$id": "7442", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7438", + "$id": "7443", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -95433,7 +95483,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7439", + "$id": "7444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -95447,31 +95497,31 @@ "crossLanguageDefinitionId": "OpenAI.Assistants", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7440", + "$id": "7445", "kind": "client", "name": "Audio", "namespace": "OpenAI", "methods": [ { - "$id": "7441", + "$id": "7446", "kind": "basic", "name": "GenerateSpeech", "accessibility": "public", "apiVersions": [], "summary": "Generates audio from the input text.", "operation": { - "$id": "7442", + "$id": "7447", "name": "GenerateSpeech", "resourceName": "Audio", "summary": "Generates audio from the input text.", "accessibility": "public", "parameters": [ { - "$id": "7443", + "$id": "7448", "name": "accept", "nameInRequest": "Accept", "type": { @@ -95488,7 +95538,7 @@ "skipUrlEncoding": false }, { - "$id": "7444", + "$id": "7449", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -95506,7 +95556,7 @@ "skipUrlEncoding": false }, { - "$id": "7445", + "$id": "7450", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95529,7 +95579,7 @@ 200 ], "bodyType": { - "$id": "7446", + "$id": "7451", "kind": "bytes", "name": "bytes", "crossLanguageDefinitionId": "TypeSpec.bytes", @@ -95541,7 +95591,7 @@ "nameInResponse": "Transfer-Encoding", "doc": "chunked", "type": { - "$id": "7447", + "$id": "7452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95576,7 +95626,7 @@ }, "parameters": [ { - "$id": "7448", + "$id": "7453", "name": "accept", "nameInRequest": "accept", "type": { @@ -95593,7 +95643,7 @@ "skipUrlEncoding": false }, { - "$id": "7449", + "$id": "7454", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95610,7 +95660,7 @@ "skipUrlEncoding": false }, { - "$id": "7450", + "$id": "7455", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -95630,7 +95680,7 @@ ], "response": { "type": { - "$ref": "7446" + "$ref": "7451" } }, "isOverride": false, @@ -95639,21 +95689,21 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech" }, { - "$id": "7451", + "$id": "7456", "kind": "basic", "name": "TranscribeAudio", "accessibility": "public", "apiVersions": [], "summary": "Transcribes audio into the input language.", "operation": { - "$id": "7452", + "$id": "7457", "name": "TranscribeAudio", "resourceName": "Audio", "summary": "Transcribes audio into the input language.", "accessibility": "public", "parameters": [ { - "$id": "7453", + "$id": "7458", "name": "accept", "nameInRequest": "Accept", "type": { @@ -95670,7 +95720,7 @@ "skipUrlEncoding": false }, { - "$id": "7454", + "$id": "7459", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -95687,7 +95737,7 @@ "skipUrlEncoding": false }, { - "$id": "7455", + "$id": "7460", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95710,7 +95760,7 @@ 200 ], "bodyType": { - "$id": "7456", + "$id": "7461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95755,7 +95805,7 @@ }, "parameters": [ { - "$id": "7457", + "$id": "7462", "name": "accept", "nameInRequest": "accept", "type": { @@ -95772,7 +95822,7 @@ "skipUrlEncoding": false }, { - "$id": "7458", + "$id": "7463", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -95789,7 +95839,7 @@ "skipUrlEncoding": false }, { - "$id": "7459", + "$id": "7464", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95808,7 +95858,7 @@ ], "response": { "type": { - "$ref": "7456" + "$ref": "7461" } }, "isOverride": false, @@ -95817,21 +95867,21 @@ "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription" }, { - "$id": "7460", + "$id": "7465", "kind": "basic", "name": "TranslateAudio", "accessibility": "public", "apiVersions": [], "summary": "Translates audio into English..", "operation": { - "$id": "7461", + "$id": "7466", "name": "TranslateAudio", "resourceName": "Audio", "summary": "Translates audio into English..", "accessibility": "public", "parameters": [ { - "$id": "7462", + "$id": "7467", "name": "accept", "nameInRequest": "Accept", "type": { @@ -95848,7 +95898,7 @@ "skipUrlEncoding": false }, { - "$id": "7463", + "$id": "7468", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -95865,7 +95915,7 @@ "skipUrlEncoding": false }, { - "$id": "7464", + "$id": "7469", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95888,7 +95938,7 @@ 200 ], "bodyType": { - "$id": "7465", + "$id": "7470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -95925,7 +95975,7 @@ }, "parameters": [ { - "$id": "7466", + "$id": "7471", "name": "accept", "nameInRequest": "accept", "type": { @@ -95942,7 +95992,7 @@ "skipUrlEncoding": false }, { - "$id": "7467", + "$id": "7472", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -95959,7 +96009,7 @@ "skipUrlEncoding": false }, { - "$id": "7468", + "$id": "7473", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -95978,7 +96028,7 @@ ], "response": { "type": { - "$ref": "7465" + "$ref": "7470" } }, "isOverride": false, @@ -95989,12 +96039,12 @@ ], "parameters": [ { - "$id": "7469", + "$id": "7474", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7470", + "$id": "7475", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -96009,7 +96059,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7471", + "$id": "7476", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -96023,31 +96073,31 @@ "crossLanguageDefinitionId": "OpenAI.Audio", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7472", + "$id": "7477", "kind": "client", "name": "Batches", "namespace": "OpenAI", "methods": [ { - "$id": "7473", + "$id": "7478", "kind": "basic", "name": "createBatch", "accessibility": "public", "apiVersions": [], "summary": "Creates and executes a batch from an uploaded file of requests", "operation": { - "$id": "7474", + "$id": "7479", "name": "createBatch", "resourceName": "Batches", "summary": "Creates and executes a batch from an uploaded file of requests", "accessibility": "public", "parameters": [ { - "$id": "7475", + "$id": "7480", "name": "accept", "nameInRequest": "Accept", "type": { @@ -96064,7 +96114,7 @@ "skipUrlEncoding": false }, { - "$id": "7476", + "$id": "7481", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -96082,7 +96132,7 @@ "skipUrlEncoding": false }, { - "$id": "7477", + "$id": "7482", "name": "createBatchRequest", "nameInRequest": "createBatchRequest", "type": { @@ -96128,7 +96178,7 @@ }, "parameters": [ { - "$id": "7478", + "$id": "7483", "name": "accept", "nameInRequest": "accept", "type": { @@ -96145,12 +96195,12 @@ "skipUrlEncoding": false }, { - "$id": "7479", + "$id": "7484", "name": "input_file_id", "nameInRequest": "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": "7480", + "$id": "7485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96167,7 +96217,7 @@ "skipUrlEncoding": false }, { - "$id": "7481", + "$id": "7486", "name": "endpoint", "nameInRequest": "endpoint", "doc": "The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions` and\n`/v1/embeddings` are supported.", @@ -96185,7 +96235,7 @@ "skipUrlEncoding": false }, { - "$id": "7482", + "$id": "7487", "name": "completion_window", "nameInRequest": "completion_window", "doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.", @@ -96203,7 +96253,7 @@ "skipUrlEncoding": false }, { - "$id": "7483", + "$id": "7488", "name": "metadata", "nameInRequest": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", @@ -96221,7 +96271,7 @@ "skipUrlEncoding": false }, { - "$id": "7484", + "$id": "7489", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -96250,21 +96300,21 @@ "crossLanguageDefinitionId": "OpenAI.Batches.createBatch" }, { - "$id": "7485", - "kind": "basic", + "$id": "7490", + "kind": "paging", "name": "GetBatches", "accessibility": "public", "apiVersions": [], "summary": "List your organization's batches.", "operation": { - "$id": "7486", + "$id": "7491", "name": "GetBatches", "resourceName": "Batches", "summary": "List your organization's batches.", "accessibility": "public", "parameters": [ { - "$id": "7487", + "$id": "7492", "name": "accept", "nameInRequest": "Accept", "type": { @@ -96281,12 +96331,12 @@ "skipUrlEncoding": false }, { - "$id": "7488", + "$id": "7493", "name": "after", "nameInRequest": "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": "7489", + "$id": "7494", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96303,12 +96353,12 @@ "skipUrlEncoding": false }, { - "$id": "7490", + "$id": "7495", "name": "limit", "nameInRequest": "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": "7491", + "$id": "7496", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96351,7 +96401,7 @@ }, "parameters": [ { - "$id": "7492", + "$id": "7497", "name": "accept", "nameInRequest": "accept", "type": { @@ -96368,12 +96418,12 @@ "skipUrlEncoding": false }, { - "$id": "7493", + "$id": "7498", "name": "after", "nameInRequest": "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": "7494", + "$id": "7499", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96390,12 +96440,12 @@ "skipUrlEncoding": false }, { - "$id": "7495", + "$id": "7500", "name": "limit", "nameInRequest": "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": "7496", + "$id": "7501", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96414,30 +96464,47 @@ ], "response": { "type": { - "$ref": "2660" - } + "$ref": "2662" + }, + "resultSegments": [ + "data" + ] }, "isOverride": false, "generateConvenient": true, "generateProtocol": true, - "crossLanguageDefinitionId": "OpenAI.Batches.listBatches" + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches", + "pagingMetadata": { + "itemPropertySegments": [ + "data" + ], + "continuationToken": { + "parameter": { + "$ref": "7493" + }, + "responseSegments": [ + "last_id" + ], + "responseLocation": "Body" + } + } }, { - "$id": "7497", + "$id": "7502", "kind": "basic", "name": "GetBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a batch.", "operation": { - "$id": "7498", + "$id": "7503", "name": "GetBatch", "resourceName": "Batches", "summary": "Retrieves a batch.", "accessibility": "public", "parameters": [ { - "$id": "7499", + "$id": "7504", "name": "accept", "nameInRequest": "Accept", "type": { @@ -96454,12 +96521,12 @@ "skipUrlEncoding": false }, { - "$id": "7500", + "$id": "7505", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "7501", + "$id": "7506", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96502,7 +96569,7 @@ }, "parameters": [ { - "$id": "7502", + "$id": "7507", "name": "accept", "nameInRequest": "accept", "type": { @@ -96519,12 +96586,12 @@ "skipUrlEncoding": false }, { - "$id": "7503", + "$id": "7508", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { - "$id": "7504", + "$id": "7509", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96552,21 +96619,21 @@ "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch" }, { - "$id": "7505", + "$id": "7510", "kind": "basic", "name": "cancelBatch", "accessibility": "public", "apiVersions": [], "summary": "Cancels an in-progress batch.", "operation": { - "$id": "7506", + "$id": "7511", "name": "cancelBatch", "resourceName": "Batches", "summary": "Cancels an in-progress batch.", "accessibility": "public", "parameters": [ { - "$id": "7507", + "$id": "7512", "name": "accept", "nameInRequest": "Accept", "type": { @@ -96583,12 +96650,12 @@ "skipUrlEncoding": false }, { - "$id": "7508", + "$id": "7513", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "7509", + "$id": "7514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96631,7 +96698,7 @@ }, "parameters": [ { - "$id": "7510", + "$id": "7515", "name": "accept", "nameInRequest": "accept", "type": { @@ -96648,12 +96715,12 @@ "skipUrlEncoding": false }, { - "$id": "7511", + "$id": "7516", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the batch to cancel.", "type": { - "$id": "7512", + "$id": "7517", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96683,12 +96750,12 @@ ], "parameters": [ { - "$id": "7513", + "$id": "7518", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7514", + "$id": "7519", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -96703,7 +96770,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7515", + "$id": "7520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -96717,36 +96784,36 @@ "crossLanguageDefinitionId": "OpenAI.Batches", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7516", + "$id": "7521", "kind": "client", "name": "Chat", "namespace": "OpenAI", "methods": [ { - "$id": "7517", + "$id": "7522", "kind": "paging", "name": "listChatCompletions", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of chat completions.", "operation": { - "$id": "7518", + "$id": "7523", "name": "listChatCompletions", "resourceName": "Chat", "summary": "Returns a list of chat completions.", "accessibility": "public", "parameters": [ { - "$id": "7519", + "$id": "7524", "name": "after", "nameInRequest": "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": "7520", + "$id": "7525", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96763,12 +96830,12 @@ "skipUrlEncoding": false }, { - "$id": "7521", + "$id": "7526", "name": "limit", "nameInRequest": "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": "7522", + "$id": "7527", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96785,7 +96852,7 @@ "skipUrlEncoding": false }, { - "$id": "7523", + "$id": "7528", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -96803,7 +96870,7 @@ "skipUrlEncoding": false }, { - "$id": "7524", + "$id": "7529", "name": "metadata", "nameInRequest": "metadata", "type": { @@ -96820,11 +96887,11 @@ "skipUrlEncoding": false }, { - "$id": "7525", + "$id": "7530", "name": "model", "nameInRequest": "model", "type": { - "$id": "7526", + "$id": "7531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96841,7 +96908,7 @@ "skipUrlEncoding": false }, { - "$id": "7527", + "$id": "7532", "name": "accept", "nameInRequest": "Accept", "type": { @@ -96884,12 +96951,12 @@ }, "parameters": [ { - "$id": "7528", + "$id": "7533", "name": "after", "nameInRequest": "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": "7529", + "$id": "7534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96906,12 +96973,12 @@ "skipUrlEncoding": false }, { - "$id": "7530", + "$id": "7535", "name": "limit", "nameInRequest": "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": "7531", + "$id": "7536", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -96928,7 +96995,7 @@ "skipUrlEncoding": false }, { - "$id": "7532", + "$id": "7537", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -96946,7 +97013,7 @@ "skipUrlEncoding": false }, { - "$id": "7533", + "$id": "7538", "name": "metadata", "nameInRequest": "metadata", "type": { @@ -96963,11 +97030,11 @@ "skipUrlEncoding": false }, { - "$id": "7534", + "$id": "7539", "name": "model", "nameInRequest": "model", "type": { - "$id": "7535", + "$id": "7540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -96984,7 +97051,7 @@ "skipUrlEncoding": false }, { - "$id": "7536", + "$id": "7541", "name": "accept", "nameInRequest": "accept", "type": { @@ -97019,7 +97086,7 @@ ], "continuationToken": { "parameter": { - "$ref": "7519" + "$ref": "7524" }, "responseSegments": [ "last_id" @@ -97029,21 +97096,21 @@ } }, { - "$id": "7537", + "$id": "7542", "kind": "basic", "name": "CompleteChat", "accessibility": "public", "apiVersions": [], "summary": "Creates a model response for the given chat conversation.", "operation": { - "$id": "7538", + "$id": "7543", "name": "CompleteChat", "resourceName": "Chat", "summary": "Creates a model response for the given chat conversation.", "accessibility": "public", "parameters": [ { - "$id": "7539", + "$id": "7544", "name": "accept", "nameInRequest": "Accept", "type": { @@ -97060,7 +97127,7 @@ "skipUrlEncoding": false }, { - "$id": "7540", + "$id": "7545", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -97078,7 +97145,7 @@ "skipUrlEncoding": false }, { - "$id": "7541", + "$id": "7546", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -97133,7 +97200,7 @@ }, "parameters": [ { - "$id": "7542", + "$id": "7547", "name": "accept", "nameInRequest": "accept", "type": { @@ -97150,7 +97217,7 @@ "skipUrlEncoding": false }, { - "$id": "7543", + "$id": "7548", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -97167,7 +97234,7 @@ "skipUrlEncoding": false }, { - "$id": "7544", + "$id": "7549", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -97196,26 +97263,26 @@ "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion" }, { - "$id": "7545", + "$id": "7550", "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": "7546", + "$id": "7551", "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": "7547", + "$id": "7552", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "7548", + "$id": "7553", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97232,7 +97299,7 @@ "skipUrlEncoding": false }, { - "$id": "7549", + "$id": "7554", "name": "accept", "nameInRequest": "Accept", "type": { @@ -97275,12 +97342,12 @@ }, "parameters": [ { - "$id": "7550", + "$id": "7555", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { - "$id": "7551", + "$id": "7556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97297,7 +97364,7 @@ "skipUrlEncoding": false }, { - "$id": "7552", + "$id": "7557", "name": "accept", "nameInRequest": "accept", "type": { @@ -97325,26 +97392,26 @@ "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion" }, { - "$id": "7553", + "$id": "7558", "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": "7554", + "$id": "7559", "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": "7555", + "$id": "7560", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "7556", + "$id": "7561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97361,7 +97428,7 @@ "skipUrlEncoding": false }, { - "$id": "7557", + "$id": "7562", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -97379,7 +97446,7 @@ "skipUrlEncoding": false }, { - "$id": "7558", + "$id": "7563", "name": "accept", "nameInRequest": "Accept", "type": { @@ -97396,7 +97463,7 @@ "skipUrlEncoding": false }, { - "$id": "7559", + "$id": "7564", "name": "updateChatCompletionRequest", "nameInRequest": "updateChatCompletionRequest", "type": { @@ -97442,12 +97509,12 @@ }, "parameters": [ { - "$id": "7560", + "$id": "7565", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { - "$id": "7561", + "$id": "7566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97464,7 +97531,7 @@ "skipUrlEncoding": false }, { - "$id": "7562", + "$id": "7567", "name": "metadata", "nameInRequest": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", @@ -97482,7 +97549,7 @@ "skipUrlEncoding": false }, { - "$id": "7563", + "$id": "7568", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -97500,7 +97567,7 @@ "skipUrlEncoding": false }, { - "$id": "7564", + "$id": "7569", "name": "accept", "nameInRequest": "accept", "type": { @@ -97528,26 +97595,26 @@ "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion" }, { - "$id": "7565", + "$id": "7570", "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": "7566", + "$id": "7571", "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": "7567", + "$id": "7572", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "7568", + "$id": "7573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97564,7 +97631,7 @@ "skipUrlEncoding": false }, { - "$id": "7569", + "$id": "7574", "name": "accept", "nameInRequest": "Accept", "type": { @@ -97607,12 +97674,12 @@ }, "parameters": [ { - "$id": "7570", + "$id": "7575", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { - "$id": "7571", + "$id": "7576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97629,7 +97696,7 @@ "skipUrlEncoding": false }, { - "$id": "7572", + "$id": "7577", "name": "accept", "nameInRequest": "accept", "type": { @@ -97657,26 +97724,26 @@ "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion" }, { - "$id": "7573", + "$id": "7578", "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": "7574", + "$id": "7579", "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": "7575", + "$id": "7580", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "7576", + "$id": "7581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97693,12 +97760,12 @@ "skipUrlEncoding": false }, { - "$id": "7577", + "$id": "7582", "name": "after", "nameInRequest": "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": "7578", + "$id": "7583", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97715,12 +97782,12 @@ "skipUrlEncoding": false }, { - "$id": "7579", + "$id": "7584", "name": "limit", "nameInRequest": "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": "7580", + "$id": "7585", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97737,7 +97804,7 @@ "skipUrlEncoding": false }, { - "$id": "7581", + "$id": "7586", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -97755,7 +97822,7 @@ "skipUrlEncoding": false }, { - "$id": "7582", + "$id": "7587", "name": "accept", "nameInRequest": "Accept", "type": { @@ -97798,12 +97865,12 @@ }, "parameters": [ { - "$id": "7583", + "$id": "7588", "name": "completion_id", "nameInRequest": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { - "$id": "7584", + "$id": "7589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97820,12 +97887,12 @@ "skipUrlEncoding": false }, { - "$id": "7585", + "$id": "7590", "name": "after", "nameInRequest": "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": "7586", + "$id": "7591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -97842,12 +97909,12 @@ "skipUrlEncoding": false }, { - "$id": "7587", + "$id": "7592", "name": "limit", "nameInRequest": "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": "7588", + "$id": "7593", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -97864,7 +97931,7 @@ "skipUrlEncoding": false }, { - "$id": "7589", + "$id": "7594", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -97882,7 +97949,7 @@ "skipUrlEncoding": false }, { - "$id": "7590", + "$id": "7595", "name": "accept", "nameInRequest": "accept", "type": { @@ -97917,7 +97984,7 @@ ], "continuationToken": { "parameter": { - "$ref": "7577" + "$ref": "7582" }, "responseSegments": [ "last_id" @@ -97929,12 +97996,12 @@ ], "parameters": [ { - "$id": "7591", + "$id": "7596", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7592", + "$id": "7597", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -97949,7 +98016,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7593", + "$id": "7598", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -97963,34 +98030,34 @@ "crossLanguageDefinitionId": "OpenAI.Chat", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7594", + "$id": "7599", "kind": "client", "name": "Containers", "namespace": "OpenAI", "methods": [ { - "$id": "7595", + "$id": "7600", "kind": "basic", "name": "listContainers", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7596", + "$id": "7601", "name": "listContainers", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7597", + "$id": "7602", "name": "limit", "nameInRequest": "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": "7598", + "$id": "7603", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98007,7 +98074,7 @@ "skipUrlEncoding": false }, { - "$id": "7599", + "$id": "7604", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -98025,12 +98092,12 @@ "skipUrlEncoding": false }, { - "$id": "7600", + "$id": "7605", "name": "after", "nameInRequest": "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": "7601", + "$id": "7606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98047,7 +98114,7 @@ "skipUrlEncoding": false }, { - "$id": "7602", + "$id": "7607", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98070,7 +98137,7 @@ 200 ], "bodyType": { - "$ref": "7222" + "$ref": "7227" }, "headers": [], "isErrorResponse": false, @@ -98090,12 +98157,12 @@ }, "parameters": [ { - "$id": "7603", + "$id": "7608", "name": "limit", "nameInRequest": "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": "7604", + "$id": "7609", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98112,7 +98179,7 @@ "skipUrlEncoding": false }, { - "$id": "7605", + "$id": "7610", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -98130,12 +98197,12 @@ "skipUrlEncoding": false }, { - "$id": "7606", + "$id": "7611", "name": "after", "nameInRequest": "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": "7607", + "$id": "7612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98152,7 +98219,7 @@ "skipUrlEncoding": false }, { - "$id": "7608", + "$id": "7613", "name": "accept", "nameInRequest": "accept", "type": { @@ -98171,7 +98238,7 @@ ], "response": { "type": { - "$ref": "7222" + "$ref": "7227" } }, "isOverride": false, @@ -98180,19 +98247,19 @@ "crossLanguageDefinitionId": "OpenAI.Containers.listContainers" }, { - "$id": "7609", + "$id": "7614", "kind": "basic", "name": "createContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7610", + "$id": "7615", "name": "createContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7611", + "$id": "7616", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -98210,7 +98277,7 @@ "skipUrlEncoding": false }, { - "$id": "7612", + "$id": "7617", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98227,11 +98294,11 @@ "skipUrlEncoding": false }, { - "$id": "7613", + "$id": "7618", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7249" + "$ref": "7254" }, "location": "Body", "isApiVersion": false, @@ -98250,7 +98317,7 @@ 200 ], "bodyType": { - "$ref": "7226" + "$ref": "7231" }, "headers": [], "isErrorResponse": false, @@ -98273,11 +98340,11 @@ }, "parameters": [ { - "$id": "7614", + "$id": "7619", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7249" + "$ref": "7254" }, "location": "Body", "isApiVersion": false, @@ -98290,7 +98357,7 @@ "skipUrlEncoding": false }, { - "$id": "7615", + "$id": "7620", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -98308,7 +98375,7 @@ "skipUrlEncoding": false }, { - "$id": "7616", + "$id": "7621", "name": "accept", "nameInRequest": "accept", "type": { @@ -98327,7 +98394,7 @@ ], "response": { "type": { - "$ref": "7226" + "$ref": "7231" } }, "isOverride": false, @@ -98336,23 +98403,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainer" }, { - "$id": "7617", + "$id": "7622", "kind": "basic", "name": "GetContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7618", + "$id": "7623", "name": "GetContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7619", + "$id": "7624", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7620", + "$id": "7625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98369,7 +98436,7 @@ "skipUrlEncoding": false }, { - "$id": "7621", + "$id": "7626", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98392,7 +98459,7 @@ 200 ], "bodyType": { - "$ref": "7226" + "$ref": "7231" }, "headers": [], "isErrorResponse": false, @@ -98412,11 +98479,11 @@ }, "parameters": [ { - "$id": "7622", + "$id": "7627", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7623", + "$id": "7628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98433,7 +98500,7 @@ "skipUrlEncoding": false }, { - "$id": "7624", + "$id": "7629", "name": "accept", "nameInRequest": "accept", "type": { @@ -98452,7 +98519,7 @@ ], "response": { "type": { - "$ref": "7226" + "$ref": "7231" } }, "isOverride": false, @@ -98461,23 +98528,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer" }, { - "$id": "7625", + "$id": "7630", "kind": "basic", "name": "deleteContainer", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7626", + "$id": "7631", "name": "deleteContainer", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7627", + "$id": "7632", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7628", + "$id": "7633", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98494,7 +98561,7 @@ "skipUrlEncoding": false }, { - "$id": "7629", + "$id": "7634", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98517,7 +98584,7 @@ 200 ], "bodyType": { - "$ref": "7258" + "$ref": "7263" }, "headers": [], "isErrorResponse": false, @@ -98537,11 +98604,11 @@ }, "parameters": [ { - "$id": "7630", + "$id": "7635", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7631", + "$id": "7636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98558,7 +98625,7 @@ "skipUrlEncoding": false }, { - "$id": "7632", + "$id": "7637", "name": "accept", "nameInRequest": "accept", "type": { @@ -98577,7 +98644,7 @@ ], "response": { "type": { - "$ref": "7258" + "$ref": "7263" } }, "isOverride": false, @@ -98586,23 +98653,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer" }, { - "$id": "7633", + "$id": "7638", "kind": "basic", "name": "createContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7634", + "$id": "7639", "name": "createContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7635", + "$id": "7640", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7636", + "$id": "7641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98619,7 +98686,7 @@ "skipUrlEncoding": false }, { - "$id": "7637", + "$id": "7642", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -98636,7 +98703,7 @@ "skipUrlEncoding": false }, { - "$id": "7638", + "$id": "7643", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98653,11 +98720,11 @@ "skipUrlEncoding": false }, { - "$id": "7639", + "$id": "7644", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7263" + "$ref": "7268" }, "location": "Body", "isApiVersion": false, @@ -98676,7 +98743,7 @@ 200 ], "bodyType": { - "$ref": "7268" + "$ref": "7273" }, "headers": [], "isErrorResponse": false, @@ -98699,11 +98766,11 @@ }, "parameters": [ { - "$id": "7640", + "$id": "7645", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7641", + "$id": "7646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98720,7 +98787,7 @@ "skipUrlEncoding": false }, { - "$id": "7642", + "$id": "7647", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -98737,11 +98804,11 @@ "skipUrlEncoding": false }, { - "$id": "7643", + "$id": "7648", "name": "body", "nameInRequest": "body", "type": { - "$ref": "7263" + "$ref": "7268" }, "location": "Body", "isApiVersion": false, @@ -98754,7 +98821,7 @@ "skipUrlEncoding": false }, { - "$id": "7644", + "$id": "7649", "name": "accept", "nameInRequest": "accept", "type": { @@ -98773,7 +98840,7 @@ ], "response": { "type": { - "$ref": "7268" + "$ref": "7273" } }, "isOverride": false, @@ -98782,23 +98849,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile" }, { - "$id": "7645", + "$id": "7650", "kind": "basic", "name": "listContainerFiles", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7646", + "$id": "7651", "name": "listContainerFiles", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7647", + "$id": "7652", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7648", + "$id": "7653", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98815,12 +98882,12 @@ "skipUrlEncoding": false }, { - "$id": "7649", + "$id": "7654", "name": "limit", "nameInRequest": "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": "7650", + "$id": "7655", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98837,7 +98904,7 @@ "skipUrlEncoding": false }, { - "$id": "7651", + "$id": "7656", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -98855,12 +98922,12 @@ "skipUrlEncoding": false }, { - "$id": "7652", + "$id": "7657", "name": "after", "nameInRequest": "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": "7653", + "$id": "7658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98877,7 +98944,7 @@ "skipUrlEncoding": false }, { - "$id": "7654", + "$id": "7659", "name": "accept", "nameInRequest": "Accept", "type": { @@ -98900,7 +98967,7 @@ 200 ], "bodyType": { - "$ref": "7284" + "$ref": "7289" }, "headers": [], "isErrorResponse": false, @@ -98920,11 +98987,11 @@ }, "parameters": [ { - "$id": "7655", + "$id": "7660", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7656", + "$id": "7661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -98941,12 +99008,12 @@ "skipUrlEncoding": false }, { - "$id": "7657", + "$id": "7662", "name": "limit", "nameInRequest": "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": "7658", + "$id": "7663", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -98963,7 +99030,7 @@ "skipUrlEncoding": false }, { - "$id": "7659", + "$id": "7664", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -98981,12 +99048,12 @@ "skipUrlEncoding": false }, { - "$id": "7660", + "$id": "7665", "name": "after", "nameInRequest": "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": "7661", + "$id": "7666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99003,7 +99070,7 @@ "skipUrlEncoding": false }, { - "$id": "7662", + "$id": "7667", "name": "accept", "nameInRequest": "accept", "type": { @@ -99022,7 +99089,7 @@ ], "response": { "type": { - "$ref": "7284" + "$ref": "7289" } }, "isOverride": false, @@ -99031,23 +99098,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles" }, { - "$id": "7663", + "$id": "7668", "kind": "basic", "name": "GetContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7664", + "$id": "7669", "name": "GetContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7665", + "$id": "7670", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7666", + "$id": "7671", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99064,11 +99131,11 @@ "skipUrlEncoding": false }, { - "$id": "7667", + "$id": "7672", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7668", + "$id": "7673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99085,7 +99152,7 @@ "skipUrlEncoding": false }, { - "$id": "7669", + "$id": "7674", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99108,7 +99175,7 @@ 200 ], "bodyType": { - "$ref": "7268" + "$ref": "7273" }, "headers": [], "isErrorResponse": false, @@ -99128,11 +99195,11 @@ }, "parameters": [ { - "$id": "7670", + "$id": "7675", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7671", + "$id": "7676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99149,11 +99216,11 @@ "skipUrlEncoding": false }, { - "$id": "7672", + "$id": "7677", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7673", + "$id": "7678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99170,7 +99237,7 @@ "skipUrlEncoding": false }, { - "$id": "7674", + "$id": "7679", "name": "accept", "nameInRequest": "accept", "type": { @@ -99189,7 +99256,7 @@ ], "response": { "type": { - "$ref": "7268" + "$ref": "7273" } }, "isOverride": false, @@ -99198,23 +99265,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile" }, { - "$id": "7675", + "$id": "7680", "kind": "basic", "name": "deleteContainerFile", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7676", + "$id": "7681", "name": "deleteContainerFile", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7677", + "$id": "7682", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7678", + "$id": "7683", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99231,11 +99298,11 @@ "skipUrlEncoding": false }, { - "$id": "7679", + "$id": "7684", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7680", + "$id": "7685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99252,7 +99319,7 @@ "skipUrlEncoding": false }, { - "$id": "7681", + "$id": "7686", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99275,7 +99342,7 @@ 200 ], "bodyType": { - "$ref": "7294" + "$ref": "7299" }, "headers": [], "isErrorResponse": false, @@ -99295,11 +99362,11 @@ }, "parameters": [ { - "$id": "7682", + "$id": "7687", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7683", + "$id": "7688", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99316,11 +99383,11 @@ "skipUrlEncoding": false }, { - "$id": "7684", + "$id": "7689", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7685", + "$id": "7690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99337,7 +99404,7 @@ "skipUrlEncoding": false }, { - "$id": "7686", + "$id": "7691", "name": "accept", "nameInRequest": "accept", "type": { @@ -99356,7 +99423,7 @@ ], "response": { "type": { - "$ref": "7294" + "$ref": "7299" } }, "isOverride": false, @@ -99365,23 +99432,23 @@ "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile" }, { - "$id": "7687", + "$id": "7692", "kind": "basic", "name": "GetContainerFileContent", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "7688", + "$id": "7693", "name": "GetContainerFileContent", "resourceName": "Containers", "accessibility": "public", "parameters": [ { - "$id": "7689", + "$id": "7694", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7690", + "$id": "7695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99398,11 +99465,11 @@ "skipUrlEncoding": false }, { - "$id": "7691", + "$id": "7696", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7692", + "$id": "7697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99419,7 +99486,7 @@ "skipUrlEncoding": false }, { - "$id": "7693", + "$id": "7698", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99442,7 +99509,7 @@ 200 ], "bodyType": { - "$id": "7694", + "$id": "7699", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -99467,11 +99534,11 @@ }, "parameters": [ { - "$id": "7695", + "$id": "7700", "name": "container_id", "nameInRequest": "container_id", "type": { - "$id": "7696", + "$id": "7701", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99488,11 +99555,11 @@ "skipUrlEncoding": false }, { - "$id": "7697", + "$id": "7702", "name": "file_id", "nameInRequest": "file_id", "type": { - "$id": "7698", + "$id": "7703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99509,7 +99576,7 @@ "skipUrlEncoding": false }, { - "$id": "7699", + "$id": "7704", "name": "accept", "nameInRequest": "accept", "type": { @@ -99528,7 +99595,7 @@ ], "response": { "type": { - "$ref": "7694" + "$ref": "7699" } }, "isOverride": false, @@ -99539,12 +99606,12 @@ ], "parameters": [ { - "$id": "7700", + "$id": "7705", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7701", + "$id": "7706", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -99559,7 +99626,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7702", + "$id": "7707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -99573,31 +99640,31 @@ "crossLanguageDefinitionId": "OpenAI.Containers", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7703", + "$id": "7708", "kind": "client", "name": "Embeddings", "namespace": "OpenAI", "methods": [ { - "$id": "7704", + "$id": "7709", "kind": "basic", "name": "GenerateEmbeddings", "accessibility": "public", "apiVersions": [], "summary": "Creates an embedding vector representing the input text.", "operation": { - "$id": "7705", + "$id": "7710", "name": "GenerateEmbeddings", "resourceName": "Embeddings", "summary": "Creates an embedding vector representing the input text.", "accessibility": "public", "parameters": [ { - "$id": "7706", + "$id": "7711", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99614,7 +99681,7 @@ "skipUrlEncoding": false }, { - "$id": "7707", + "$id": "7712", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -99632,7 +99699,7 @@ "skipUrlEncoding": false }, { - "$id": "7708", + "$id": "7713", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -99678,7 +99745,7 @@ }, "parameters": [ { - "$id": "7709", + "$id": "7714", "name": "accept", "nameInRequest": "accept", "type": { @@ -99695,7 +99762,7 @@ "skipUrlEncoding": false }, { - "$id": "7710", + "$id": "7715", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -99712,7 +99779,7 @@ "skipUrlEncoding": false }, { - "$id": "7711", + "$id": "7716", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -99743,12 +99810,12 @@ ], "parameters": [ { - "$id": "7712", + "$id": "7717", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7713", + "$id": "7718", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -99763,7 +99830,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7714", + "$id": "7719", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -99777,31 +99844,31 @@ "crossLanguageDefinitionId": "OpenAI.Embeddings", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7715", + "$id": "7720", "kind": "client", "name": "Files", "namespace": "OpenAI", "methods": [ { - "$id": "7716", + "$id": "7721", "kind": "basic", "name": "GetFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of files that belong to the user's organization.", "operation": { - "$id": "7717", + "$id": "7722", "name": "GetFiles", "resourceName": "Files", "summary": "Returns a list of files that belong to the user's organization.", "accessibility": "public", "parameters": [ { - "$id": "7718", + "$id": "7723", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99818,12 +99885,12 @@ "skipUrlEncoding": false }, { - "$id": "7719", + "$id": "7724", "name": "purpose", "nameInRequest": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "7720", + "$id": "7725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99866,7 +99933,7 @@ }, "parameters": [ { - "$id": "7721", + "$id": "7726", "name": "accept", "nameInRequest": "accept", "type": { @@ -99883,12 +99950,12 @@ "skipUrlEncoding": false }, { - "$id": "7722", + "$id": "7727", "name": "purpose", "nameInRequest": "purpose", "doc": "Only return files with the given purpose.", "type": { - "$id": "7723", + "$id": "7728", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -99916,21 +99983,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.listFiles" }, { - "$id": "7724", + "$id": "7729", "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": "7725", + "$id": "7730", "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": "7726", + "$id": "7731", "name": "accept", "nameInRequest": "Accept", "type": { @@ -99947,7 +100014,7 @@ "skipUrlEncoding": false }, { - "$id": "7727", + "$id": "7732", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -99964,7 +100031,7 @@ "skipUrlEncoding": false }, { - "$id": "7728", + "$id": "7733", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -100010,7 +100077,7 @@ }, "parameters": [ { - "$id": "7729", + "$id": "7734", "name": "accept", "nameInRequest": "accept", "type": { @@ -100027,7 +100094,7 @@ "skipUrlEncoding": false }, { - "$id": "7730", + "$id": "7735", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -100044,7 +100111,7 @@ "skipUrlEncoding": false }, { - "$id": "7731", + "$id": "7736", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -100072,21 +100139,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.createFile" }, { - "$id": "7732", + "$id": "7737", "kind": "basic", "name": "deleteFile", "accessibility": "public", "apiVersions": [], "summary": "Delete a file", "operation": { - "$id": "7733", + "$id": "7738", "name": "deleteFile", "resourceName": "Files", "summary": "Delete a file", "accessibility": "public", "parameters": [ { - "$id": "7734", + "$id": "7739", "name": "accept", "nameInRequest": "Accept", "type": { @@ -100103,12 +100170,12 @@ "skipUrlEncoding": false }, { - "$id": "7735", + "$id": "7740", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7736", + "$id": "7741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100151,7 +100218,7 @@ }, "parameters": [ { - "$id": "7737", + "$id": "7742", "name": "accept", "nameInRequest": "accept", "type": { @@ -100168,12 +100235,12 @@ "skipUrlEncoding": false }, { - "$id": "7738", + "$id": "7743", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7739", + "$id": "7744", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100201,21 +100268,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.deleteFile" }, { - "$id": "7740", + "$id": "7745", "kind": "basic", "name": "GetFile", "accessibility": "public", "apiVersions": [], "summary": "Returns information about a specific file.", "operation": { - "$id": "7741", + "$id": "7746", "name": "GetFile", "resourceName": "Files", "summary": "Returns information about a specific file.", "accessibility": "public", "parameters": [ { - "$id": "7742", + "$id": "7747", "name": "accept", "nameInRequest": "Accept", "type": { @@ -100232,12 +100299,12 @@ "skipUrlEncoding": false }, { - "$id": "7743", + "$id": "7748", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7744", + "$id": "7749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100280,7 +100347,7 @@ }, "parameters": [ { - "$id": "7745", + "$id": "7750", "name": "accept", "nameInRequest": "accept", "type": { @@ -100297,12 +100364,12 @@ "skipUrlEncoding": false }, { - "$id": "7746", + "$id": "7751", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7747", + "$id": "7752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100330,21 +100397,21 @@ "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile" }, { - "$id": "7748", + "$id": "7753", "kind": "basic", "name": "downloadFile", "accessibility": "public", "apiVersions": [], "summary": "Returns the contents of the specified file.", "operation": { - "$id": "7749", + "$id": "7754", "name": "downloadFile", "resourceName": "Files", "summary": "Returns the contents of the specified file.", "accessibility": "public", "parameters": [ { - "$id": "7750", + "$id": "7755", "name": "accept", "nameInRequest": "Accept", "type": { @@ -100361,12 +100428,12 @@ "skipUrlEncoding": false }, { - "$id": "7751", + "$id": "7756", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7752", + "$id": "7757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100389,7 +100456,7 @@ 200 ], "bodyType": { - "$id": "7753", + "$id": "7758", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -100414,7 +100481,7 @@ }, "parameters": [ { - "$id": "7754", + "$id": "7759", "name": "accept", "nameInRequest": "accept", "type": { @@ -100431,12 +100498,12 @@ "skipUrlEncoding": false }, { - "$id": "7755", + "$id": "7760", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to use for this request.", "type": { - "$id": "7756", + "$id": "7761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100455,7 +100522,7 @@ ], "response": { "type": { - "$ref": "7753" + "$ref": "7758" } }, "isOverride": false, @@ -100466,12 +100533,12 @@ ], "parameters": [ { - "$id": "7757", + "$id": "7762", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7758", + "$id": "7763", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -100486,7 +100553,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7759", + "$id": "7764", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -100500,36 +100567,36 @@ "crossLanguageDefinitionId": "OpenAI.Files", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7760", + "$id": "7765", "kind": "client", "name": "FineTuning", "namespace": "OpenAI", "methods": [ { - "$id": "7761", + "$id": "7766", "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": "7762", + "$id": "7767", "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": "7763", + "$id": "7768", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "7764", + "$id": "7769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100546,12 +100613,12 @@ "skipUrlEncoding": false }, { - "$id": "7765", + "$id": "7770", "name": "after", "nameInRequest": "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": "7766", + "$id": "7771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100568,12 +100635,12 @@ "skipUrlEncoding": false }, { - "$id": "7767", + "$id": "7772", "name": "limit", "nameInRequest": "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": "7768", + "$id": "7773", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100590,7 +100657,7 @@ "skipUrlEncoding": false }, { - "$id": "7769", + "$id": "7774", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -100608,12 +100675,12 @@ "skipUrlEncoding": false }, { - "$id": "7770", + "$id": "7775", "name": "project_id", "nameInRequest": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "7771", + "$id": "7776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100630,7 +100697,7 @@ "skipUrlEncoding": false }, { - "$id": "7772", + "$id": "7777", "name": "accept", "nameInRequest": "Accept", "type": { @@ -100673,12 +100740,12 @@ }, "parameters": [ { - "$id": "7773", + "$id": "7778", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { - "$id": "7774", + "$id": "7779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100695,12 +100762,12 @@ "skipUrlEncoding": false }, { - "$id": "7775", + "$id": "7780", "name": "after", "nameInRequest": "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": "7776", + "$id": "7781", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100717,12 +100784,12 @@ "skipUrlEncoding": false }, { - "$id": "7777", + "$id": "7782", "name": "limit", "nameInRequest": "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": "7778", + "$id": "7783", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -100739,7 +100806,7 @@ "skipUrlEncoding": false }, { - "$id": "7779", + "$id": "7784", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -100757,12 +100824,12 @@ "skipUrlEncoding": false }, { - "$id": "7780", + "$id": "7785", "name": "project_id", "nameInRequest": "project_id", "doc": "The ID of the project to get permissions for.", "type": { - "$id": "7781", + "$id": "7786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100779,7 +100846,7 @@ "skipUrlEncoding": false }, { - "$id": "7782", + "$id": "7787", "name": "accept", "nameInRequest": "accept", "type": { @@ -100807,26 +100874,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions" }, { - "$id": "7783", + "$id": "7788", "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": "7784", + "$id": "7789", "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": "7785", + "$id": "7790", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "7786", + "$id": "7791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100843,7 +100910,7 @@ "skipUrlEncoding": false }, { - "$id": "7787", + "$id": "7792", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -100861,7 +100928,7 @@ "skipUrlEncoding": false }, { - "$id": "7788", + "$id": "7793", "name": "accept", "nameInRequest": "Accept", "type": { @@ -100878,7 +100945,7 @@ "skipUrlEncoding": false }, { - "$id": "7789", + "$id": "7794", "name": "createFineTuningCheckpointPermissionRequest", "nameInRequest": "createFineTuningCheckpointPermissionRequest", "type": { @@ -100924,12 +100991,12 @@ }, "parameters": [ { - "$id": "7790", + "$id": "7795", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { - "$id": "7791", + "$id": "7796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -100946,7 +101013,7 @@ "skipUrlEncoding": false }, { - "$id": "7792", + "$id": "7797", "name": "project_ids", "nameInRequest": "project_ids", "doc": "The project identifiers to grant access to.", @@ -100964,7 +101031,7 @@ "skipUrlEncoding": false }, { - "$id": "7793", + "$id": "7798", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -100982,7 +101049,7 @@ "skipUrlEncoding": false }, { - "$id": "7794", + "$id": "7799", "name": "accept", "nameInRequest": "accept", "type": { @@ -101010,26 +101077,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission" }, { - "$id": "7795", + "$id": "7800", "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": "7796", + "$id": "7801", "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": "7797", + "$id": "7802", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "7798", + "$id": "7803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101046,12 +101113,12 @@ "skipUrlEncoding": false }, { - "$id": "7799", + "$id": "7804", "name": "permission_id", "nameInRequest": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "7800", + "$id": "7805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101068,7 +101135,7 @@ "skipUrlEncoding": false }, { - "$id": "7801", + "$id": "7806", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101111,12 +101178,12 @@ }, "parameters": [ { - "$id": "7802", + "$id": "7807", "name": "fine_tuned_model_checkpoint", "nameInRequest": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { - "$id": "7803", + "$id": "7808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101133,12 +101200,12 @@ "skipUrlEncoding": false }, { - "$id": "7804", + "$id": "7809", "name": "permission_id", "nameInRequest": "permission_id", "doc": "The ID of the permission to delete.", "type": { - "$id": "7805", + "$id": "7810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101155,7 +101222,7 @@ "skipUrlEncoding": false }, { - "$id": "7806", + "$id": "7811", "name": "accept", "nameInRequest": "accept", "type": { @@ -101183,21 +101250,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission" }, { - "$id": "7807", + "$id": "7812", "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": "7808", + "$id": "7813", "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": "7809", + "$id": "7814", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101214,7 +101281,7 @@ "skipUrlEncoding": false }, { - "$id": "7810", + "$id": "7815", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -101232,7 +101299,7 @@ "skipUrlEncoding": false }, { - "$id": "7811", + "$id": "7816", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -101278,7 +101345,7 @@ }, "parameters": [ { - "$id": "7812", + "$id": "7817", "name": "accept", "nameInRequest": "accept", "type": { @@ -101295,7 +101362,7 @@ "skipUrlEncoding": false }, { - "$id": "7813", + "$id": "7818", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -101312,7 +101379,7 @@ "skipUrlEncoding": false }, { - "$id": "7814", + "$id": "7819", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -101341,21 +101408,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob" }, { - "$id": "7815", + "$id": "7820", "kind": "basic", "name": "listPaginatedFineTuningJobs", "accessibility": "public", "apiVersions": [], "summary": "List your organization's fine-tuning jobs", "operation": { - "$id": "7816", + "$id": "7821", "name": "listPaginatedFineTuningJobs", "resourceName": "FineTuning", "summary": "List your organization's fine-tuning jobs", "accessibility": "public", "parameters": [ { - "$id": "7817", + "$id": "7822", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101372,12 +101439,12 @@ "skipUrlEncoding": false }, { - "$id": "7818", + "$id": "7823", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "7819", + "$id": "7824", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101394,12 +101461,12 @@ "skipUrlEncoding": false }, { - "$id": "7820", + "$id": "7825", "name": "limit", "nameInRequest": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "7821", + "$id": "7826", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101442,7 +101509,7 @@ }, "parameters": [ { - "$id": "7822", + "$id": "7827", "name": "accept", "nameInRequest": "accept", "type": { @@ -101459,12 +101526,12 @@ "skipUrlEncoding": false }, { - "$id": "7823", + "$id": "7828", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { - "$id": "7824", + "$id": "7829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101481,12 +101548,12 @@ "skipUrlEncoding": false }, { - "$id": "7825", + "$id": "7830", "name": "limit", "nameInRequest": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { - "$id": "7826", + "$id": "7831", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101514,21 +101581,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs" }, { - "$id": "7827", + "$id": "7832", "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": "7828", + "$id": "7833", "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": "7829", + "$id": "7834", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101545,12 +101612,12 @@ "skipUrlEncoding": false }, { - "$id": "7830", + "$id": "7835", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "7831", + "$id": "7836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101593,7 +101660,7 @@ }, "parameters": [ { - "$id": "7832", + "$id": "7837", "name": "accept", "nameInRequest": "accept", "type": { @@ -101610,12 +101677,12 @@ "skipUrlEncoding": false }, { - "$id": "7833", + "$id": "7838", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { - "$id": "7834", + "$id": "7839", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101643,21 +101710,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob" }, { - "$id": "7835", + "$id": "7840", "kind": "basic", "name": "cancelFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Immediately cancel a fine-tune job.", "operation": { - "$id": "7836", + "$id": "7841", "name": "cancelFineTuningJob", "resourceName": "FineTuning", "summary": "Immediately cancel a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "7837", + "$id": "7842", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101674,12 +101741,12 @@ "skipUrlEncoding": false }, { - "$id": "7838", + "$id": "7843", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "7839", + "$id": "7844", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101722,7 +101789,7 @@ }, "parameters": [ { - "$id": "7840", + "$id": "7845", "name": "accept", "nameInRequest": "accept", "type": { @@ -101739,12 +101806,12 @@ "skipUrlEncoding": false }, { - "$id": "7841", + "$id": "7846", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { - "$id": "7842", + "$id": "7847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101772,21 +101839,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob" }, { - "$id": "7843", + "$id": "7848", "kind": "basic", "name": "listFineTuningJobCheckpoints", "accessibility": "public", "apiVersions": [], "summary": "List the checkpoints for a fine-tuning job.", "operation": { - "$id": "7844", + "$id": "7849", "name": "listFineTuningJobCheckpoints", "resourceName": "FineTuning", "summary": "List the checkpoints for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "7845", + "$id": "7850", "name": "accept", "nameInRequest": "Accept", "type": { @@ -101803,12 +101870,12 @@ "skipUrlEncoding": false }, { - "$id": "7846", + "$id": "7851", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "7847", + "$id": "7852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101825,12 +101892,12 @@ "skipUrlEncoding": false }, { - "$id": "7848", + "$id": "7853", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "7849", + "$id": "7854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101847,12 +101914,12 @@ "skipUrlEncoding": false }, { - "$id": "7850", + "$id": "7855", "name": "limit", "nameInRequest": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "7851", + "$id": "7856", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101895,7 +101962,7 @@ }, "parameters": [ { - "$id": "7852", + "$id": "7857", "name": "accept", "nameInRequest": "accept", "type": { @@ -101912,12 +101979,12 @@ "skipUrlEncoding": false }, { - "$id": "7853", + "$id": "7858", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { - "$id": "7854", + "$id": "7859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101934,12 +102001,12 @@ "skipUrlEncoding": false }, { - "$id": "7855", + "$id": "7860", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { - "$id": "7856", + "$id": "7861", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -101956,12 +102023,12 @@ "skipUrlEncoding": false }, { - "$id": "7857", + "$id": "7862", "name": "limit", "nameInRequest": "limit", "doc": "Number of checkpoints to retrieve.", "type": { - "$id": "7858", + "$id": "7863", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -101989,21 +102056,21 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints" }, { - "$id": "7859", + "$id": "7864", "kind": "basic", "name": "listFineTuningEvents", "accessibility": "public", "apiVersions": [], "summary": "Get status updates for a fine-tuning job.", "operation": { - "$id": "7860", + "$id": "7865", "name": "listFineTuningEvents", "resourceName": "FineTuning", "summary": "Get status updates for a fine-tuning job.", "accessibility": "public", "parameters": [ { - "$id": "7861", + "$id": "7866", "name": "accept", "nameInRequest": "Accept", "type": { @@ -102020,12 +102087,12 @@ "skipUrlEncoding": false }, { - "$id": "7862", + "$id": "7867", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "7863", + "$id": "7868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102042,12 +102109,12 @@ "skipUrlEncoding": false }, { - "$id": "7864", + "$id": "7869", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "7865", + "$id": "7870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102064,12 +102131,12 @@ "skipUrlEncoding": false }, { - "$id": "7866", + "$id": "7871", "name": "limit", "nameInRequest": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "7867", + "$id": "7872", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102112,7 +102179,7 @@ }, "parameters": [ { - "$id": "7868", + "$id": "7873", "name": "accept", "nameInRequest": "accept", "type": { @@ -102129,12 +102196,12 @@ "skipUrlEncoding": false }, { - "$id": "7869", + "$id": "7874", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { - "$id": "7870", + "$id": "7875", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102151,12 +102218,12 @@ "skipUrlEncoding": false }, { - "$id": "7871", + "$id": "7876", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { - "$id": "7872", + "$id": "7877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102173,12 +102240,12 @@ "skipUrlEncoding": false }, { - "$id": "7873", + "$id": "7878", "name": "limit", "nameInRequest": "limit", "doc": "Number of events to retrieve.", "type": { - "$id": "7874", + "$id": "7879", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102206,26 +102273,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents" }, { - "$id": "7875", + "$id": "7880", "kind": "basic", "name": "pauseFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Pause a fine-tune job.", "operation": { - "$id": "7876", + "$id": "7881", "name": "pauseFineTuningJob", "resourceName": "FineTuning", "summary": "Pause a fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "7877", + "$id": "7882", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "7878", + "$id": "7883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102242,7 +102309,7 @@ "skipUrlEncoding": false }, { - "$id": "7879", + "$id": "7884", "name": "accept", "nameInRequest": "Accept", "type": { @@ -102285,12 +102352,12 @@ }, "parameters": [ { - "$id": "7880", + "$id": "7885", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { - "$id": "7881", + "$id": "7886", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102307,7 +102374,7 @@ "skipUrlEncoding": false }, { - "$id": "7882", + "$id": "7887", "name": "accept", "nameInRequest": "accept", "type": { @@ -102335,26 +102402,26 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob" }, { - "$id": "7883", + "$id": "7888", "kind": "basic", "name": "resumeFineTuningJob", "accessibility": "public", "apiVersions": [], "summary": "Resume a paused fine-tune job.", "operation": { - "$id": "7884", + "$id": "7889", "name": "resumeFineTuningJob", "resourceName": "FineTuning", "summary": "Resume a paused fine-tune job.", "accessibility": "public", "parameters": [ { - "$id": "7885", + "$id": "7890", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "7886", + "$id": "7891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102371,7 +102438,7 @@ "skipUrlEncoding": false }, { - "$id": "7887", + "$id": "7892", "name": "accept", "nameInRequest": "Accept", "type": { @@ -102414,12 +102481,12 @@ }, "parameters": [ { - "$id": "7888", + "$id": "7893", "name": "fine_tuning_job_id", "nameInRequest": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { - "$id": "7889", + "$id": "7894", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102436,7 +102503,7 @@ "skipUrlEncoding": false }, { - "$id": "7890", + "$id": "7895", "name": "accept", "nameInRequest": "accept", "type": { @@ -102466,12 +102533,12 @@ ], "parameters": [ { - "$id": "7891", + "$id": "7896", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7892", + "$id": "7897", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -102486,7 +102553,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7893", + "$id": "7898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -102500,31 +102567,31 @@ "crossLanguageDefinitionId": "OpenAI.FineTuning", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7894", + "$id": "7899", "kind": "client", "name": "Graders", "namespace": "OpenAI", "methods": [ { - "$id": "7895", + "$id": "7900", "kind": "basic", "name": "runGrader", "accessibility": "public", "apiVersions": [], "summary": "Run a grader.", "operation": { - "$id": "7896", + "$id": "7901", "name": "runGrader", "resourceName": "Graders", "summary": "Run a grader.", "accessibility": "public", "parameters": [ { - "$id": "7897", + "$id": "7902", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -102542,7 +102609,7 @@ "skipUrlEncoding": false }, { - "$id": "7898", + "$id": "7903", "name": "accept", "nameInRequest": "Accept", "type": { @@ -102559,11 +102626,11 @@ "skipUrlEncoding": false }, { - "$id": "7899", + "$id": "7904", "name": "request", "nameInRequest": "request", "type": { - "$ref": "7299" + "$ref": "7304" }, "location": "Body", "isApiVersion": false, @@ -102582,7 +102649,7 @@ 200 ], "bodyType": { - "$ref": "7306" + "$ref": "7311" }, "headers": [], "isErrorResponse": false, @@ -102605,11 +102672,11 @@ }, "parameters": [ { - "$id": "7900", + "$id": "7905", "name": "request", "nameInRequest": "request", "type": { - "$ref": "7299" + "$ref": "7304" }, "location": "Body", "isApiVersion": false, @@ -102622,7 +102689,7 @@ "skipUrlEncoding": false }, { - "$id": "7901", + "$id": "7906", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -102640,7 +102707,7 @@ "skipUrlEncoding": false }, { - "$id": "7902", + "$id": "7907", "name": "accept", "nameInRequest": "accept", "type": { @@ -102659,7 +102726,7 @@ ], "response": { "type": { - "$ref": "7306" + "$ref": "7311" } }, "isOverride": false, @@ -102668,21 +102735,21 @@ "crossLanguageDefinitionId": "OpenAI.Graders.runGrader" }, { - "$id": "7903", + "$id": "7908", "kind": "basic", "name": "validateGrader", "accessibility": "public", "apiVersions": [], "summary": "Validate a grader.", "operation": { - "$id": "7904", + "$id": "7909", "name": "validateGrader", "resourceName": "Graders", "summary": "Validate a grader.", "accessibility": "public", "parameters": [ { - "$id": "7905", + "$id": "7910", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -102700,7 +102767,7 @@ "skipUrlEncoding": false }, { - "$id": "7906", + "$id": "7911", "name": "accept", "nameInRequest": "Accept", "type": { @@ -102717,11 +102784,11 @@ "skipUrlEncoding": false }, { - "$id": "7907", + "$id": "7912", "name": "request", "nameInRequest": "request", "type": { - "$ref": "7362" + "$ref": "7367" }, "location": "Body", "isApiVersion": false, @@ -102740,7 +102807,7 @@ 200 ], "bodyType": { - "$ref": "7365" + "$ref": "7370" }, "headers": [], "isErrorResponse": false, @@ -102763,11 +102830,11 @@ }, "parameters": [ { - "$id": "7908", + "$id": "7913", "name": "request", "nameInRequest": "request", "type": { - "$ref": "7362" + "$ref": "7367" }, "location": "Body", "isApiVersion": false, @@ -102780,7 +102847,7 @@ "skipUrlEncoding": false }, { - "$id": "7909", + "$id": "7914", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -102798,7 +102865,7 @@ "skipUrlEncoding": false }, { - "$id": "7910", + "$id": "7915", "name": "accept", "nameInRequest": "accept", "type": { @@ -102817,7 +102884,7 @@ ], "response": { "type": { - "$ref": "7365" + "$ref": "7370" } }, "isOverride": false, @@ -102828,12 +102895,12 @@ ], "parameters": [ { - "$id": "7911", + "$id": "7916", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "7912", + "$id": "7917", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -102848,7 +102915,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "7913", + "$id": "7918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -102862,36 +102929,36 @@ "crossLanguageDefinitionId": "OpenAI.Graders", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "7914", + "$id": "7919", "kind": "client", "name": "Evals", "namespace": "OpenAI", "methods": [ { - "$id": "7915", + "$id": "7920", "kind": "basic", "name": "listEvals", "accessibility": "public", "apiVersions": [], "summary": "List evaluations for a project.", "operation": { - "$id": "7916", + "$id": "7921", "name": "listEvals", "resourceName": "Evals", "summary": "List evaluations for a project.", "accessibility": "public", "parameters": [ { - "$id": "7917", + "$id": "7922", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "7918", + "$id": "7923", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -102908,12 +102975,12 @@ "skipUrlEncoding": false }, { - "$id": "7919", + "$id": "7924", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "7920", + "$id": "7925", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -102930,7 +102997,7 @@ "skipUrlEncoding": false }, { - "$id": "7921", + "$id": "7926", "name": "order", "nameInRequest": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", @@ -102948,7 +103015,7 @@ "skipUrlEncoding": false }, { - "$id": "7922", + "$id": "7927", "name": "order_by", "nameInRequest": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", @@ -102966,7 +103033,7 @@ "skipUrlEncoding": false }, { - "$id": "7923", + "$id": "7928", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103009,12 +103076,12 @@ }, "parameters": [ { - "$id": "7924", + "$id": "7929", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { - "$id": "7925", + "$id": "7930", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103031,12 +103098,12 @@ "skipUrlEncoding": false }, { - "$id": "7926", + "$id": "7931", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { - "$id": "7927", + "$id": "7932", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103053,7 +103120,7 @@ "skipUrlEncoding": false }, { - "$id": "7928", + "$id": "7933", "name": "order", "nameInRequest": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", @@ -103071,7 +103138,7 @@ "skipUrlEncoding": false }, { - "$id": "7929", + "$id": "7934", "name": "order_by", "nameInRequest": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", @@ -103089,7 +103156,7 @@ "skipUrlEncoding": false }, { - "$id": "7930", + "$id": "7935", "name": "accept", "nameInRequest": "accept", "type": { @@ -103117,21 +103184,21 @@ "crossLanguageDefinitionId": "OpenAI.Evals.listEvals" }, { - "$id": "7931", + "$id": "7936", "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": "7932", + "$id": "7937", "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": "7933", + "$id": "7938", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -103149,7 +103216,7 @@ "skipUrlEncoding": false }, { - "$id": "7934", + "$id": "7939", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103166,7 +103233,7 @@ "skipUrlEncoding": false }, { - "$id": "7935", + "$id": "7940", "name": "body", "nameInRequest": "body", "type": { @@ -103212,7 +103279,7 @@ }, "parameters": [ { - "$id": "7936", + "$id": "7941", "name": "body", "nameInRequest": "body", "type": { @@ -103229,7 +103296,7 @@ "skipUrlEncoding": false }, { - "$id": "7937", + "$id": "7942", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -103247,7 +103314,7 @@ "skipUrlEncoding": false }, { - "$id": "7938", + "$id": "7943", "name": "accept", "nameInRequest": "accept", "type": { @@ -103275,25 +103342,25 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEval" }, { - "$id": "7939", + "$id": "7944", "kind": "basic", "name": "getEval", "accessibility": "public", "apiVersions": [], "summary": "Retrieve an evaluation by its ID.", "operation": { - "$id": "7940", + "$id": "7945", "name": "getEval", "resourceName": "Evals", "summary": "Retrieve an evaluation by its ID.", "accessibility": "public", "parameters": [ { - "$id": "7941", + "$id": "7946", "name": "eval_id", "nameInRequest": "eval_id", "type": { - "$id": "7942", + "$id": "7947", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103310,7 +103377,7 @@ "skipUrlEncoding": false }, { - "$id": "7943", + "$id": "7948", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103353,11 +103420,11 @@ }, "parameters": [ { - "$id": "7944", + "$id": "7949", "name": "eval_id", "nameInRequest": "eval_id", "type": { - "$id": "7945", + "$id": "7950", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103374,7 +103441,7 @@ "skipUrlEncoding": false }, { - "$id": "7946", + "$id": "7951", "name": "accept", "nameInRequest": "accept", "type": { @@ -103402,26 +103469,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEval" }, { - "$id": "7947", + "$id": "7952", "kind": "basic", "name": "updateEval", "accessibility": "public", "apiVersions": [], "doc": "Update select, mutable properties of a specified evaluation.", "operation": { - "$id": "7948", + "$id": "7953", "name": "updateEval", "resourceName": "Evals", "doc": "Update select, mutable properties of a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "7949", + "$id": "7954", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "7950", + "$id": "7955", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103438,7 +103505,7 @@ "skipUrlEncoding": false }, { - "$id": "7951", + "$id": "7956", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -103456,7 +103523,7 @@ "skipUrlEncoding": false }, { - "$id": "7952", + "$id": "7957", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103473,7 +103540,7 @@ "skipUrlEncoding": false }, { - "$id": "7953", + "$id": "7958", "name": "body", "nameInRequest": "body", "type": { @@ -103519,12 +103586,12 @@ }, "parameters": [ { - "$id": "7954", + "$id": "7959", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to update.", "type": { - "$id": "7955", + "$id": "7960", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103541,7 +103608,7 @@ "skipUrlEncoding": false }, { - "$id": "7956", + "$id": "7961", "name": "body", "nameInRequest": "body", "type": { @@ -103558,7 +103625,7 @@ "skipUrlEncoding": false }, { - "$id": "7957", + "$id": "7962", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -103576,7 +103643,7 @@ "skipUrlEncoding": false }, { - "$id": "7958", + "$id": "7963", "name": "accept", "nameInRequest": "accept", "type": { @@ -103604,26 +103671,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.updateEval" }, { - "$id": "7959", + "$id": "7964", "kind": "basic", "name": "deleteEval", "accessibility": "public", "apiVersions": [], "doc": "Delete a specified evaluation.", "operation": { - "$id": "7960", + "$id": "7965", "name": "deleteEval", "resourceName": "Evals", "doc": "Delete a specified evaluation.", "accessibility": "public", "parameters": [ { - "$id": "7961", + "$id": "7966", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "7962", + "$id": "7967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103640,7 +103707,7 @@ "skipUrlEncoding": false }, { - "$id": "7963", + "$id": "7968", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103683,12 +103750,12 @@ }, "parameters": [ { - "$id": "7964", + "$id": "7969", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { - "$id": "7965", + "$id": "7970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103705,7 +103772,7 @@ "skipUrlEncoding": false }, { - "$id": "7966", + "$id": "7971", "name": "accept", "nameInRequest": "accept", "type": { @@ -103733,7 +103800,7 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval" }, { - "$id": "7967", + "$id": "7972", "kind": "basic", "name": "getEvalRuns", "accessibility": "public", @@ -103741,7 +103808,7 @@ "doc": "Retrieve a list of runs for a specified evaluation.", "summary": "", "operation": { - "$id": "7968", + "$id": "7973", "name": "getEvalRuns", "resourceName": "Evals", "summary": "", @@ -103749,12 +103816,12 @@ "accessibility": "public", "parameters": [ { - "$id": "7969", + "$id": "7974", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "7970", + "$id": "7975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103771,12 +103838,12 @@ "skipUrlEncoding": false }, { - "$id": "7971", + "$id": "7976", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "7972", + "$id": "7977", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103793,12 +103860,12 @@ "skipUrlEncoding": false }, { - "$id": "7973", + "$id": "7978", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "7974", + "$id": "7979", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103815,7 +103882,7 @@ "skipUrlEncoding": false }, { - "$id": "7975", + "$id": "7980", "name": "order", "nameInRequest": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", @@ -103833,7 +103900,7 @@ "skipUrlEncoding": false }, { - "$id": "7976", + "$id": "7981", "name": "status", "nameInRequest": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", @@ -103851,7 +103918,7 @@ "skipUrlEncoding": false }, { - "$id": "7977", + "$id": "7982", "name": "accept", "nameInRequest": "Accept", "type": { @@ -103894,12 +103961,12 @@ }, "parameters": [ { - "$id": "7978", + "$id": "7983", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { - "$id": "7979", + "$id": "7984", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103916,12 +103983,12 @@ "skipUrlEncoding": false }, { - "$id": "7980", + "$id": "7985", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { - "$id": "7981", + "$id": "7986", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -103938,12 +104005,12 @@ "skipUrlEncoding": false }, { - "$id": "7982", + "$id": "7987", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { - "$id": "7983", + "$id": "7988", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -103960,7 +104027,7 @@ "skipUrlEncoding": false }, { - "$id": "7984", + "$id": "7989", "name": "order", "nameInRequest": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", @@ -103978,7 +104045,7 @@ "skipUrlEncoding": false }, { - "$id": "7985", + "$id": "7990", "name": "status", "nameInRequest": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", @@ -103996,7 +104063,7 @@ "skipUrlEncoding": false }, { - "$id": "7986", + "$id": "7991", "name": "accept", "nameInRequest": "accept", "type": { @@ -104024,26 +104091,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns" }, { - "$id": "7987", + "$id": "7992", "kind": "basic", "name": "createEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Create a new evaluation run, beginning the grading process.", "operation": { - "$id": "7988", + "$id": "7993", "name": "createEvalRun", "resourceName": "Evals", "doc": "Create a new evaluation run, beginning the grading process.", "accessibility": "public", "parameters": [ { - "$id": "7989", + "$id": "7994", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "7990", + "$id": "7995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104060,7 +104127,7 @@ "skipUrlEncoding": false }, { - "$id": "7991", + "$id": "7996", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -104078,7 +104145,7 @@ "skipUrlEncoding": false }, { - "$id": "7992", + "$id": "7997", "name": "accept", "nameInRequest": "Accept", "type": { @@ -104095,7 +104162,7 @@ "skipUrlEncoding": false }, { - "$id": "7993", + "$id": "7998", "name": "body", "nameInRequest": "body", "type": { @@ -104141,12 +104208,12 @@ }, "parameters": [ { - "$id": "7994", + "$id": "7999", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation to run.", "type": { - "$id": "7995", + "$id": "8000", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104163,7 +104230,7 @@ "skipUrlEncoding": false }, { - "$id": "7996", + "$id": "8001", "name": "body", "nameInRequest": "body", "type": { @@ -104180,7 +104247,7 @@ "skipUrlEncoding": false }, { - "$id": "7997", + "$id": "8002", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -104198,7 +104265,7 @@ "skipUrlEncoding": false }, { - "$id": "7998", + "$id": "8003", "name": "accept", "nameInRequest": "accept", "type": { @@ -104226,26 +104293,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun" }, { - "$id": "7999", + "$id": "8004", "kind": "basic", "name": "getEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific evaluation run by its ID.", "operation": { - "$id": "8000", + "$id": "8005", "name": "getEvalRun", "resourceName": "Evals", "doc": "Retrieve a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8001", + "$id": "8006", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8002", + "$id": "8007", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104262,12 +104329,12 @@ "skipUrlEncoding": false }, { - "$id": "8003", + "$id": "8008", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8004", + "$id": "8009", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104284,7 +104351,7 @@ "skipUrlEncoding": false }, { - "$id": "8005", + "$id": "8010", "name": "accept", "nameInRequest": "Accept", "type": { @@ -104327,12 +104394,12 @@ }, "parameters": [ { - "$id": "8006", + "$id": "8011", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8007", + "$id": "8012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104349,12 +104416,12 @@ "skipUrlEncoding": false }, { - "$id": "8008", + "$id": "8013", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { - "$id": "8009", + "$id": "8014", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104371,7 +104438,7 @@ "skipUrlEncoding": false }, { - "$id": "8010", + "$id": "8015", "name": "accept", "nameInRequest": "accept", "type": { @@ -104399,26 +104466,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun" }, { - "$id": "8011", + "$id": "8016", "kind": "basic", "name": "cancelEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Cancel a specific evaluation run by its ID.", "operation": { - "$id": "8012", + "$id": "8017", "name": "cancelEvalRun", "resourceName": "Evals", "doc": "Cancel a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8013", + "$id": "8018", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8014", + "$id": "8019", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104435,12 +104502,12 @@ "skipUrlEncoding": false }, { - "$id": "8015", + "$id": "8020", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8016", + "$id": "8021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104457,7 +104524,7 @@ "skipUrlEncoding": false }, { - "$id": "8017", + "$id": "8022", "name": "accept", "nameInRequest": "Accept", "type": { @@ -104500,12 +104567,12 @@ }, "parameters": [ { - "$id": "8018", + "$id": "8023", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8019", + "$id": "8024", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104522,12 +104589,12 @@ "skipUrlEncoding": false }, { - "$id": "8020", + "$id": "8025", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { - "$id": "8021", + "$id": "8026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104544,7 +104611,7 @@ "skipUrlEncoding": false }, { - "$id": "8022", + "$id": "8027", "name": "accept", "nameInRequest": "accept", "type": { @@ -104572,26 +104639,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun" }, { - "$id": "8023", + "$id": "8028", "kind": "basic", "name": "deleteEvalRun", "accessibility": "public", "apiVersions": [], "doc": "Delete a specific evaluation run by its ID.", "operation": { - "$id": "8024", + "$id": "8029", "name": "deleteEvalRun", "resourceName": "Evals", "doc": "Delete a specific evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8025", + "$id": "8030", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8026", + "$id": "8031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104608,12 +104675,12 @@ "skipUrlEncoding": false }, { - "$id": "8027", + "$id": "8032", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8028", + "$id": "8033", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104630,7 +104697,7 @@ "skipUrlEncoding": false }, { - "$id": "8029", + "$id": "8034", "name": "accept", "nameInRequest": "Accept", "type": { @@ -104673,12 +104740,12 @@ }, "parameters": [ { - "$id": "8030", + "$id": "8035", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8031", + "$id": "8036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104695,12 +104762,12 @@ "skipUrlEncoding": false }, { - "$id": "8032", + "$id": "8037", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { - "$id": "8033", + "$id": "8038", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104717,7 +104784,7 @@ "skipUrlEncoding": false }, { - "$id": "8034", + "$id": "8039", "name": "accept", "nameInRequest": "accept", "type": { @@ -104745,26 +104812,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun" }, { - "$id": "8035", + "$id": "8040", "kind": "basic", "name": "getEvalRunOutputItems", "accessibility": "public", "apiVersions": [], "doc": "Get a list of output items for a specified evaluation run.", "operation": { - "$id": "8036", + "$id": "8041", "name": "getEvalRunOutputItems", "resourceName": "Evals", "doc": "Get a list of output items for a specified evaluation run.", "accessibility": "public", "parameters": [ { - "$id": "8037", + "$id": "8042", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8038", + "$id": "8043", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104781,12 +104848,12 @@ "skipUrlEncoding": false }, { - "$id": "8039", + "$id": "8044", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8040", + "$id": "8045", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104803,12 +104870,12 @@ "skipUrlEncoding": false }, { - "$id": "8041", + "$id": "8046", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8042", + "$id": "8047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104825,12 +104892,12 @@ "skipUrlEncoding": false }, { - "$id": "8043", + "$id": "8048", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8044", + "$id": "8049", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -104847,7 +104914,7 @@ "skipUrlEncoding": false }, { - "$id": "8045", + "$id": "8050", "name": "status", "nameInRequest": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", @@ -104865,7 +104932,7 @@ "skipUrlEncoding": false }, { - "$id": "8046", + "$id": "8051", "name": "order", "nameInRequest": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", @@ -104883,7 +104950,7 @@ "skipUrlEncoding": false }, { - "$id": "8047", + "$id": "8052", "name": "accept", "nameInRequest": "Accept", "type": { @@ -104926,12 +104993,12 @@ }, "parameters": [ { - "$id": "8048", + "$id": "8053", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8049", + "$id": "8054", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104948,12 +105015,12 @@ "skipUrlEncoding": false }, { - "$id": "8050", + "$id": "8055", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { - "$id": "8051", + "$id": "8056", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104970,12 +105037,12 @@ "skipUrlEncoding": false }, { - "$id": "8052", + "$id": "8057", "name": "after", "nameInRequest": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { - "$id": "8053", + "$id": "8058", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -104992,12 +105059,12 @@ "skipUrlEncoding": false }, { - "$id": "8054", + "$id": "8059", "name": "limit", "nameInRequest": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { - "$id": "8055", + "$id": "8060", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105014,7 +105081,7 @@ "skipUrlEncoding": false }, { - "$id": "8056", + "$id": "8061", "name": "status", "nameInRequest": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", @@ -105032,7 +105099,7 @@ "skipUrlEncoding": false }, { - "$id": "8057", + "$id": "8062", "name": "order", "nameInRequest": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", @@ -105050,7 +105117,7 @@ "skipUrlEncoding": false }, { - "$id": "8058", + "$id": "8063", "name": "accept", "nameInRequest": "accept", "type": { @@ -105078,26 +105145,26 @@ "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems" }, { - "$id": "8059", + "$id": "8064", "kind": "basic", "name": "getEvalRunOutputItem", "accessibility": "public", "apiVersions": [], "doc": "Retrieve a specific output item from an evaluation run by its ID.", "operation": { - "$id": "8060", + "$id": "8065", "name": "getEvalRunOutputItem", "resourceName": "Evals", "doc": "Retrieve a specific output item from an evaluation run by its ID.", "accessibility": "public", "parameters": [ { - "$id": "8061", + "$id": "8066", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8062", + "$id": "8067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105114,12 +105181,12 @@ "skipUrlEncoding": false }, { - "$id": "8063", + "$id": "8068", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8064", + "$id": "8069", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105136,12 +105203,12 @@ "skipUrlEncoding": false }, { - "$id": "8065", + "$id": "8070", "name": "output_item_id", "nameInRequest": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8066", + "$id": "8071", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105158,7 +105225,7 @@ "skipUrlEncoding": false }, { - "$id": "8067", + "$id": "8072", "name": "accept", "nameInRequest": "Accept", "type": { @@ -105201,12 +105268,12 @@ }, "parameters": [ { - "$id": "8068", + "$id": "8073", "name": "eval_id", "nameInRequest": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { - "$id": "8069", + "$id": "8074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105223,12 +105290,12 @@ "skipUrlEncoding": false }, { - "$id": "8070", + "$id": "8075", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { - "$id": "8071", + "$id": "8076", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105245,12 +105312,12 @@ "skipUrlEncoding": false }, { - "$id": "8072", + "$id": "8077", "name": "output_item_id", "nameInRequest": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { - "$id": "8073", + "$id": "8078", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105267,7 +105334,7 @@ "skipUrlEncoding": false }, { - "$id": "8074", + "$id": "8079", "name": "accept", "nameInRequest": "accept", "type": { @@ -105297,12 +105364,12 @@ ], "parameters": [ { - "$id": "8075", + "$id": "8080", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8076", + "$id": "8081", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -105317,7 +105384,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8077", + "$id": "8082", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -105331,31 +105398,31 @@ "crossLanguageDefinitionId": "OpenAI.Evals", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8078", + "$id": "8083", "kind": "client", "name": "Responses", "namespace": "OpenAI", "methods": [ { - "$id": "8079", + "$id": "8084", "kind": "basic", "name": "createResponse", "accessibility": "public", "apiVersions": [], "doc": "Creates a model response.", "operation": { - "$id": "8080", + "$id": "8085", "name": "createResponse", "resourceName": "Responses", "doc": "Creates a model response.", "accessibility": "public", "parameters": [ { - "$id": "8081", + "$id": "8086", "name": "accept", "nameInRequest": "Accept", "type": { @@ -105372,7 +105439,7 @@ "skipUrlEncoding": false }, { - "$id": "8082", + "$id": "8087", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -105390,7 +105457,7 @@ "skipUrlEncoding": false }, { - "$id": "8083", + "$id": "8088", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -105445,7 +105512,7 @@ }, "parameters": [ { - "$id": "8084", + "$id": "8089", "name": "accept", "nameInRequest": "accept", "type": { @@ -105462,7 +105529,7 @@ "skipUrlEncoding": false }, { - "$id": "8085", + "$id": "8090", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -105479,7 +105546,7 @@ "skipUrlEncoding": false }, { - "$id": "8086", + "$id": "8091", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -105508,26 +105575,26 @@ "crossLanguageDefinitionId": "OpenAI.Responses.createResponse" }, { - "$id": "8087", + "$id": "8092", "kind": "basic", "name": "getResponse", "accessibility": "public", "apiVersions": [], "doc": "Retrieves a model response with the given ID.", "operation": { - "$id": "8088", + "$id": "8093", "name": "getResponse", "resourceName": "Responses", "doc": "Retrieves a model response with the given ID.", "accessibility": "public", "parameters": [ { - "$id": "8089", + "$id": "8094", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8090", + "$id": "8095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105544,7 +105611,7 @@ "skipUrlEncoding": false }, { - "$id": "8091", + "$id": "8096", "name": "includables", "nameInRequest": "include[]", "type": { @@ -105561,12 +105628,12 @@ "skipUrlEncoding": false }, { - "$id": "8092", + "$id": "8097", "name": "stream", "nameInRequest": "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": "8093", + "$id": "8098", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -105583,12 +105650,12 @@ "skipUrlEncoding": false }, { - "$id": "8094", + "$id": "8099", "name": "starting_after", "nameInRequest": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "8095", + "$id": "8100", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105605,11 +105672,11 @@ "skipUrlEncoding": false }, { - "$id": "8096", + "$id": "8101", "name": "accept", "nameInRequest": "Accept", "type": { - "$id": "8097", + "$id": "8102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105661,12 +105728,12 @@ }, "parameters": [ { - "$id": "8098", + "$id": "8103", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8099", + "$id": "8104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105683,7 +105750,7 @@ "skipUrlEncoding": false }, { - "$id": "8100", + "$id": "8105", "name": "includables", "nameInRequest": "include[]", "type": { @@ -105700,12 +105767,12 @@ "skipUrlEncoding": false }, { - "$id": "8101", + "$id": "8106", "name": "stream", "nameInRequest": "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": "8102", + "$id": "8107", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -105722,12 +105789,12 @@ "skipUrlEncoding": false }, { - "$id": "8103", + "$id": "8108", "name": "starting_after", "nameInRequest": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { - "$id": "8104", + "$id": "8109", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -105744,11 +105811,11 @@ "skipUrlEncoding": false }, { - "$id": "8105", + "$id": "8110", "name": "accept", "nameInRequest": "accept", "type": { - "$ref": "8097" + "$ref": "8102" }, "location": "Header", "isApiVersion": false, @@ -105772,24 +105839,24 @@ "crossLanguageDefinitionId": "OpenAI.Responses.getResponse" }, { - "$id": "8106", + "$id": "8111", "kind": "basic", "name": "deleteResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8107", + "$id": "8112", "name": "deleteResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "8108", + "$id": "8113", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8109", + "$id": "8114", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105806,7 +105873,7 @@ "skipUrlEncoding": false }, { - "$id": "8110", + "$id": "8115", "name": "accept", "nameInRequest": "Accept", "type": { @@ -105849,12 +105916,12 @@ }, "parameters": [ { - "$id": "8111", + "$id": "8116", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to delete.", "type": { - "$id": "8112", + "$id": "8117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105871,7 +105938,7 @@ "skipUrlEncoding": false }, { - "$id": "8113", + "$id": "8118", "name": "accept", "nameInRequest": "accept", "type": { @@ -105899,24 +105966,24 @@ "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse" }, { - "$id": "8114", + "$id": "8119", "kind": "basic", "name": "cancelResponse", "accessibility": "public", "apiVersions": [], "operation": { - "$id": "8115", + "$id": "8120", "name": "cancelResponse", "resourceName": "Responses", "accessibility": "public", "parameters": [ { - "$id": "8116", + "$id": "8121", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "8117", + "$id": "8122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105933,7 +106000,7 @@ "skipUrlEncoding": false }, { - "$id": "8118", + "$id": "8123", "name": "accept", "nameInRequest": "Accept", "type": { @@ -105976,12 +106043,12 @@ }, "parameters": [ { - "$id": "8119", + "$id": "8124", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to cancel.", "type": { - "$id": "8120", + "$id": "8125", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -105998,7 +106065,7 @@ "skipUrlEncoding": false }, { - "$id": "8121", + "$id": "8126", "name": "accept", "nameInRequest": "accept", "type": { @@ -106026,26 +106093,26 @@ "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse" }, { - "$id": "8122", + "$id": "8127", "kind": "basic", "name": "listInputItems", "accessibility": "public", "apiVersions": [], "doc": "Returns a list of input items for a given response.", "operation": { - "$id": "8123", + "$id": "8128", "name": "listInputItems", "resourceName": "Responses", "doc": "Returns a list of input items for a given response.", "accessibility": "public", "parameters": [ { - "$id": "8124", + "$id": "8129", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8125", + "$id": "8130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106062,12 +106129,12 @@ "skipUrlEncoding": false }, { - "$id": "8126", + "$id": "8131", "name": "limit", "nameInRequest": "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": "8127", + "$id": "8132", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106084,7 +106151,7 @@ "skipUrlEncoding": false }, { - "$id": "8128", + "$id": "8133", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -106102,12 +106169,12 @@ "skipUrlEncoding": false }, { - "$id": "8129", + "$id": "8134", "name": "after", "nameInRequest": "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": "8130", + "$id": "8135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106124,12 +106191,12 @@ "skipUrlEncoding": false }, { - "$id": "8131", + "$id": "8136", "name": "before", "nameInRequest": "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": "8132", + "$id": "8137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106146,7 +106213,7 @@ "skipUrlEncoding": false }, { - "$id": "8133", + "$id": "8138", "name": "accept", "nameInRequest": "Accept", "type": { @@ -106189,12 +106256,12 @@ }, "parameters": [ { - "$id": "8134", + "$id": "8139", "name": "response_id", "nameInRequest": "response_id", "doc": "The ID of the response to retrieve.", "type": { - "$id": "8135", + "$id": "8140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106211,12 +106278,12 @@ "skipUrlEncoding": false }, { - "$id": "8136", + "$id": "8141", "name": "limit", "nameInRequest": "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": "8137", + "$id": "8142", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -106233,7 +106300,7 @@ "skipUrlEncoding": false }, { - "$id": "8138", + "$id": "8143", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -106251,12 +106318,12 @@ "skipUrlEncoding": false }, { - "$id": "8139", + "$id": "8144", "name": "after", "nameInRequest": "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": "8140", + "$id": "8145", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106273,12 +106340,12 @@ "skipUrlEncoding": false }, { - "$id": "8141", + "$id": "8146", "name": "before", "nameInRequest": "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": "8142", + "$id": "8147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106295,7 +106362,7 @@ "skipUrlEncoding": false }, { - "$id": "8143", + "$id": "8148", "name": "accept", "nameInRequest": "accept", "type": { @@ -106325,12 +106392,12 @@ ], "parameters": [ { - "$id": "8144", + "$id": "8149", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8145", + "$id": "8150", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -106345,7 +106412,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8146", + "$id": "8151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -106359,31 +106426,31 @@ "crossLanguageDefinitionId": "OpenAI.Responses", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8147", + "$id": "8152", "kind": "client", "name": "Images", "namespace": "OpenAI", "methods": [ { - "$id": "8148", + "$id": "8153", "kind": "basic", "name": "GenerateImages", "accessibility": "public", "apiVersions": [], "summary": "Creates an image given a prompt", "operation": { - "$id": "8149", + "$id": "8154", "name": "GenerateImages", "resourceName": "Images", "summary": "Creates an image given a prompt", "accessibility": "public", "parameters": [ { - "$id": "8150", + "$id": "8155", "name": "accept", "nameInRequest": "Accept", "type": { @@ -106400,7 +106467,7 @@ "skipUrlEncoding": false }, { - "$id": "8151", + "$id": "8156", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -106418,7 +106485,7 @@ "skipUrlEncoding": false }, { - "$id": "8152", + "$id": "8157", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106464,7 +106531,7 @@ }, "parameters": [ { - "$id": "8153", + "$id": "8158", "name": "accept", "nameInRequest": "accept", "type": { @@ -106481,7 +106548,7 @@ "skipUrlEncoding": false }, { - "$id": "8154", + "$id": "8159", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106498,7 +106565,7 @@ "skipUrlEncoding": false }, { - "$id": "8155", + "$id": "8160", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -106527,21 +106594,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImage" }, { - "$id": "8156", + "$id": "8161", "kind": "basic", "name": "GenerateImageEdits", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "8157", + "$id": "8162", "name": "GenerateImageEdits", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "8158", + "$id": "8163", "name": "accept", "nameInRequest": "Accept", "type": { @@ -106558,7 +106625,7 @@ "skipUrlEncoding": false }, { - "$id": "8159", + "$id": "8164", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -106575,7 +106642,7 @@ "skipUrlEncoding": false }, { - "$id": "8160", + "$id": "8165", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106621,7 +106688,7 @@ }, "parameters": [ { - "$id": "8161", + "$id": "8166", "name": "accept", "nameInRequest": "accept", "type": { @@ -106638,7 +106705,7 @@ "skipUrlEncoding": false }, { - "$id": "8162", + "$id": "8167", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -106655,7 +106722,7 @@ "skipUrlEncoding": false }, { - "$id": "8163", + "$id": "8168", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106683,21 +106750,21 @@ "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit" }, { - "$id": "8164", + "$id": "8169", "kind": "basic", "name": "GenerateImageVariations", "accessibility": "public", "apiVersions": [], "summary": "Creates an edited or extended image given an original image and a prompt.", "operation": { - "$id": "8165", + "$id": "8170", "name": "GenerateImageVariations", "resourceName": "Images", "summary": "Creates an edited or extended image given an original image and a prompt.", "accessibility": "public", "parameters": [ { - "$id": "8166", + "$id": "8171", "name": "accept", "nameInRequest": "Accept", "type": { @@ -106714,7 +106781,7 @@ "skipUrlEncoding": false }, { - "$id": "8167", + "$id": "8172", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -106731,7 +106798,7 @@ "skipUrlEncoding": false }, { - "$id": "8168", + "$id": "8173", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106777,7 +106844,7 @@ }, "parameters": [ { - "$id": "8169", + "$id": "8174", "name": "accept", "nameInRequest": "accept", "type": { @@ -106794,7 +106861,7 @@ "skipUrlEncoding": false }, { - "$id": "8170", + "$id": "8175", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -106811,7 +106878,7 @@ "skipUrlEncoding": false }, { - "$id": "8171", + "$id": "8176", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -106841,12 +106908,12 @@ ], "parameters": [ { - "$id": "8172", + "$id": "8177", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8173", + "$id": "8178", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -106861,7 +106928,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8174", + "$id": "8179", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -106875,31 +106942,31 @@ "crossLanguageDefinitionId": "OpenAI.Images", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8175", + "$id": "8180", "kind": "client", "name": "Messages", "namespace": "OpenAI", "methods": [ { - "$id": "8176", + "$id": "8181", "kind": "basic", "name": "createMessage", "accessibility": "public", "apiVersions": [], "summary": "Create a message.", "operation": { - "$id": "8177", + "$id": "8182", "name": "createMessage", "resourceName": "Messages", "summary": "Create a message.", "accessibility": "public", "parameters": [ { - "$id": "8178", + "$id": "8183", "name": "accept", "nameInRequest": "Accept", "type": { @@ -106916,7 +106983,7 @@ "skipUrlEncoding": false }, { - "$id": "8179", + "$id": "8184", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -106933,12 +107000,12 @@ "skipUrlEncoding": false }, { - "$id": "8180", + "$id": "8185", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "8181", + "$id": "8186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -106955,7 +107022,7 @@ "skipUrlEncoding": false }, { - "$id": "8182", + "$id": "8187", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -106973,7 +107040,7 @@ "skipUrlEncoding": false }, { - "$id": "8183", + "$id": "8188", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -107019,7 +107086,7 @@ }, "parameters": [ { - "$id": "8184", + "$id": "8189", "name": "accept", "nameInRequest": "accept", "type": { @@ -107036,7 +107103,7 @@ "skipUrlEncoding": false }, { - "$id": "8185", + "$id": "8190", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107053,12 +107120,12 @@ "skipUrlEncoding": false }, { - "$id": "8186", + "$id": "8191", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { - "$id": "8187", + "$id": "8192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107075,7 +107142,7 @@ "skipUrlEncoding": false }, { - "$id": "8188", + "$id": "8193", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -107092,7 +107159,7 @@ "skipUrlEncoding": false }, { - "$id": "8189", + "$id": "8194", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -107121,21 +107188,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.createMessage" }, { - "$id": "8190", + "$id": "8195", "kind": "basic", "name": "listMessages", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of messages for a given thread.", "operation": { - "$id": "8191", + "$id": "8196", "name": "listMessages", "resourceName": "Messages", "summary": "Returns a list of messages for a given thread.", "accessibility": "public", "parameters": [ { - "$id": "8192", + "$id": "8197", "name": "accept", "nameInRequest": "Accept", "type": { @@ -107152,7 +107219,7 @@ "skipUrlEncoding": false }, { - "$id": "8193", + "$id": "8198", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107169,12 +107236,12 @@ "skipUrlEncoding": false }, { - "$id": "8194", + "$id": "8199", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "8195", + "$id": "8200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107191,12 +107258,12 @@ "skipUrlEncoding": false }, { - "$id": "8196", + "$id": "8201", "name": "limit", "nameInRequest": "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": "8197", + "$id": "8202", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107213,7 +107280,7 @@ "skipUrlEncoding": false }, { - "$id": "8198", + "$id": "8203", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -107231,12 +107298,12 @@ "skipUrlEncoding": false }, { - "$id": "8199", + "$id": "8204", "name": "after", "nameInRequest": "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": "8200", + "$id": "8205", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107253,12 +107320,12 @@ "skipUrlEncoding": false }, { - "$id": "8201", + "$id": "8206", "name": "before", "nameInRequest": "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": "8202", + "$id": "8207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107301,7 +107368,7 @@ }, "parameters": [ { - "$id": "8203", + "$id": "8208", "name": "accept", "nameInRequest": "accept", "type": { @@ -107318,7 +107385,7 @@ "skipUrlEncoding": false }, { - "$id": "8204", + "$id": "8209", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107335,12 +107402,12 @@ "skipUrlEncoding": false }, { - "$id": "8205", + "$id": "8210", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { - "$id": "8206", + "$id": "8211", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107357,12 +107424,12 @@ "skipUrlEncoding": false }, { - "$id": "8207", + "$id": "8212", "name": "limit", "nameInRequest": "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": "8208", + "$id": "8213", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -107379,7 +107446,7 @@ "skipUrlEncoding": false }, { - "$id": "8209", + "$id": "8214", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -107397,12 +107464,12 @@ "skipUrlEncoding": false }, { - "$id": "8210", + "$id": "8215", "name": "after", "nameInRequest": "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": "8211", + "$id": "8216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107419,12 +107486,12 @@ "skipUrlEncoding": false }, { - "$id": "8212", + "$id": "8217", "name": "before", "nameInRequest": "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": "8213", + "$id": "8218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107452,21 +107519,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.listMessages" }, { - "$id": "8214", + "$id": "8219", "kind": "basic", "name": "getMessage", "accessibility": "public", "apiVersions": [], "summary": "Retrieve a message.", "operation": { - "$id": "8215", + "$id": "8220", "name": "getMessage", "resourceName": "Messages", "summary": "Retrieve a message.", "accessibility": "public", "parameters": [ { - "$id": "8216", + "$id": "8221", "name": "accept", "nameInRequest": "Accept", "type": { @@ -107483,7 +107550,7 @@ "skipUrlEncoding": false }, { - "$id": "8217", + "$id": "8222", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107500,12 +107567,12 @@ "skipUrlEncoding": false }, { - "$id": "8218", + "$id": "8223", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "8219", + "$id": "8224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107522,12 +107589,12 @@ "skipUrlEncoding": false }, { - "$id": "8220", + "$id": "8225", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "8221", + "$id": "8226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107570,7 +107637,7 @@ }, "parameters": [ { - "$id": "8222", + "$id": "8227", "name": "accept", "nameInRequest": "accept", "type": { @@ -107587,7 +107654,7 @@ "skipUrlEncoding": false }, { - "$id": "8223", + "$id": "8228", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107604,12 +107671,12 @@ "skipUrlEncoding": false }, { - "$id": "8224", + "$id": "8229", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { - "$id": "8225", + "$id": "8230", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107626,12 +107693,12 @@ "skipUrlEncoding": false }, { - "$id": "8226", + "$id": "8231", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to retrieve.", "type": { - "$id": "8227", + "$id": "8232", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107659,21 +107726,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.getMessage" }, { - "$id": "8228", + "$id": "8233", "kind": "basic", "name": "modifyMessage", "accessibility": "public", "apiVersions": [], "summary": "Modifies a message.", "operation": { - "$id": "8229", + "$id": "8234", "name": "modifyMessage", "resourceName": "Messages", "summary": "Modifies a message.", "accessibility": "public", "parameters": [ { - "$id": "8230", + "$id": "8235", "name": "accept", "nameInRequest": "Accept", "type": { @@ -107690,7 +107757,7 @@ "skipUrlEncoding": false }, { - "$id": "8231", + "$id": "8236", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107707,12 +107774,12 @@ "skipUrlEncoding": false }, { - "$id": "8232", + "$id": "8237", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "8233", + "$id": "8238", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107729,12 +107796,12 @@ "skipUrlEncoding": false }, { - "$id": "8234", + "$id": "8239", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "8235", + "$id": "8240", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107751,7 +107818,7 @@ "skipUrlEncoding": false }, { - "$id": "8236", + "$id": "8241", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -107769,7 +107836,7 @@ "skipUrlEncoding": false }, { - "$id": "8237", + "$id": "8242", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -107815,7 +107882,7 @@ }, "parameters": [ { - "$id": "8238", + "$id": "8243", "name": "accept", "nameInRequest": "accept", "type": { @@ -107832,7 +107899,7 @@ "skipUrlEncoding": false }, { - "$id": "8239", + "$id": "8244", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107849,12 +107916,12 @@ "skipUrlEncoding": false }, { - "$id": "8240", + "$id": "8245", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "8241", + "$id": "8246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107871,12 +107938,12 @@ "skipUrlEncoding": false }, { - "$id": "8242", + "$id": "8247", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to modify.", "type": { - "$id": "8243", + "$id": "8248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -107893,7 +107960,7 @@ "skipUrlEncoding": false }, { - "$id": "8244", + "$id": "8249", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -107910,7 +107977,7 @@ "skipUrlEncoding": false }, { - "$id": "8245", + "$id": "8250", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -107939,21 +108006,21 @@ "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage" }, { - "$id": "8246", + "$id": "8251", "kind": "basic", "name": "deleteMessage", "accessibility": "public", "apiVersions": [], "summary": "Deletes a message.", "operation": { - "$id": "8247", + "$id": "8252", "name": "deleteMessage", "resourceName": "Messages", "summary": "Deletes a message.", "accessibility": "public", "parameters": [ { - "$id": "8248", + "$id": "8253", "name": "accept", "nameInRequest": "Accept", "type": { @@ -107970,7 +108037,7 @@ "skipUrlEncoding": false }, { - "$id": "8249", + "$id": "8254", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -107987,12 +108054,12 @@ "skipUrlEncoding": false }, { - "$id": "8250", + "$id": "8255", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "8251", + "$id": "8256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108009,12 +108076,12 @@ "skipUrlEncoding": false }, { - "$id": "8252", + "$id": "8257", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "8253", + "$id": "8258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108057,7 +108124,7 @@ }, "parameters": [ { - "$id": "8254", + "$id": "8259", "name": "accept", "nameInRequest": "accept", "type": { @@ -108074,7 +108141,7 @@ "skipUrlEncoding": false }, { - "$id": "8255", + "$id": "8260", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108091,12 +108158,12 @@ "skipUrlEncoding": false }, { - "$id": "8256", + "$id": "8261", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { - "$id": "8257", + "$id": "8262", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108113,12 +108180,12 @@ "skipUrlEncoding": false }, { - "$id": "8258", + "$id": "8263", "name": "message_id", "nameInRequest": "message_id", "doc": "The ID of the message to delete.", "type": { - "$id": "8259", + "$id": "8264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108148,12 +108215,12 @@ ], "parameters": [ { - "$id": "8260", + "$id": "8265", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8261", + "$id": "8266", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -108168,7 +108235,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8262", + "$id": "8267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -108182,31 +108249,31 @@ "crossLanguageDefinitionId": "OpenAI.Messages", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8263", + "$id": "8268", "kind": "client", "name": "Moderations", "namespace": "OpenAI", "methods": [ { - "$id": "8264", + "$id": "8269", "kind": "basic", "name": "ClassifyText", "accessibility": "public", "apiVersions": [], "summary": "Classifies if text is potentially harmful.", "operation": { - "$id": "8265", + "$id": "8270", "name": "ClassifyText", "resourceName": "Moderations", "summary": "Classifies if text is potentially harmful.", "accessibility": "public", "parameters": [ { - "$id": "8266", + "$id": "8271", "name": "accept", "nameInRequest": "Accept", "type": { @@ -108223,7 +108290,7 @@ "skipUrlEncoding": false }, { - "$id": "8267", + "$id": "8272", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -108241,7 +108308,7 @@ "skipUrlEncoding": false }, { - "$id": "8268", + "$id": "8273", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108287,7 +108354,7 @@ }, "parameters": [ { - "$id": "8269", + "$id": "8274", "name": "accept", "nameInRequest": "accept", "type": { @@ -108304,7 +108371,7 @@ "skipUrlEncoding": false }, { - "$id": "8270", + "$id": "8275", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108321,7 +108388,7 @@ "skipUrlEncoding": false }, { - "$id": "8271", + "$id": "8276", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -108352,12 +108419,12 @@ ], "parameters": [ { - "$id": "8272", + "$id": "8277", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8273", + "$id": "8278", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -108372,7 +108439,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8274", + "$id": "8279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -108386,31 +108453,31 @@ "crossLanguageDefinitionId": "OpenAI.Moderations", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8275", + "$id": "8280", "kind": "client", "name": "Runs", "namespace": "OpenAI", "methods": [ { - "$id": "8276", + "$id": "8281", "kind": "basic", "name": "createThreadAndRun", "accessibility": "public", "apiVersions": [], "summary": "Create a thread and run it in one request.", "operation": { - "$id": "8277", + "$id": "8282", "name": "createThreadAndRun", "resourceName": "Runs", "summary": "Create a thread and run it in one request.", "accessibility": "public", "parameters": [ { - "$id": "8278", + "$id": "8283", "name": "accept", "nameInRequest": "Accept", "type": { @@ -108427,7 +108494,7 @@ "skipUrlEncoding": false }, { - "$id": "8279", + "$id": "8284", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108444,7 +108511,7 @@ "skipUrlEncoding": false }, { - "$id": "8280", + "$id": "8285", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -108462,7 +108529,7 @@ "skipUrlEncoding": false }, { - "$id": "8281", + "$id": "8286", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108508,7 +108575,7 @@ }, "parameters": [ { - "$id": "8282", + "$id": "8287", "name": "accept", "nameInRequest": "accept", "type": { @@ -108525,7 +108592,7 @@ "skipUrlEncoding": false }, { - "$id": "8283", + "$id": "8288", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108542,7 +108609,7 @@ "skipUrlEncoding": false }, { - "$id": "8284", + "$id": "8289", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108559,7 +108626,7 @@ "skipUrlEncoding": false }, { - "$id": "8285", + "$id": "8290", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -108588,21 +108655,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun" }, { - "$id": "8286", + "$id": "8291", "kind": "basic", "name": "createRun", "accessibility": "public", "apiVersions": [], "summary": "Create a run.", "operation": { - "$id": "8287", + "$id": "8292", "name": "createRun", "resourceName": "Runs", "summary": "Create a run.", "accessibility": "public", "parameters": [ { - "$id": "8288", + "$id": "8293", "name": "accept", "nameInRequest": "Accept", "type": { @@ -108619,7 +108686,7 @@ "skipUrlEncoding": false }, { - "$id": "8289", + "$id": "8294", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108636,12 +108703,12 @@ "skipUrlEncoding": false }, { - "$id": "8290", + "$id": "8295", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "8291", + "$id": "8296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108658,12 +108725,12 @@ "skipUrlEncoding": false }, { - "$id": "8292", + "$id": "8297", "name": "include[]", "nameInRequest": "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": "8293", + "$id": "8298", "kind": "array", "name": "ArrayIncludedRunStepProperty", "valueType": { @@ -108684,7 +108751,7 @@ "skipUrlEncoding": false }, { - "$id": "8294", + "$id": "8299", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -108702,7 +108769,7 @@ "skipUrlEncoding": false }, { - "$id": "8295", + "$id": "8300", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108748,7 +108815,7 @@ }, "parameters": [ { - "$id": "8296", + "$id": "8301", "name": "accept", "nameInRequest": "accept", "type": { @@ -108765,7 +108832,7 @@ "skipUrlEncoding": false }, { - "$id": "8297", + "$id": "8302", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108782,12 +108849,12 @@ "skipUrlEncoding": false }, { - "$id": "8298", + "$id": "8303", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to run.", "type": { - "$id": "8299", + "$id": "8304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108804,12 +108871,12 @@ "skipUrlEncoding": false }, { - "$id": "8300", + "$id": "8305", "name": "include[]", "nameInRequest": "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": "8293" + "$ref": "8298" }, "location": "Query", "isApiVersion": false, @@ -108822,7 +108889,7 @@ "skipUrlEncoding": false }, { - "$id": "8301", + "$id": "8306", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -108839,7 +108906,7 @@ "skipUrlEncoding": false }, { - "$id": "8302", + "$id": "8307", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -108868,21 +108935,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.createRun" }, { - "$id": "8303", + "$id": "8308", "kind": "basic", "name": "listRuns", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of runs belonging to a thread.", "operation": { - "$id": "8304", + "$id": "8309", "name": "listRuns", "resourceName": "Runs", "summary": "Returns a list of runs belonging to a thread.", "accessibility": "public", "parameters": [ { - "$id": "8305", + "$id": "8310", "name": "accept", "nameInRequest": "Accept", "type": { @@ -108899,7 +108966,7 @@ "skipUrlEncoding": false }, { - "$id": "8306", + "$id": "8311", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -108916,12 +108983,12 @@ "skipUrlEncoding": false }, { - "$id": "8307", + "$id": "8312", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "8308", + "$id": "8313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -108938,12 +109005,12 @@ "skipUrlEncoding": false }, { - "$id": "8309", + "$id": "8314", "name": "limit", "nameInRequest": "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", @@ -108960,7 +109027,7 @@ "skipUrlEncoding": false }, { - "$id": "8311", + "$id": "8316", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -108978,12 +109045,12 @@ "skipUrlEncoding": false }, { - "$id": "8312", + "$id": "8317", "name": "after", "nameInRequest": "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": "8313", + "$id": "8318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109000,12 +109067,12 @@ "skipUrlEncoding": false }, { - "$id": "8314", + "$id": "8319", "name": "before", "nameInRequest": "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": "8315", + "$id": "8320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109048,7 +109115,7 @@ }, "parameters": [ { - "$id": "8316", + "$id": "8321", "name": "accept", "nameInRequest": "accept", "type": { @@ -109065,7 +109132,7 @@ "skipUrlEncoding": false }, { - "$id": "8317", + "$id": "8322", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109082,12 +109149,12 @@ "skipUrlEncoding": false }, { - "$id": "8318", + "$id": "8323", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { - "$id": "8319", + "$id": "8324", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109104,12 +109171,12 @@ "skipUrlEncoding": false }, { - "$id": "8320", + "$id": "8325", "name": "limit", "nameInRequest": "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": "8321", + "$id": "8326", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -109126,7 +109193,7 @@ "skipUrlEncoding": false }, { - "$id": "8322", + "$id": "8327", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -109144,12 +109211,12 @@ "skipUrlEncoding": false }, { - "$id": "8323", + "$id": "8328", "name": "after", "nameInRequest": "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": "8324", + "$id": "8329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109166,12 +109233,12 @@ "skipUrlEncoding": false }, { - "$id": "8325", + "$id": "8330", "name": "before", "nameInRequest": "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": "8326", + "$id": "8331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109199,21 +109266,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRuns" }, { - "$id": "8327", + "$id": "8332", "kind": "basic", "name": "getRun", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run.", "operation": { - "$id": "8328", + "$id": "8333", "name": "getRun", "resourceName": "Runs", "summary": "Retrieves a run.", "accessibility": "public", "parameters": [ { - "$id": "8329", + "$id": "8334", "name": "accept", "nameInRequest": "Accept", "type": { @@ -109230,7 +109297,7 @@ "skipUrlEncoding": false }, { - "$id": "8330", + "$id": "8335", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109247,12 +109314,12 @@ "skipUrlEncoding": false }, { - "$id": "8331", + "$id": "8336", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "8332", + "$id": "8337", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109269,12 +109336,12 @@ "skipUrlEncoding": false }, { - "$id": "8333", + "$id": "8338", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "8334", + "$id": "8339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109317,7 +109384,7 @@ }, "parameters": [ { - "$id": "8335", + "$id": "8340", "name": "accept", "nameInRequest": "accept", "type": { @@ -109334,7 +109401,7 @@ "skipUrlEncoding": false }, { - "$id": "8336", + "$id": "8341", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109351,12 +109418,12 @@ "skipUrlEncoding": false }, { - "$id": "8337", + "$id": "8342", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "8338", + "$id": "8343", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109373,12 +109440,12 @@ "skipUrlEncoding": false }, { - "$id": "8339", + "$id": "8344", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to retrieve.", "type": { - "$id": "8340", + "$id": "8345", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109406,21 +109473,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.getRun" }, { - "$id": "8341", + "$id": "8346", "kind": "basic", "name": "modifyRun", "accessibility": "public", "apiVersions": [], "summary": "Modifies a run.", "operation": { - "$id": "8342", + "$id": "8347", "name": "modifyRun", "resourceName": "Runs", "summary": "Modifies a run.", "accessibility": "public", "parameters": [ { - "$id": "8343", + "$id": "8348", "name": "accept", "nameInRequest": "Accept", "type": { @@ -109437,7 +109504,7 @@ "skipUrlEncoding": false }, { - "$id": "8344", + "$id": "8349", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109454,12 +109521,12 @@ "skipUrlEncoding": false }, { - "$id": "8345", + "$id": "8350", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "8346", + "$id": "8351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109476,12 +109543,12 @@ "skipUrlEncoding": false }, { - "$id": "8347", + "$id": "8352", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "8348", + "$id": "8353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109498,7 +109565,7 @@ "skipUrlEncoding": false }, { - "$id": "8349", + "$id": "8354", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -109516,7 +109583,7 @@ "skipUrlEncoding": false }, { - "$id": "8350", + "$id": "8355", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -109562,7 +109629,7 @@ }, "parameters": [ { - "$id": "8351", + "$id": "8356", "name": "accept", "nameInRequest": "accept", "type": { @@ -109579,7 +109646,7 @@ "skipUrlEncoding": false }, { - "$id": "8352", + "$id": "8357", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109596,12 +109663,12 @@ "skipUrlEncoding": false }, { - "$id": "8353", + "$id": "8358", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "8354", + "$id": "8359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109618,12 +109685,12 @@ "skipUrlEncoding": false }, { - "$id": "8355", + "$id": "8360", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to modify.", "type": { - "$id": "8356", + "$id": "8361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109640,7 +109707,7 @@ "skipUrlEncoding": false }, { - "$id": "8357", + "$id": "8362", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -109657,7 +109724,7 @@ "skipUrlEncoding": false }, { - "$id": "8358", + "$id": "8363", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -109686,21 +109753,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun" }, { - "$id": "8359", + "$id": "8364", "kind": "basic", "name": "cancelRun", "accessibility": "public", "apiVersions": [], "summary": "Cancels a run that is `in_progress`.", "operation": { - "$id": "8360", + "$id": "8365", "name": "cancelRun", "resourceName": "Runs", "summary": "Cancels a run that is `in_progress`.", "accessibility": "public", "parameters": [ { - "$id": "8361", + "$id": "8366", "name": "accept", "nameInRequest": "Accept", "type": { @@ -109717,7 +109784,7 @@ "skipUrlEncoding": false }, { - "$id": "8362", + "$id": "8367", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109734,12 +109801,12 @@ "skipUrlEncoding": false }, { - "$id": "8363", + "$id": "8368", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "8364", + "$id": "8369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109756,12 +109823,12 @@ "skipUrlEncoding": false }, { - "$id": "8365", + "$id": "8370", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "8366", + "$id": "8371", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109804,7 +109871,7 @@ }, "parameters": [ { - "$id": "8367", + "$id": "8372", "name": "accept", "nameInRequest": "accept", "type": { @@ -109821,7 +109888,7 @@ "skipUrlEncoding": false }, { - "$id": "8368", + "$id": "8373", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109838,12 +109905,12 @@ "skipUrlEncoding": false }, { - "$id": "8369", + "$id": "8374", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { - "$id": "8370", + "$id": "8375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109860,12 +109927,12 @@ "skipUrlEncoding": false }, { - "$id": "8371", + "$id": "8376", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to cancel.", "type": { - "$id": "8372", + "$id": "8377", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109893,21 +109960,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun" }, { - "$id": "8373", + "$id": "8378", "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": "8374", + "$id": "8379", "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": "8375", + "$id": "8380", "name": "accept", "nameInRequest": "Accept", "type": { @@ -109924,7 +109991,7 @@ "skipUrlEncoding": false }, { - "$id": "8376", + "$id": "8381", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -109941,12 +110008,12 @@ "skipUrlEncoding": false }, { - "$id": "8377", + "$id": "8382", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "8378", + "$id": "8383", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109963,12 +110030,12 @@ "skipUrlEncoding": false }, { - "$id": "8379", + "$id": "8384", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "8380", + "$id": "8385", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -109985,7 +110052,7 @@ "skipUrlEncoding": false }, { - "$id": "8381", + "$id": "8386", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -110003,7 +110070,7 @@ "skipUrlEncoding": false }, { - "$id": "8382", + "$id": "8387", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -110049,7 +110116,7 @@ }, "parameters": [ { - "$id": "8383", + "$id": "8388", "name": "accept", "nameInRequest": "accept", "type": { @@ -110066,7 +110133,7 @@ "skipUrlEncoding": false }, { - "$id": "8384", + "$id": "8389", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110083,12 +110150,12 @@ "skipUrlEncoding": false }, { - "$id": "8385", + "$id": "8390", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { - "$id": "8386", + "$id": "8391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110105,12 +110172,12 @@ "skipUrlEncoding": false }, { - "$id": "8387", + "$id": "8392", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { - "$id": "8388", + "$id": "8393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110127,7 +110194,7 @@ "skipUrlEncoding": false }, { - "$id": "8389", + "$id": "8394", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -110144,7 +110211,7 @@ "skipUrlEncoding": false }, { - "$id": "8390", + "$id": "8395", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -110173,21 +110240,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun" }, { - "$id": "8391", + "$id": "8396", "kind": "basic", "name": "listRunSteps", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of run steps belonging to a run.", "operation": { - "$id": "8392", + "$id": "8397", "name": "listRunSteps", "resourceName": "Runs", "summary": "Returns a list of run steps belonging to a run.", "accessibility": "public", "parameters": [ { - "$id": "8393", + "$id": "8398", "name": "accept", "nameInRequest": "Accept", "type": { @@ -110204,7 +110271,7 @@ "skipUrlEncoding": false }, { - "$id": "8394", + "$id": "8399", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110221,12 +110288,12 @@ "skipUrlEncoding": false }, { - "$id": "8395", + "$id": "8400", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "8396", + "$id": "8401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110243,12 +110310,12 @@ "skipUrlEncoding": false }, { - "$id": "8397", + "$id": "8402", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "8398", + "$id": "8403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110265,12 +110332,12 @@ "skipUrlEncoding": false }, { - "$id": "8399", + "$id": "8404", "name": "limit", "nameInRequest": "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": "8400", + "$id": "8405", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110287,7 +110354,7 @@ "skipUrlEncoding": false }, { - "$id": "8401", + "$id": "8406", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -110305,12 +110372,12 @@ "skipUrlEncoding": false }, { - "$id": "8402", + "$id": "8407", "name": "after", "nameInRequest": "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": "8403", + "$id": "8408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110327,12 +110394,12 @@ "skipUrlEncoding": false }, { - "$id": "8404", + "$id": "8409", "name": "before", "nameInRequest": "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": "8405", + "$id": "8410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110349,12 +110416,12 @@ "skipUrlEncoding": false }, { - "$id": "8406", + "$id": "8411", "name": "include[]", "nameInRequest": "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": "8293" + "$ref": "8298" }, "location": "Query", "isApiVersion": false, @@ -110394,7 +110461,7 @@ }, "parameters": [ { - "$id": "8407", + "$id": "8412", "name": "accept", "nameInRequest": "accept", "type": { @@ -110411,7 +110478,7 @@ "skipUrlEncoding": false }, { - "$id": "8408", + "$id": "8413", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110428,12 +110495,12 @@ "skipUrlEncoding": false }, { - "$id": "8409", + "$id": "8414", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { - "$id": "8410", + "$id": "8415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110450,12 +110517,12 @@ "skipUrlEncoding": false }, { - "$id": "8411", + "$id": "8416", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { - "$id": "8412", + "$id": "8417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110472,12 +110539,12 @@ "skipUrlEncoding": false }, { - "$id": "8413", + "$id": "8418", "name": "limit", "nameInRequest": "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": "8414", + "$id": "8419", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -110494,7 +110561,7 @@ "skipUrlEncoding": false }, { - "$id": "8415", + "$id": "8420", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -110512,12 +110579,12 @@ "skipUrlEncoding": false }, { - "$id": "8416", + "$id": "8421", "name": "after", "nameInRequest": "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": "8417", + "$id": "8422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110534,12 +110601,12 @@ "skipUrlEncoding": false }, { - "$id": "8418", + "$id": "8423", "name": "before", "nameInRequest": "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": "8419", + "$id": "8424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110556,12 +110623,12 @@ "skipUrlEncoding": false }, { - "$id": "8420", + "$id": "8425", "name": "include[]", "nameInRequest": "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": "8293" + "$ref": "8298" }, "location": "Query", "isApiVersion": false, @@ -110585,21 +110652,21 @@ "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps" }, { - "$id": "8421", + "$id": "8426", "kind": "basic", "name": "getRunStep", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a run step.", "operation": { - "$id": "8422", + "$id": "8427", "name": "getRunStep", "resourceName": "Runs", "summary": "Retrieves a run step.", "accessibility": "public", "parameters": [ { - "$id": "8423", + "$id": "8428", "name": "accept", "nameInRequest": "Accept", "type": { @@ -110616,7 +110683,7 @@ "skipUrlEncoding": false }, { - "$id": "8424", + "$id": "8429", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110633,12 +110700,12 @@ "skipUrlEncoding": false }, { - "$id": "8425", + "$id": "8430", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "8426", + "$id": "8431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110655,12 +110722,12 @@ "skipUrlEncoding": false }, { - "$id": "8427", + "$id": "8432", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "8428", + "$id": "8433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110677,12 +110744,12 @@ "skipUrlEncoding": false }, { - "$id": "8429", + "$id": "8434", "name": "step_id", "nameInRequest": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "8430", + "$id": "8435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110699,12 +110766,12 @@ "skipUrlEncoding": false }, { - "$id": "8431", + "$id": "8436", "name": "include[]", "nameInRequest": "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": "8293" + "$ref": "8298" }, "location": "Query", "isApiVersion": false, @@ -110744,7 +110811,7 @@ }, "parameters": [ { - "$id": "8432", + "$id": "8437", "name": "accept", "nameInRequest": "accept", "type": { @@ -110761,7 +110828,7 @@ "skipUrlEncoding": false }, { - "$id": "8433", + "$id": "8438", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110778,12 +110845,12 @@ "skipUrlEncoding": false }, { - "$id": "8434", + "$id": "8439", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { - "$id": "8435", + "$id": "8440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110800,12 +110867,12 @@ "skipUrlEncoding": false }, { - "$id": "8436", + "$id": "8441", "name": "run_id", "nameInRequest": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { - "$id": "8437", + "$id": "8442", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110822,12 +110889,12 @@ "skipUrlEncoding": false }, { - "$id": "8438", + "$id": "8443", "name": "step_id", "nameInRequest": "step_id", "doc": "The ID of the run step to retrieve.", "type": { - "$id": "8439", + "$id": "8444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -110844,12 +110911,12 @@ "skipUrlEncoding": false }, { - "$id": "8440", + "$id": "8445", "name": "include[]", "nameInRequest": "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": "8293" + "$ref": "8298" }, "location": "Query", "isApiVersion": false, @@ -110875,12 +110942,12 @@ ], "parameters": [ { - "$id": "8441", + "$id": "8446", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8442", + "$id": "8447", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -110895,7 +110962,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8443", + "$id": "8448", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -110909,31 +110976,31 @@ "crossLanguageDefinitionId": "OpenAI.Runs", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8444", + "$id": "8449", "kind": "client", "name": "Threads", "namespace": "OpenAI", "methods": [ { - "$id": "8445", + "$id": "8450", "kind": "basic", "name": "createThread", "accessibility": "public", "apiVersions": [], "summary": "Create a thread.", "operation": { - "$id": "8446", + "$id": "8451", "name": "createThread", "resourceName": "Threads", "summary": "Create a thread.", "accessibility": "public", "parameters": [ { - "$id": "8447", + "$id": "8452", "name": "accept", "nameInRequest": "Accept", "type": { @@ -110950,7 +111017,7 @@ "skipUrlEncoding": false }, { - "$id": "8448", + "$id": "8453", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -110967,7 +111034,7 @@ "skipUrlEncoding": false }, { - "$id": "8449", + "$id": "8454", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -110985,7 +111052,7 @@ "skipUrlEncoding": false }, { - "$id": "8450", + "$id": "8455", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -111031,7 +111098,7 @@ }, "parameters": [ { - "$id": "8451", + "$id": "8456", "name": "accept", "nameInRequest": "accept", "type": { @@ -111048,7 +111115,7 @@ "skipUrlEncoding": false }, { - "$id": "8452", + "$id": "8457", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111065,7 +111132,7 @@ "skipUrlEncoding": false }, { - "$id": "8453", + "$id": "8458", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -111082,7 +111149,7 @@ "skipUrlEncoding": false }, { - "$id": "8454", + "$id": "8459", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -111111,21 +111178,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.createThread" }, { - "$id": "8455", + "$id": "8460", "kind": "basic", "name": "getThread", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a thread.", "operation": { - "$id": "8456", + "$id": "8461", "name": "getThread", "resourceName": "Threads", "summary": "Retrieves a thread.", "accessibility": "public", "parameters": [ { - "$id": "8457", + "$id": "8462", "name": "accept", "nameInRequest": "Accept", "type": { @@ -111142,7 +111209,7 @@ "skipUrlEncoding": false }, { - "$id": "8458", + "$id": "8463", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111159,12 +111226,12 @@ "skipUrlEncoding": false }, { - "$id": "8459", + "$id": "8464", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "8460", + "$id": "8465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111207,7 +111274,7 @@ }, "parameters": [ { - "$id": "8461", + "$id": "8466", "name": "accept", "nameInRequest": "accept", "type": { @@ -111224,7 +111291,7 @@ "skipUrlEncoding": false }, { - "$id": "8462", + "$id": "8467", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111241,12 +111308,12 @@ "skipUrlEncoding": false }, { - "$id": "8463", + "$id": "8468", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { - "$id": "8464", + "$id": "8469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111274,21 +111341,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.getThread" }, { - "$id": "8465", + "$id": "8470", "kind": "basic", "name": "modifyThread", "accessibility": "public", "apiVersions": [], "summary": "Modifies a thread.", "operation": { - "$id": "8466", + "$id": "8471", "name": "modifyThread", "resourceName": "Threads", "summary": "Modifies a thread.", "accessibility": "public", "parameters": [ { - "$id": "8467", + "$id": "8472", "name": "accept", "nameInRequest": "Accept", "type": { @@ -111305,7 +111372,7 @@ "skipUrlEncoding": false }, { - "$id": "8468", + "$id": "8473", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111322,12 +111389,12 @@ "skipUrlEncoding": false }, { - "$id": "8469", + "$id": "8474", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "8470", + "$id": "8475", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111344,7 +111411,7 @@ "skipUrlEncoding": false }, { - "$id": "8471", + "$id": "8476", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -111362,7 +111429,7 @@ "skipUrlEncoding": false }, { - "$id": "8472", + "$id": "8477", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -111408,7 +111475,7 @@ }, "parameters": [ { - "$id": "8473", + "$id": "8478", "name": "accept", "nameInRequest": "accept", "type": { @@ -111425,7 +111492,7 @@ "skipUrlEncoding": false }, { - "$id": "8474", + "$id": "8479", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111442,12 +111509,12 @@ "skipUrlEncoding": false }, { - "$id": "8475", + "$id": "8480", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { - "$id": "8476", + "$id": "8481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111464,7 +111531,7 @@ "skipUrlEncoding": false }, { - "$id": "8477", + "$id": "8482", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -111481,7 +111548,7 @@ "skipUrlEncoding": false }, { - "$id": "8478", + "$id": "8483", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -111510,21 +111577,21 @@ "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread" }, { - "$id": "8479", + "$id": "8484", "kind": "basic", "name": "deleteThread", "accessibility": "public", "apiVersions": [], "summary": "Delete a thread.", "operation": { - "$id": "8480", + "$id": "8485", "name": "deleteThread", "resourceName": "Threads", "summary": "Delete a thread.", "accessibility": "public", "parameters": [ { - "$id": "8481", + "$id": "8486", "name": "accept", "nameInRequest": "Accept", "type": { @@ -111541,7 +111608,7 @@ "skipUrlEncoding": false }, { - "$id": "8482", + "$id": "8487", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111558,12 +111625,12 @@ "skipUrlEncoding": false }, { - "$id": "8483", + "$id": "8488", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "8484", + "$id": "8489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111606,7 +111673,7 @@ }, "parameters": [ { - "$id": "8485", + "$id": "8490", "name": "accept", "nameInRequest": "accept", "type": { @@ -111623,7 +111690,7 @@ "skipUrlEncoding": false }, { - "$id": "8486", + "$id": "8491", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -111640,12 +111707,12 @@ "skipUrlEncoding": false }, { - "$id": "8487", + "$id": "8492", "name": "thread_id", "nameInRequest": "thread_id", "doc": "The ID of the thread to delete.", "type": { - "$id": "8488", + "$id": "8493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111675,12 +111742,12 @@ ], "parameters": [ { - "$id": "8489", + "$id": "8494", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8490", + "$id": "8495", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -111695,7 +111762,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8491", + "$id": "8496", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -111709,31 +111776,31 @@ "crossLanguageDefinitionId": "OpenAI.Threads", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8492", + "$id": "8497", "kind": "client", "name": "VectorStores", "namespace": "OpenAI", "methods": [ { - "$id": "8493", + "$id": "8498", "kind": "basic", "name": "GetVectorStores", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector stores.", "operation": { - "$id": "8494", + "$id": "8499", "name": "GetVectorStores", "resourceName": "VectorStores", "summary": "Returns a list of vector stores.", "accessibility": "public", "parameters": [ { - "$id": "8495", + "$id": "8500", "name": "accept", "nameInRequest": "Accept", "type": { @@ -111750,12 +111817,12 @@ "skipUrlEncoding": false }, { - "$id": "8496", + "$id": "8501", "name": "limit", "nameInRequest": "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": "8497", + "$id": "8502", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111772,7 +111839,7 @@ "skipUrlEncoding": false }, { - "$id": "8498", + "$id": "8503", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -111790,12 +111857,12 @@ "skipUrlEncoding": false }, { - "$id": "8499", + "$id": "8504", "name": "after", "nameInRequest": "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": "8500", + "$id": "8505", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111812,12 +111879,12 @@ "skipUrlEncoding": false }, { - "$id": "8501", + "$id": "8506", "name": "before", "nameInRequest": "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": "8502", + "$id": "8507", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111860,7 +111927,7 @@ }, "parameters": [ { - "$id": "8503", + "$id": "8508", "name": "accept", "nameInRequest": "accept", "type": { @@ -111877,12 +111944,12 @@ "skipUrlEncoding": false }, { - "$id": "8504", + "$id": "8509", "name": "limit", "nameInRequest": "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": "8505", + "$id": "8510", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -111899,7 +111966,7 @@ "skipUrlEncoding": false }, { - "$id": "8506", + "$id": "8511", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -111917,12 +111984,12 @@ "skipUrlEncoding": false }, { - "$id": "8507", + "$id": "8512", "name": "after", "nameInRequest": "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": "8508", + "$id": "8513", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111939,12 +112006,12 @@ "skipUrlEncoding": false }, { - "$id": "8509", + "$id": "8514", "name": "before", "nameInRequest": "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": "8510", + "$id": "8515", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -111972,21 +112039,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores" }, { - "$id": "8511", + "$id": "8516", "kind": "basic", "name": "createVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Creates a vector store.", "operation": { - "$id": "8512", + "$id": "8517", "name": "createVectorStore", "resourceName": "VectorStores", "summary": "Creates a vector store.", "accessibility": "public", "parameters": [ { - "$id": "8513", + "$id": "8518", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112003,7 +112070,7 @@ "skipUrlEncoding": false }, { - "$id": "8514", + "$id": "8519", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -112021,7 +112088,7 @@ "skipUrlEncoding": false }, { - "$id": "8515", + "$id": "8520", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112067,7 +112134,7 @@ }, "parameters": [ { - "$id": "8516", + "$id": "8521", "name": "accept", "nameInRequest": "accept", "type": { @@ -112084,7 +112151,7 @@ "skipUrlEncoding": false }, { - "$id": "8517", + "$id": "8522", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112101,7 +112168,7 @@ "skipUrlEncoding": false }, { - "$id": "8518", + "$id": "8523", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -112130,21 +112197,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore" }, { - "$id": "8519", + "$id": "8524", "kind": "basic", "name": "getVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store.", "operation": { - "$id": "8520", + "$id": "8525", "name": "getVectorStore", "resourceName": "VectorStores", "summary": "Retrieves a vector store.", "accessibility": "public", "parameters": [ { - "$id": "8521", + "$id": "8526", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112161,12 +112228,12 @@ "skipUrlEncoding": false }, { - "$id": "8522", + "$id": "8527", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "8523", + "$id": "8528", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112209,7 +112276,7 @@ }, "parameters": [ { - "$id": "8524", + "$id": "8529", "name": "accept", "nameInRequest": "accept", "type": { @@ -112226,12 +112293,12 @@ "skipUrlEncoding": false }, { - "$id": "8525", + "$id": "8530", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { - "$id": "8526", + "$id": "8531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112259,21 +112326,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore" }, { - "$id": "8527", + "$id": "8532", "kind": "basic", "name": "modifyVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Modifies a vector store.", "operation": { - "$id": "8528", + "$id": "8533", "name": "modifyVectorStore", "resourceName": "VectorStores", "summary": "Modifies a vector store.", "accessibility": "public", "parameters": [ { - "$id": "8529", + "$id": "8534", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112290,12 +112357,12 @@ "skipUrlEncoding": false }, { - "$id": "8530", + "$id": "8535", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "8531", + "$id": "8536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112312,7 +112379,7 @@ "skipUrlEncoding": false }, { - "$id": "8532", + "$id": "8537", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -112330,7 +112397,7 @@ "skipUrlEncoding": false }, { - "$id": "8533", + "$id": "8538", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112376,7 +112443,7 @@ }, "parameters": [ { - "$id": "8534", + "$id": "8539", "name": "accept", "nameInRequest": "accept", "type": { @@ -112393,12 +112460,12 @@ "skipUrlEncoding": false }, { - "$id": "8535", + "$id": "8540", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { - "$id": "8536", + "$id": "8541", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112415,7 +112482,7 @@ "skipUrlEncoding": false }, { - "$id": "8537", + "$id": "8542", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112432,7 +112499,7 @@ "skipUrlEncoding": false }, { - "$id": "8538", + "$id": "8543", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -112461,21 +112528,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore" }, { - "$id": "8539", + "$id": "8544", "kind": "basic", "name": "deleteVectorStore", "accessibility": "public", "apiVersions": [], "summary": "Delete a vector store.", "operation": { - "$id": "8540", + "$id": "8545", "name": "deleteVectorStore", "resourceName": "VectorStores", "summary": "Delete a vector store.", "accessibility": "public", "parameters": [ { - "$id": "8541", + "$id": "8546", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112492,12 +112559,12 @@ "skipUrlEncoding": false }, { - "$id": "8542", + "$id": "8547", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "8543", + "$id": "8548", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112540,7 +112607,7 @@ }, "parameters": [ { - "$id": "8544", + "$id": "8549", "name": "accept", "nameInRequest": "accept", "type": { @@ -112557,12 +112624,12 @@ "skipUrlEncoding": false }, { - "$id": "8545", + "$id": "8550", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { - "$id": "8546", + "$id": "8551", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112590,21 +112657,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore" }, { - "$id": "8547", + "$id": "8552", "kind": "basic", "name": "createVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Create a vector store file batch.", "operation": { - "$id": "8548", + "$id": "8553", "name": "createVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Create a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "8549", + "$id": "8554", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112621,12 +112688,12 @@ "skipUrlEncoding": false }, { - "$id": "8550", + "$id": "8555", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "8551", + "$id": "8556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112643,7 +112710,7 @@ "skipUrlEncoding": false }, { - "$id": "8552", + "$id": "8557", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -112661,7 +112728,7 @@ "skipUrlEncoding": false }, { - "$id": "8553", + "$id": "8558", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112707,7 +112774,7 @@ }, "parameters": [ { - "$id": "8554", + "$id": "8559", "name": "accept", "nameInRequest": "accept", "type": { @@ -112724,12 +112791,12 @@ "skipUrlEncoding": false }, { - "$id": "8555", + "$id": "8560", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { - "$id": "8556", + "$id": "8561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112746,7 +112813,7 @@ "skipUrlEncoding": false }, { - "$id": "8557", + "$id": "8562", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -112763,7 +112830,7 @@ "skipUrlEncoding": false }, { - "$id": "8558", + "$id": "8563", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -112792,21 +112859,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch" }, { - "$id": "8559", + "$id": "8564", "kind": "basic", "name": "getVectorStoreFileBatch", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file batch.", "operation": { - "$id": "8560", + "$id": "8565", "name": "getVectorStoreFileBatch", "resourceName": "VectorStores", "summary": "Retrieves a vector store file batch.", "accessibility": "public", "parameters": [ { - "$id": "8561", + "$id": "8566", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112823,12 +112890,12 @@ "skipUrlEncoding": false }, { - "$id": "8562", + "$id": "8567", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8563", + "$id": "8568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112845,12 +112912,12 @@ "skipUrlEncoding": false }, { - "$id": "8564", + "$id": "8569", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "8565", + "$id": "8570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112893,7 +112960,7 @@ }, "parameters": [ { - "$id": "8566", + "$id": "8571", "name": "accept", "nameInRequest": "accept", "type": { @@ -112910,12 +112977,12 @@ "skipUrlEncoding": false }, { - "$id": "8567", + "$id": "8572", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8568", + "$id": "8573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112932,12 +112999,12 @@ "skipUrlEncoding": false }, { - "$id": "8569", + "$id": "8574", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { - "$id": "8570", + "$id": "8575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -112965,21 +113032,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch" }, { - "$id": "8571", + "$id": "8576", "kind": "basic", "name": "CancelBatchFileJob", "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": "8572", + "$id": "8577", "name": "CancelBatchFileJob", "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": "8573", + "$id": "8578", "name": "accept", "nameInRequest": "Accept", "type": { @@ -112996,12 +113063,12 @@ "skipUrlEncoding": false }, { - "$id": "8574", + "$id": "8579", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8575", + "$id": "8580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113018,12 +113085,12 @@ "skipUrlEncoding": false }, { - "$id": "8576", + "$id": "8581", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "8577", + "$id": "8582", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113066,7 +113133,7 @@ }, "parameters": [ { - "$id": "8578", + "$id": "8583", "name": "accept", "nameInRequest": "accept", "type": { @@ -113083,12 +113150,12 @@ "skipUrlEncoding": false }, { - "$id": "8579", + "$id": "8584", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8580", + "$id": "8585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113105,12 +113172,12 @@ "skipUrlEncoding": false }, { - "$id": "8581", + "$id": "8586", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { - "$id": "8582", + "$id": "8587", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113138,21 +113205,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch" }, { - "$id": "8583", + "$id": "8588", "kind": "basic", "name": "listFilesInVectorStoreBatch", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files in a batch.", "operation": { - "$id": "8584", + "$id": "8589", "name": "listFilesInVectorStoreBatch", "resourceName": "VectorStores", "summary": "Returns a list of vector store files in a batch.", "accessibility": "public", "parameters": [ { - "$id": "8585", + "$id": "8590", "name": "accept", "nameInRequest": "Accept", "type": { @@ -113169,12 +113236,12 @@ "skipUrlEncoding": false }, { - "$id": "8586", + "$id": "8591", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8587", + "$id": "8592", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113191,12 +113258,12 @@ "skipUrlEncoding": false }, { - "$id": "8588", + "$id": "8593", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "8589", + "$id": "8594", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113213,12 +113280,12 @@ "skipUrlEncoding": false }, { - "$id": "8590", + "$id": "8595", "name": "limit", "nameInRequest": "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": "8591", + "$id": "8596", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113235,7 +113302,7 @@ "skipUrlEncoding": false }, { - "$id": "8592", + "$id": "8597", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -113253,12 +113320,12 @@ "skipUrlEncoding": false }, { - "$id": "8593", + "$id": "8598", "name": "after", "nameInRequest": "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": "8594", + "$id": "8599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113275,12 +113342,12 @@ "skipUrlEncoding": false }, { - "$id": "8595", + "$id": "8600", "name": "before", "nameInRequest": "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": "8596", + "$id": "8601", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113297,7 +113364,7 @@ "skipUrlEncoding": false }, { - "$id": "8597", + "$id": "8602", "name": "filter", "nameInRequest": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", @@ -113341,7 +113408,7 @@ }, "parameters": [ { - "$id": "8598", + "$id": "8603", "name": "accept", "nameInRequest": "accept", "type": { @@ -113358,12 +113425,12 @@ "skipUrlEncoding": false }, { - "$id": "8599", + "$id": "8604", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { - "$id": "8600", + "$id": "8605", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113380,12 +113447,12 @@ "skipUrlEncoding": false }, { - "$id": "8601", + "$id": "8606", "name": "batch_id", "nameInRequest": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { - "$id": "8602", + "$id": "8607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113402,12 +113469,12 @@ "skipUrlEncoding": false }, { - "$id": "8603", + "$id": "8608", "name": "limit", "nameInRequest": "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": "8604", + "$id": "8609", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113424,7 +113491,7 @@ "skipUrlEncoding": false }, { - "$id": "8605", + "$id": "8610", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -113442,12 +113509,12 @@ "skipUrlEncoding": false }, { - "$id": "8606", + "$id": "8611", "name": "after", "nameInRequest": "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": "8607", + "$id": "8612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113464,12 +113531,12 @@ "skipUrlEncoding": false }, { - "$id": "8608", + "$id": "8613", "name": "before", "nameInRequest": "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": "8609", + "$id": "8614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113486,7 +113553,7 @@ "skipUrlEncoding": false }, { - "$id": "8610", + "$id": "8615", "name": "filter", "nameInRequest": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", @@ -113515,21 +113582,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch" }, { - "$id": "8611", + "$id": "8616", "kind": "basic", "name": "listVectorStoreFiles", "accessibility": "public", "apiVersions": [], "summary": "Returns a list of vector store files.", "operation": { - "$id": "8612", + "$id": "8617", "name": "listVectorStoreFiles", "resourceName": "VectorStores", "summary": "Returns a list of vector store files.", "accessibility": "public", "parameters": [ { - "$id": "8613", + "$id": "8618", "name": "accept", "nameInRequest": "Accept", "type": { @@ -113546,12 +113613,12 @@ "skipUrlEncoding": false }, { - "$id": "8614", + "$id": "8619", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "8615", + "$id": "8620", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113568,12 +113635,12 @@ "skipUrlEncoding": false }, { - "$id": "8616", + "$id": "8621", "name": "limit", "nameInRequest": "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": "8617", + "$id": "8622", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113590,7 +113657,7 @@ "skipUrlEncoding": false }, { - "$id": "8618", + "$id": "8623", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -113608,12 +113675,12 @@ "skipUrlEncoding": false }, { - "$id": "8619", + "$id": "8624", "name": "after", "nameInRequest": "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": "8620", + "$id": "8625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113630,12 +113697,12 @@ "skipUrlEncoding": false }, { - "$id": "8621", + "$id": "8626", "name": "before", "nameInRequest": "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": "8622", + "$id": "8627", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113652,7 +113719,7 @@ "skipUrlEncoding": false }, { - "$id": "8623", + "$id": "8628", "name": "filter", "nameInRequest": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", @@ -113696,7 +113763,7 @@ }, "parameters": [ { - "$id": "8624", + "$id": "8629", "name": "accept", "nameInRequest": "accept", "type": { @@ -113713,12 +113780,12 @@ "skipUrlEncoding": false }, { - "$id": "8625", + "$id": "8630", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { - "$id": "8626", + "$id": "8631", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113735,12 +113802,12 @@ "skipUrlEncoding": false }, { - "$id": "8627", + "$id": "8632", "name": "limit", "nameInRequest": "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": "8628", + "$id": "8633", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -113757,7 +113824,7 @@ "skipUrlEncoding": false }, { - "$id": "8629", + "$id": "8634", "name": "order", "nameInRequest": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", @@ -113775,12 +113842,12 @@ "skipUrlEncoding": false }, { - "$id": "8630", + "$id": "8635", "name": "after", "nameInRequest": "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": "8631", + "$id": "8636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113797,12 +113864,12 @@ "skipUrlEncoding": false }, { - "$id": "8632", + "$id": "8637", "name": "before", "nameInRequest": "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": "8633", + "$id": "8638", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113819,7 +113886,7 @@ "skipUrlEncoding": false }, { - "$id": "8634", + "$id": "8639", "name": "filter", "nameInRequest": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", @@ -113848,21 +113915,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles" }, { - "$id": "8635", + "$id": "8640", "kind": "basic", "name": "createVectorStoreFile", "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": "8636", + "$id": "8641", "name": "createVectorStoreFile", "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": "8637", + "$id": "8642", "name": "accept", "nameInRequest": "Accept", "type": { @@ -113879,12 +113946,12 @@ "skipUrlEncoding": false }, { - "$id": "8638", + "$id": "8643", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "8639", + "$id": "8644", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -113901,7 +113968,7 @@ "skipUrlEncoding": false }, { - "$id": "8640", + "$id": "8645", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -113919,7 +113986,7 @@ "skipUrlEncoding": false }, { - "$id": "8641", + "$id": "8646", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -113965,7 +114032,7 @@ }, "parameters": [ { - "$id": "8642", + "$id": "8647", "name": "accept", "nameInRequest": "accept", "type": { @@ -113982,12 +114049,12 @@ "skipUrlEncoding": false }, { - "$id": "8643", + "$id": "8648", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { - "$id": "8644", + "$id": "8649", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114004,7 +114071,7 @@ "skipUrlEncoding": false }, { - "$id": "8645", + "$id": "8650", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -114021,7 +114088,7 @@ "skipUrlEncoding": false }, { - "$id": "8646", + "$id": "8651", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -114050,21 +114117,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile" }, { - "$id": "8647", + "$id": "8652", "kind": "basic", "name": "GetFileAssociation", "accessibility": "public", "apiVersions": [], "summary": "Retrieves a vector store file.", "operation": { - "$id": "8648", + "$id": "8653", "name": "GetFileAssociation", "resourceName": "VectorStores", "summary": "Retrieves a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "8649", + "$id": "8654", "name": "accept", "nameInRequest": "Accept", "type": { @@ -114081,12 +114148,12 @@ "skipUrlEncoding": false }, { - "$id": "8650", + "$id": "8655", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8651", + "$id": "8656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114103,12 +114170,12 @@ "skipUrlEncoding": false }, { - "$id": "8652", + "$id": "8657", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "8653", + "$id": "8658", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114151,7 +114218,7 @@ }, "parameters": [ { - "$id": "8654", + "$id": "8659", "name": "accept", "nameInRequest": "accept", "type": { @@ -114168,12 +114235,12 @@ "skipUrlEncoding": false }, { - "$id": "8655", + "$id": "8660", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8656", + "$id": "8661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114190,12 +114257,12 @@ "skipUrlEncoding": false }, { - "$id": "8657", + "$id": "8662", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file being retrieved.", "type": { - "$id": "8658", + "$id": "8663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114223,21 +114290,21 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile" }, { - "$id": "8659", + "$id": "8664", "kind": "basic", "name": "RemoveFileFromStore", "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": "8660", + "$id": "8665", "name": "RemoveFileFromStore", "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": "8661", + "$id": "8666", "name": "accept", "nameInRequest": "Accept", "type": { @@ -114254,12 +114321,12 @@ "skipUrlEncoding": false }, { - "$id": "8662", + "$id": "8667", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8663", + "$id": "8668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114276,12 +114343,12 @@ "skipUrlEncoding": false }, { - "$id": "8664", + "$id": "8669", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "8665", + "$id": "8670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114324,7 +114391,7 @@ }, "parameters": [ { - "$id": "8666", + "$id": "8671", "name": "accept", "nameInRequest": "accept", "type": { @@ -114341,12 +114408,12 @@ "skipUrlEncoding": false }, { - "$id": "8667", + "$id": "8672", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8668", + "$id": "8673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114363,12 +114430,12 @@ "skipUrlEncoding": false }, { - "$id": "8669", + "$id": "8674", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to delete.", "type": { - "$id": "8670", + "$id": "8675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114396,26 +114463,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile" }, { - "$id": "8671", + "$id": "8676", "kind": "basic", "name": "updateVectorStoreFileAttributes", "accessibility": "public", "apiVersions": [], "summary": "Update the attributes of a vector store file.", "operation": { - "$id": "8672", + "$id": "8677", "name": "updateVectorStoreFileAttributes", "resourceName": "VectorStores", "summary": "Update the attributes of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "8673", + "$id": "8678", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$id": "8674", + "$id": "8679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114432,12 +114499,12 @@ "skipUrlEncoding": false }, { - "$id": "8675", + "$id": "8680", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "8676", + "$id": "8681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114454,7 +114521,7 @@ "skipUrlEncoding": false }, { - "$id": "8677", + "$id": "8682", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -114472,7 +114539,7 @@ "skipUrlEncoding": false }, { - "$id": "8678", + "$id": "8683", "name": "accept", "nameInRequest": "Accept", "type": { @@ -114489,7 +114556,7 @@ "skipUrlEncoding": false }, { - "$id": "8679", + "$id": "8684", "name": "updateVectorStoreFileAttributesRequest", "nameInRequest": "updateVectorStoreFileAttributesRequest", "type": { @@ -114535,12 +114602,12 @@ }, "parameters": [ { - "$id": "8680", + "$id": "8685", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { - "$id": "8681", + "$id": "8686", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114557,12 +114624,12 @@ "skipUrlEncoding": false }, { - "$id": "8682", + "$id": "8687", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file to update attributes for.", "type": { - "$id": "8683", + "$id": "8688", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114579,7 +114646,7 @@ "skipUrlEncoding": false }, { - "$id": "8684", + "$id": "8689", "name": "attributes", "nameInRequest": "attributes", "type": { @@ -114596,7 +114663,7 @@ "skipUrlEncoding": false }, { - "$id": "8685", + "$id": "8690", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -114614,7 +114681,7 @@ "skipUrlEncoding": false }, { - "$id": "8686", + "$id": "8691", "name": "accept", "nameInRequest": "accept", "type": { @@ -114642,26 +114709,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes" }, { - "$id": "8687", + "$id": "8692", "kind": "basic", "name": "retrieveVectorStoreFileContent", "accessibility": "public", "apiVersions": [], "summary": "Retrieves the content of a vector store file.", "operation": { - "$id": "8688", + "$id": "8693", "name": "retrieveVectorStoreFileContent", "resourceName": "VectorStores", "summary": "Retrieves the content of a vector store file.", "accessibility": "public", "parameters": [ { - "$id": "8689", + "$id": "8694", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8690", + "$id": "8695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114678,12 +114745,12 @@ "skipUrlEncoding": false }, { - "$id": "8691", + "$id": "8696", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "8692", + "$id": "8697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114700,7 +114767,7 @@ "skipUrlEncoding": false }, { - "$id": "8693", + "$id": "8698", "name": "accept", "nameInRequest": "Accept", "type": { @@ -114743,12 +114810,12 @@ }, "parameters": [ { - "$id": "8694", + "$id": "8699", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { - "$id": "8695", + "$id": "8700", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114765,12 +114832,12 @@ "skipUrlEncoding": false }, { - "$id": "8696", + "$id": "8701", "name": "file_id", "nameInRequest": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { - "$id": "8697", + "$id": "8702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114787,7 +114854,7 @@ "skipUrlEncoding": false }, { - "$id": "8698", + "$id": "8703", "name": "accept", "nameInRequest": "accept", "type": { @@ -114815,26 +114882,26 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent" }, { - "$id": "8699", + "$id": "8704", "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": "8700", + "$id": "8705", "name": "searchVectorStore", "resourceName": "VectorStores", "summary": "Searches a vector store for relevant chunks based on a query and file attributes filter.", "accessibility": "public", "parameters": [ { - "$id": "8701", + "$id": "8706", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "8702", + "$id": "8707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114851,7 +114918,7 @@ "skipUrlEncoding": false }, { - "$id": "8703", + "$id": "8708", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -114869,7 +114936,7 @@ "skipUrlEncoding": false }, { - "$id": "8704", + "$id": "8709", "name": "accept", "nameInRequest": "Accept", "type": { @@ -114886,7 +114953,7 @@ "skipUrlEncoding": false }, { - "$id": "8705", + "$id": "8710", "name": "vectorStoreSearchRequest", "nameInRequest": "vectorStoreSearchRequest", "type": { @@ -114932,12 +114999,12 @@ }, "parameters": [ { - "$id": "8706", + "$id": "8711", "name": "vector_store_id", "nameInRequest": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { - "$id": "8707", + "$id": "8712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -114954,7 +115021,7 @@ "skipUrlEncoding": false }, { - "$id": "8708", + "$id": "8713", "name": "query", "nameInRequest": "query", "doc": "A query string for a search", @@ -114972,12 +115039,12 @@ "skipUrlEncoding": false }, { - "$id": "8709", + "$id": "8714", "name": "rewrite_query", "nameInRequest": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "8710", + "$id": "8715", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -114994,12 +115061,12 @@ "skipUrlEncoding": false }, { - "$id": "8711", + "$id": "8716", "name": "max_num_results", "nameInRequest": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "8712", + "$id": "8717", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -115016,7 +115083,7 @@ "skipUrlEncoding": false }, { - "$id": "8713", + "$id": "8718", "name": "filters", "nameInRequest": "filters", "doc": "A filter to apply based on file attributes.", @@ -115034,7 +115101,7 @@ "skipUrlEncoding": false }, { - "$id": "8714", + "$id": "8719", "name": "ranking_options", "nameInRequest": "ranking_options", "doc": "Ranking options for search.", @@ -115052,7 +115119,7 @@ "skipUrlEncoding": false }, { - "$id": "8715", + "$id": "8720", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -115070,7 +115137,7 @@ "skipUrlEncoding": false }, { - "$id": "8716", + "$id": "8721", "name": "accept", "nameInRequest": "accept", "type": { @@ -115100,12 +115167,12 @@ ], "parameters": [ { - "$id": "8717", + "$id": "8722", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8718", + "$id": "8723", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115120,7 +115187,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8719", + "$id": "8724", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115134,31 +115201,31 @@ "crossLanguageDefinitionId": "OpenAI.VectorStores", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8720", + "$id": "8725", "kind": "client", "name": "Completions", "namespace": "OpenAI", "methods": [ { - "$id": "8721", + "$id": "8726", "kind": "basic", "name": "createCompletion", "accessibility": "public", "apiVersions": [], "summary": "Creates a completion for the provided prompt and parameters.", "operation": { - "$id": "8722", + "$id": "8727", "name": "createCompletion", "resourceName": "Completions", "summary": "Creates a completion for the provided prompt and parameters.", "accessibility": "public", "parameters": [ { - "$id": "8723", + "$id": "8728", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115175,7 +115242,7 @@ "skipUrlEncoding": false }, { - "$id": "8724", + "$id": "8729", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -115193,7 +115260,7 @@ "skipUrlEncoding": false }, { - "$id": "8725", + "$id": "8730", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -115239,7 +115306,7 @@ }, "parameters": [ { - "$id": "8726", + "$id": "8731", "name": "accept", "nameInRequest": "accept", "type": { @@ -115256,7 +115323,7 @@ "skipUrlEncoding": false }, { - "$id": "8727", + "$id": "8732", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -115273,7 +115340,7 @@ "skipUrlEncoding": false }, { - "$id": "8728", + "$id": "8733", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -115304,12 +115371,12 @@ ], "parameters": [ { - "$id": "8729", + "$id": "8734", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8730", + "$id": "8735", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115324,7 +115391,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8731", + "$id": "8736", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115338,31 +115405,31 @@ "crossLanguageDefinitionId": "OpenAI.Completions", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8732", + "$id": "8737", "kind": "client", "name": "Models", "namespace": "OpenAI", "methods": [ { - "$id": "8733", + "$id": "8738", "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": "8734", + "$id": "8739", "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": "8735", + "$id": "8740", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115405,7 +115472,7 @@ }, "parameters": [ { - "$id": "8736", + "$id": "8741", "name": "accept", "nameInRequest": "accept", "type": { @@ -115433,21 +115500,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.listModels" }, { - "$id": "8737", + "$id": "8742", "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": "8738", + "$id": "8743", "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": "8739", + "$id": "8744", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115464,12 +115531,12 @@ "skipUrlEncoding": false }, { - "$id": "8740", + "$id": "8745", "name": "model", "nameInRequest": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "8741", + "$id": "8746", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115512,7 +115579,7 @@ }, "parameters": [ { - "$id": "8742", + "$id": "8747", "name": "accept", "nameInRequest": "accept", "type": { @@ -115529,12 +115596,12 @@ "skipUrlEncoding": false }, { - "$id": "8743", + "$id": "8748", "name": "model", "nameInRequest": "model", "doc": "The ID of the model to use for this request.", "type": { - "$id": "8744", + "$id": "8749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115562,21 +115629,21 @@ "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel" }, { - "$id": "8745", + "$id": "8750", "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": "8746", + "$id": "8751", "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": "8747", + "$id": "8752", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115593,12 +115660,12 @@ "skipUrlEncoding": false }, { - "$id": "8748", + "$id": "8753", "name": "model", "nameInRequest": "model", "doc": "The model to delete", "type": { - "$id": "8749", + "$id": "8754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115641,7 +115708,7 @@ }, "parameters": [ { - "$id": "8750", + "$id": "8755", "name": "accept", "nameInRequest": "accept", "type": { @@ -115658,12 +115725,12 @@ "skipUrlEncoding": false }, { - "$id": "8751", + "$id": "8756", "name": "model", "nameInRequest": "model", "doc": "The model to delete", "type": { - "$id": "8752", + "$id": "8757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -115693,12 +115760,12 @@ ], "parameters": [ { - "$id": "8753", + "$id": "8758", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8754", + "$id": "8759", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -115713,7 +115780,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8755", + "$id": "8760", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -115727,31 +115794,31 @@ "crossLanguageDefinitionId": "OpenAI.Models", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8756", + "$id": "8761", "kind": "client", "name": "Realtime", "namespace": "OpenAI", "methods": [ { - "$id": "8757", + "$id": "8762", "kind": "basic", "name": "startRealtimeSession", "accessibility": "public", "apiVersions": [], "summary": "Starts a real-time session for conversation or transcription.", "operation": { - "$id": "8758", + "$id": "8763", "name": "startRealtimeSession", "resourceName": "Realtime", "summary": "Starts a real-time session for conversation or transcription.", "accessibility": "public", "parameters": [ { - "$id": "8759", + "$id": "8764", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -115768,7 +115835,7 @@ "skipUrlEncoding": false }, { - "$id": "8760", + "$id": "8765", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -115786,7 +115853,7 @@ "skipUrlEncoding": false }, { - "$id": "8761", + "$id": "8766", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115803,11 +115870,11 @@ "skipUrlEncoding": false }, { - "$id": "8762", + "$id": "8767", "name": "requestMessages", "nameInRequest": "requestMessages", "type": { - "$id": "8763", + "$id": "8768", "kind": "array", "name": "ArrayRealtimeClientEvent", "valueType": { @@ -115833,7 +115900,7 @@ 200 ], "bodyType": { - "$id": "8764", + "$id": "8769", "kind": "array", "name": "ArrayRealtimeServerEvent", "valueType": { @@ -115863,7 +115930,7 @@ }, "parameters": [ { - "$id": "8765", + "$id": "8770", "name": "openAIBeta", "nameInRequest": "OpenAI-Beta", "type": { @@ -115880,11 +115947,11 @@ "skipUrlEncoding": false }, { - "$id": "8766", + "$id": "8771", "name": "requestMessages", "nameInRequest": "requestMessages", "type": { - "$ref": "8763" + "$ref": "8768" }, "location": "Body", "isApiVersion": false, @@ -115897,7 +115964,7 @@ "skipUrlEncoding": false }, { - "$id": "8767", + "$id": "8772", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -115915,7 +115982,7 @@ "skipUrlEncoding": false }, { - "$id": "8768", + "$id": "8773", "name": "accept", "nameInRequest": "accept", "type": { @@ -115934,7 +116001,7 @@ ], "response": { "type": { - "$ref": "8764" + "$ref": "8769" } }, "isOverride": false, @@ -115943,21 +116010,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession" }, { - "$id": "8769", + "$id": "8774", "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": "8770", + "$id": "8775", "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": "8771", + "$id": "8776", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -115975,7 +116042,7 @@ "skipUrlEncoding": false }, { - "$id": "8772", + "$id": "8777", "name": "accept", "nameInRequest": "Accept", "type": { @@ -115992,7 +116059,7 @@ "skipUrlEncoding": false }, { - "$id": "8773", + "$id": "8778", "name": "request", "nameInRequest": "request", "type": { @@ -116038,7 +116105,7 @@ }, "parameters": [ { - "$id": "8774", + "$id": "8779", "name": "request", "nameInRequest": "request", "type": { @@ -116055,7 +116122,7 @@ "skipUrlEncoding": false }, { - "$id": "8775", + "$id": "8780", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -116073,7 +116140,7 @@ "skipUrlEncoding": false }, { - "$id": "8776", + "$id": "8781", "name": "accept", "nameInRequest": "accept", "type": { @@ -116101,21 +116168,21 @@ "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken" }, { - "$id": "8777", + "$id": "8782", "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": "8778", + "$id": "8783", "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": "8779", + "$id": "8784", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -116133,7 +116200,7 @@ "skipUrlEncoding": false }, { - "$id": "8780", + "$id": "8785", "name": "accept", "nameInRequest": "Accept", "type": { @@ -116150,7 +116217,7 @@ "skipUrlEncoding": false }, { - "$id": "8781", + "$id": "8786", "name": "request", "nameInRequest": "request", "type": { @@ -116196,7 +116263,7 @@ }, "parameters": [ { - "$id": "8782", + "$id": "8787", "name": "request", "nameInRequest": "request", "type": { @@ -116213,7 +116280,7 @@ "skipUrlEncoding": false }, { - "$id": "8783", + "$id": "8788", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -116231,7 +116298,7 @@ "skipUrlEncoding": false }, { - "$id": "8784", + "$id": "8789", "name": "accept", "nameInRequest": "accept", "type": { @@ -116261,12 +116328,12 @@ ], "parameters": [ { - "$id": "8785", + "$id": "8790", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8786", + "$id": "8791", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -116281,7 +116348,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8787", + "$id": "8792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -116295,31 +116362,31 @@ "crossLanguageDefinitionId": "OpenAI.Realtime", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } }, { - "$id": "8788", + "$id": "8793", "kind": "client", "name": "Uploads", "namespace": "OpenAI", "methods": [ { - "$id": "8789", + "$id": "8794", "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": "8790", + "$id": "8795", "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": "8791", + "$id": "8796", "name": "accept", "nameInRequest": "Accept", "type": { @@ -116336,7 +116403,7 @@ "skipUrlEncoding": false }, { - "$id": "8792", + "$id": "8797", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -116354,7 +116421,7 @@ "skipUrlEncoding": false }, { - "$id": "8793", + "$id": "8798", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116400,7 +116467,7 @@ }, "parameters": [ { - "$id": "8794", + "$id": "8799", "name": "accept", "nameInRequest": "accept", "type": { @@ -116417,7 +116484,7 @@ "skipUrlEncoding": false }, { - "$id": "8795", + "$id": "8800", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116434,7 +116501,7 @@ "skipUrlEncoding": false }, { - "$id": "8796", + "$id": "8801", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -116463,21 +116530,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload" }, { - "$id": "8797", + "$id": "8802", "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": "8798", + "$id": "8803", "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": "8799", + "$id": "8804", "name": "accept", "nameInRequest": "Accept", "type": { @@ -116494,7 +116561,7 @@ "skipUrlEncoding": false }, { - "$id": "8800", + "$id": "8805", "name": "contentType", "nameInRequest": "Content-Type", "type": { @@ -116511,11 +116578,11 @@ "skipUrlEncoding": false }, { - "$id": "8801", + "$id": "8806", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8802", + "$id": "8807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116532,7 +116599,7 @@ "skipUrlEncoding": false }, { - "$id": "8803", + "$id": "8808", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116578,7 +116645,7 @@ }, "parameters": [ { - "$id": "8804", + "$id": "8809", "name": "accept", "nameInRequest": "accept", "type": { @@ -116595,7 +116662,7 @@ "skipUrlEncoding": false }, { - "$id": "8805", + "$id": "8810", "name": "contentType", "nameInRequest": "content-type", "type": { @@ -116612,11 +116679,11 @@ "skipUrlEncoding": false }, { - "$id": "8806", + "$id": "8811", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8807", + "$id": "8812", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116633,7 +116700,7 @@ "skipUrlEncoding": false }, { - "$id": "8808", + "$id": "8813", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116661,21 +116728,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart" }, { - "$id": "8809", + "$id": "8814", "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": "8810", + "$id": "8815", "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": "8811", + "$id": "8816", "name": "accept", "nameInRequest": "Accept", "type": { @@ -116692,11 +116759,11 @@ "skipUrlEncoding": false }, { - "$id": "8812", + "$id": "8817", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8813", + "$id": "8818", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116713,7 +116780,7 @@ "skipUrlEncoding": false }, { - "$id": "8814", + "$id": "8819", "name": "contentType", "nameInRequest": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", @@ -116731,7 +116798,7 @@ "skipUrlEncoding": false }, { - "$id": "8815", + "$id": "8820", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116777,7 +116844,7 @@ }, "parameters": [ { - "$id": "8816", + "$id": "8821", "name": "accept", "nameInRequest": "accept", "type": { @@ -116794,11 +116861,11 @@ "skipUrlEncoding": false }, { - "$id": "8817", + "$id": "8822", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8818", + "$id": "8823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116815,7 +116882,7 @@ "skipUrlEncoding": false }, { - "$id": "8819", + "$id": "8824", "name": "requestBody", "nameInRequest": "requestBody", "type": { @@ -116832,7 +116899,7 @@ "skipUrlEncoding": false }, { - "$id": "8820", + "$id": "8825", "name": "contentType", "nameInRequest": "contentType", "doc": "Body parameter's content type. Known values are application/json", @@ -116861,21 +116928,21 @@ "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload" }, { - "$id": "8821", + "$id": "8826", "kind": "basic", "name": "cancelUpload", "accessibility": "public", "apiVersions": [], "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "operation": { - "$id": "8822", + "$id": "8827", "name": "cancelUpload", "resourceName": "Uploads", "summary": "Cancels the Upload. No Parts may be added after an Upload is cancelled.", "accessibility": "public", "parameters": [ { - "$id": "8823", + "$id": "8828", "name": "accept", "nameInRequest": "Accept", "type": { @@ -116892,11 +116959,11 @@ "skipUrlEncoding": false }, { - "$id": "8824", + "$id": "8829", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8825", + "$id": "8830", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116939,7 +117006,7 @@ }, "parameters": [ { - "$id": "8826", + "$id": "8831", "name": "accept", "nameInRequest": "accept", "type": { @@ -116956,11 +117023,11 @@ "skipUrlEncoding": false }, { - "$id": "8827", + "$id": "8832", "name": "upload_id", "nameInRequest": "upload_id", "type": { - "$id": "8828", + "$id": "8833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -116990,12 +117057,12 @@ ], "parameters": [ { - "$id": "8829", + "$id": "8834", "name": "endpoint", "nameInRequest": "endpoint", "doc": "Service host", "type": { - "$id": "8830", + "$id": "8835", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -117010,7 +117077,7 @@ "kind": "Client", "defaultValue": { "type": { - "$id": "8831", + "$id": "8836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -117024,7 +117091,7 @@ "crossLanguageDefinitionId": "OpenAI.Uploads", "apiVersions": [], "parent": { - "$ref": "7368" + "$ref": "7373" } } ]