diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
similarity index 76%
rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
index 7ec4371..6c467a6 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
@@ -7,7 +7,7 @@ public partial class BasetenClient
{
- private static readonly global::Baseten.EndPointSecurityRequirement s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0 =
+ private static readonly global::Baseten.EndPointSecurityRequirement s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0 =
new global::Baseten.EndPointSecurityRequirement
{
Authorizations = new global::Baseten.EndPointAuthorizationRequirement[]
@@ -21,28 +21,34 @@ public partial class BasetenClient
},
},
};
- private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements =
+ private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements =
new global::Baseten.EndPointSecurityRequirement[]
- { s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0,
+ { s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirement0,
};
- partial void PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments(
+ partial void PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments(
global::System.Net.Http.HttpClient httpClient,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
ref string chainId,
ref string chainDeploymentId,
- ref string chainletId,
- global::Baseten.GetDeploymentLogsRequestV1 request);
- partial void PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest(
+ ref string chainletId);
+ partial void PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
string chainId,
string chainDeploymentId,
- string chainletId,
- global::Baseten.GetDeploymentLogsRequestV1 request);
- partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse(
+ string chainletId);
+ partial void ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
- partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent(
+ partial void ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
@@ -51,39 +57,48 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
/// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
+ public async global::System.Threading.Tasks.Task GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
string chainId,
string chainDeploymentId,
string chainletId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __response = await CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
+ var __response = await GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
chainId: chainId,
chainDeploymentId: chainDeploymentId,
chainletId: chainletId,
-
- request: request,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -94,49 +109,57 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
/// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task> CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
+ public async global::System.Threading.Tasks.Task> GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
string chainId,
string chainDeploymentId,
string chainletId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
PrepareArguments(
client: HttpClient);
- PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments(
+ PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsArguments(
httpClient: HttpClient,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
chainId: ref chainId,
chainDeploymentId: ref chainDeploymentId,
- chainletId: ref chainletId,
- request: request);
+ chainletId: ref chainletId);
var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations(
availableAuthorizations: Authorizations,
- securityRequirements: s_CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements,
- operationName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync");
+ securityRequirements: s_GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsSecurityRequirements,
+ operationName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync");
using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
clientOptions: Options,
@@ -158,13 +181,19 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString())
+ .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString())
+ .AddOptionalParameter("direction", direction?.ToString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
clientParameters: Options.QueryParameters,
requestParameters: requestOptions?.QueryParameters);
var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Post,
+ method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
@@ -187,12 +216,6 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -201,13 +224,16 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
PrepareRequest(
client: HttpClient,
request: __httpRequest);
- PrepareCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest(
+ PrepareGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
chainId: chainId!,
chainDeploymentId: chainDeploymentId!,
- chainletId: chainletId!,
- request: request);
+ chainletId: chainletId!);
return __httpRequest;
}
@@ -224,10 +250,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
- methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
+ operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
+ methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -258,10 +284,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
- methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
+ operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
+ methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -299,10 +325,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
- methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
+ operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
+ methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -339,7 +365,7 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
ProcessResponse(
client: HttpClient,
response: __response);
- ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse(
+ ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponse(
httpClient: HttpClient,
httpResponseMessage: __response);
if (__response.IsSuccessStatusCode)
@@ -347,10 +373,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
- methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
+ operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
+ methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -369,10 +395,10 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
- methodName: "CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
+ operationId: "getChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs",
+ methodName: "GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync",
pathTemplate: "$\"/v1/chains/{chainId}/deployments/{chainDeploymentId}/chainlets/{chainletId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -399,7 +425,7 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
client: HttpClient,
response: __response,
content: ref __content);
- ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent(
+ ProcessGetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
@@ -486,58 +512,5 @@ partial void ProcessCreateChainsByChainIdDeploymentsByChainDeploymentIdChainlets
__httpRequest?.Dispose();
}
}
- ///
- /// Gets the logs for a chainlet within a chain deployment.
- /// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
- ///
- ///
- ///
- ///
- ///
- /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Limit of logs to fetch in a single request
- /// Default Value: 500
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
- string chainId,
- string chainDeploymentId,
- string chainletId,
- int? startEpochMillis = default,
- int? endEpochMillis = default,
- global::Baseten.SortOrderV1? direction = default,
- int? limit = default,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Baseten.GetDeploymentLogsRequestV1
- {
- StartEpochMillis = startEpochMillis,
- EndEpochMillis = endEpochMillis,
- Direction = direction,
- Limit = limit,
- };
-
- return await CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
- chainId: chainId,
- chainDeploymentId: chainDeploymentId,
- chainletId: chainletId,
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
}
}
\ No newline at end of file
diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
index e67ce4d..be61888 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
@@ -27,11 +27,13 @@ public partial class BasetenClient
};
partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigArguments(
global::System.Net.Http.HttpClient httpClient,
+ ref global::Baseten.DeploymentConfigOutputFormat? outputFormat,
ref string modelId,
ref string deploymentId);
partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ global::Baseten.DeploymentConfigOutputFormat? outputFormat,
string modelId,
string deploymentId);
partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponse(
@@ -47,6 +49,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
/// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).
///
+ ///
+ /// Default Value: both
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -60,12 +65,14 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
public async global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdConfigAsync(
string modelId,
string deploymentId,
+ global::Baseten.DeploymentConfigOutputFormat? outputFormat = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync(
modelId: modelId,
deploymentId: deploymentId,
+ outputFormat: outputFormat,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -76,6 +83,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
/// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).
///
+ ///
+ /// Default Value: both
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -89,6 +99,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
public async global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync(
string modelId,
string deploymentId,
+ global::Baseten.DeploymentConfigOutputFormat? outputFormat = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -96,6 +107,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
client: HttpClient);
PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigArguments(
httpClient: HttpClient,
+ outputFormat: ref outputFormat,
modelId: ref modelId,
deploymentId: ref deploymentId);
@@ -125,6 +137,9 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/models/{modelId}/deployments/{deploymentId}/config",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("output_format", outputFormat?.ToValueString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
@@ -165,6 +180,7 @@ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdConfigResponseCon
PrepareGetModelsByModelIdDeploymentsByDeploymentIdConfigRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ outputFormat: outputFormat,
modelId: modelId!,
deploymentId: deploymentId!);
diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
similarity index 78%
rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
index f3f7c14..3f41ada 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
@@ -7,7 +7,7 @@ public partial class BasetenClient
{
- private static readonly global::Baseten.EndPointSecurityRequirement s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0 =
+ private static readonly global::Baseten.EndPointSecurityRequirement s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0 =
new global::Baseten.EndPointSecurityRequirement
{
Authorizations = new global::Baseten.EndPointAuthorizationRequirement[]
@@ -21,26 +21,32 @@ public partial class BasetenClient
},
},
};
- private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements =
+ private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements =
new global::Baseten.EndPointSecurityRequirement[]
- { s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0,
+ { s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirement0,
};
- partial void PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsArguments(
+ partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsArguments(
global::System.Net.Http.HttpClient httpClient,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
ref string modelId,
- ref string deploymentId,
- global::Baseten.GetDeploymentLogsRequestV1 request);
- partial void PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsRequest(
+ ref string deploymentId);
+ partial void PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
string modelId,
- string deploymentId,
- global::Baseten.GetDeploymentLogsRequestV1 request);
- partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponse(
+ string deploymentId);
+ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
- partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent(
+ partial void ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
@@ -49,36 +55,45 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
/// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
+ public async global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
string modelId,
string deploymentId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __response = await CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
+ var __response = await GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
modelId: modelId,
deploymentId: deploymentId,
-
- request: request,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -89,46 +104,54 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
/// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task> CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
+ public async global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
string modelId,
string deploymentId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
PrepareArguments(
client: HttpClient);
- PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsArguments(
+ PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsArguments(
httpClient: HttpClient,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
modelId: ref modelId,
- deploymentId: ref deploymentId,
- request: request);
+ deploymentId: ref deploymentId);
var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations(
availableAuthorizations: Authorizations,
- securityRequirements: s_CreateModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements,
- operationName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync");
+ securityRequirements: s_GetModelsByModelIdDeploymentsByDeploymentIdLogsSecurityRequirements,
+ operationName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync");
using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
clientOptions: Options,
@@ -150,13 +173,19 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/models/{modelId}/deployments/{deploymentId}/logs",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString())
+ .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString())
+ .AddOptionalParameter("direction", direction?.ToString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
clientParameters: Options.QueryParameters,
requestParameters: requestOptions?.QueryParameters);
var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Post,
+ method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
@@ -179,12 +208,6 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -193,12 +216,15 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
PrepareRequest(
client: HttpClient,
request: __httpRequest);
- PrepareCreateModelsByModelIdDeploymentsByDeploymentIdLogsRequest(
+ PrepareGetModelsByModelIdDeploymentsByDeploymentIdLogsRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
modelId: modelId!,
- deploymentId: deploymentId!,
- request: request);
+ deploymentId: deploymentId!);
return __httpRequest;
}
@@ -215,10 +241,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs",
- methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
+ operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs",
+ methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -249,10 +275,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs",
- methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
+ operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs",
+ methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -290,10 +316,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs",
- methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
+ operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs",
+ methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -330,7 +356,7 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
ProcessResponse(
client: HttpClient,
response: __response);
- ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponse(
+ ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponse(
httpClient: HttpClient,
httpResponseMessage: __response);
if (__response.IsSuccessStatusCode)
@@ -338,10 +364,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs",
- methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
+ operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs",
+ methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -360,10 +386,10 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createModelsByModelIdDeploymentsByDeploymentIdLogs",
- methodName: "CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
+ operationId: "getModelsByModelIdDeploymentsByDeploymentIdLogs",
+ methodName: "GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync",
pathTemplate: "$\"/v1/models/{modelId}/deployments/{deploymentId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -390,7 +416,7 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
client: HttpClient,
response: __response,
content: ref __content);
- ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent(
+ ProcessGetModelsByModelIdDeploymentsByDeploymentIdLogsResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
@@ -477,55 +503,5 @@ partial void ProcessCreateModelsByModelIdDeploymentsByDeploymentIdLogsResponseCo
__httpRequest?.Dispose();
}
}
- ///
- /// Gets the logs for a model deployment.
- /// Gets all the logs for a model deployment in the given time range.
- ///
- ///
- ///
- ///
- /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Limit of logs to fetch in a single request
- /// Default Value: 500
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
- string modelId,
- string deploymentId,
- int? startEpochMillis = default,
- int? endEpochMillis = default,
- global::Baseten.SortOrderV1? direction = default,
- int? limit = default,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Baseten.GetDeploymentLogsRequestV1
- {
- StartEpochMillis = startEpochMillis,
- EndEpochMillis = endEpochMillis,
- Direction = direction,
- Limit = limit,
- };
-
- return await CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
- modelId: modelId,
- deploymentId: deploymentId,
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
}
}
\ No newline at end of file
diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
index 1696f3a..3bbec7d 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
@@ -27,11 +27,15 @@ public partial class BasetenClient
};
partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesArguments(
global::System.Net.Http.HttpClient httpClient,
+ ref int? pageSize,
+ ref int? pageToken,
ref string trainingProjectId,
ref string trainingJobId);
partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? pageSize,
+ int? pageToken,
string trainingProjectId,
string trainingJobId);
partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesResponse(
@@ -47,6 +51,12 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
/// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job.
///
+ ///
+ /// Default Value: 1000
+ ///
+ ///
+ /// Default Value: 0
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -60,12 +70,16 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsync(
string trainingProjectId,
string trainingJobId,
+ int? pageSize = default,
+ int? pageToken = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync(
trainingProjectId: trainingProjectId,
trainingJobId: trainingJobId,
+ pageSize: pageSize,
+ pageToken: pageToken,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -76,6 +90,12 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
/// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job.
///
+ ///
+ /// Default Value: 1000
+ ///
+ ///
+ /// Default Value: 0
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -89,6 +109,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync(
string trainingProjectId,
string trainingJobId,
+ int? pageSize = default,
+ int? pageToken = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
@@ -96,6 +118,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
client: HttpClient);
PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesArguments(
httpClient: HttpClient,
+ pageSize: ref pageSize,
+ pageToken: ref pageToken,
trainingProjectId: ref trainingProjectId,
trainingJobId: ref trainingJobId);
@@ -125,6 +149,10 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/checkpoint_files",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("page_size", pageSize?.ToString())
+ .AddOptionalParameter("page_token", pageToken?.ToString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
@@ -165,6 +193,8 @@ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdChe
PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ pageSize: pageSize,
+ pageToken: pageToken,
trainingProjectId: trainingProjectId!,
trainingJobId: trainingJobId!);
diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
similarity index 77%
rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
index bd0eba9..33eac4c 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
@@ -7,7 +7,7 @@ public partial class BasetenClient
{
- private static readonly global::Baseten.EndPointSecurityRequirement s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0 =
+ private static readonly global::Baseten.EndPointSecurityRequirement s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0 =
new global::Baseten.EndPointSecurityRequirement
{
Authorizations = new global::Baseten.EndPointAuthorizationRequirement[]
@@ -21,26 +21,32 @@ public partial class BasetenClient
},
},
};
- private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements =
+ private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements =
new global::Baseten.EndPointSecurityRequirement[]
- { s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0,
+ { s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirement0,
};
- partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments(
+ partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments(
global::System.Net.Http.HttpClient httpClient,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
ref string trainingProjectId,
- ref string trainingJobId,
- global::Baseten.GetTrainingJobLogsRequestV1 request);
- partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest(
+ ref string trainingJobId);
+ partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? startEpochMillis,
+ int? endEpochMillis,
+ global::Baseten.SortOrderV1? direction,
+ int? limit,
string trainingProjectId,
- string trainingJobId,
- global::Baseten.GetTrainingJobLogsRequestV1 request);
- partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse(
+ string trainingJobId);
+ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
- partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent(
+ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
@@ -49,36 +55,45 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
/// Get the logs for a training job.
/// Get the logs for a training job with the provided filters.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
+ public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __response = await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
+ var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
trainingProjectId: trainingProjectId,
trainingJobId: trainingJobId,
-
- request: request,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -89,46 +104,54 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
/// Get the logs for a training job.
/// Get the logs for a training job with the provided filters.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
+ public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
PrepareArguments(
client: HttpClient);
- PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments(
+ PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsArguments(
httpClient: HttpClient,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
trainingProjectId: ref trainingProjectId,
- trainingJobId: ref trainingJobId,
- request: request);
+ trainingJobId: ref trainingJobId);
var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations(
availableAuthorizations: Authorizations,
- securityRequirements: s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements,
- operationName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync");
+ securityRequirements: s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsSecurityRequirements,
+ operationName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync");
using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
clientOptions: Options,
@@ -150,13 +173,19 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString())
+ .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString())
+ .AddOptionalParameter("direction", direction?.ToString())
+ .AddOptionalParameter("limit", limit?.ToString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
clientParameters: Options.QueryParameters,
requestParameters: requestOptions?.QueryParameters);
var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Post,
+ method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
@@ -179,12 +208,6 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -193,12 +216,15 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
PrepareRequest(
client: HttpClient,
request: __httpRequest);
- PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest(
+ PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ startEpochMillis: startEpochMillis,
+ endEpochMillis: endEpochMillis,
+ direction: direction,
+ limit: limit,
trainingProjectId: trainingProjectId!,
- trainingJobId: trainingJobId!,
- request: request);
+ trainingJobId: trainingJobId!);
return __httpRequest;
}
@@ -215,10 +241,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -249,10 +275,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -290,10 +316,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -330,7 +356,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
ProcessResponse(
client: HttpClient,
response: __response);
- ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse(
+ ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponse(
httpClient: HttpClient,
httpResponseMessage: __response);
if (__response.IsSuccessStatusCode)
@@ -338,10 +364,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -360,10 +386,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/logs\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -390,7 +416,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
client: HttpClient,
response: __response,
content: ref __content);
- ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent(
+ ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
@@ -477,55 +503,5 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
__httpRequest?.Dispose();
}
}
- ///
- /// Get the logs for a training job.
- /// Get the logs for a training job with the provided filters.
- ///
- ///
- ///
- ///
- /// Epoch millis timestamp to start fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Epoch millis timestamp to end fetching logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Sort order for logs
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Limit of logs to fetch in a single request
- /// Default Value: 500
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
- string trainingProjectId,
- string trainingJobId,
- int? startEpochMillis = default,
- int? endEpochMillis = default,
- global::Baseten.SortOrderV1? direction = default,
- int? limit = default,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Baseten.GetTrainingJobLogsRequestV1
- {
- StartEpochMillis = startEpochMillis,
- EndEpochMillis = endEpochMillis,
- Direction = direction,
- Limit = limit,
- };
-
- return await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
- trainingProjectId: trainingProjectId,
- trainingJobId: trainingJobId,
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
}
}
\ No newline at end of file
diff --git a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
similarity index 77%
rename from src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
rename to src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
index 8e17e41..0d98a07 100644
--- a/src/libs/Baseten/Generated/Baseten.BasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.BasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
@@ -7,7 +7,7 @@ public partial class BasetenClient
{
- private static readonly global::Baseten.EndPointSecurityRequirement s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0 =
+ private static readonly global::Baseten.EndPointSecurityRequirement s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0 =
new global::Baseten.EndPointSecurityRequirement
{
Authorizations = new global::Baseten.EndPointAuthorizationRequirement[]
@@ -21,26 +21,28 @@ public partial class BasetenClient
},
},
};
- private static readonly global::Baseten.EndPointSecurityRequirement[] s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements =
+ private static readonly global::Baseten.EndPointSecurityRequirement[] s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements =
new global::Baseten.EndPointSecurityRequirement[]
- { s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0,
+ { s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirement0,
};
- partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments(
+ partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments(
global::System.Net.Http.HttpClient httpClient,
+ int? endEpochMillis,
+ int? startEpochMillis,
ref string trainingProjectId,
- ref string trainingJobId,
- global::Baseten.GetTrainingJobMetricsRequestV1 request);
- partial void PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest(
+ ref string trainingJobId);
+ partial void PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ int? endEpochMillis,
+ int? startEpochMillis,
string trainingProjectId,
- string trainingJobId,
- global::Baseten.GetTrainingJobMetricsRequestV1 request);
- partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse(
+ string trainingJobId);
+ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);
- partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent(
+ partial void ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
@@ -49,34 +51,35 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
/// Get the metrics for a training job.
/// Get the metrics for a training job.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
+ public async global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobMetricsRequestV1 request,
+ int? endEpochMillis = default,
+ int? startEpochMillis = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- var __response = await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
+ var __response = await GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
trainingProjectId: trainingProjectId,
trainingJobId: trainingJobId,
-
- request: request,
+ endEpochMillis: endEpochMillis,
+ startEpochMillis: startEpochMillis,
requestOptions: requestOptions,
cancellationToken: cancellationToken
).ConfigureAwait(false);
@@ -87,44 +90,44 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
/// Get the metrics for a training job.
/// Get the metrics for a training job.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- public async global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
+ public async global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobMetricsRequestV1 request,
+ int? endEpochMillis = default,
+ int? startEpochMillis = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
- request = request ?? throw new global::System.ArgumentNullException(nameof(request));
-
PrepareArguments(
client: HttpClient);
- PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments(
+ PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsArguments(
httpClient: HttpClient,
+ endEpochMillis: endEpochMillis,
+ startEpochMillis: startEpochMillis,
trainingProjectId: ref trainingProjectId,
- trainingJobId: ref trainingJobId,
- request: request);
+ trainingJobId: ref trainingJobId);
var __authorizations = global::Baseten.EndPointSecurityResolver.ResolveAuthorizations(
availableAuthorizations: Authorizations,
- securityRequirements: s_CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements,
- operationName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync");
+ securityRequirements: s_GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsSecurityRequirements,
+ operationName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync");
using var __timeoutCancellationTokenSource = global::Baseten.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
clientOptions: Options,
@@ -146,13 +149,17 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
var __pathBuilder = new global::Baseten.PathBuilder(
path: $"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics",
baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("end_epoch_millis", endEpochMillis?.ToString())
+ .AddOptionalParameter("start_epoch_millis", startEpochMillis?.ToString())
+ ;
var __path = __pathBuilder.ToString();
__path = global::Baseten.AutoSDKRequestOptionsSupport.AppendQueryParameters(
path: __path,
clientParameters: Options.QueryParameters,
requestParameters: requestOptions?.QueryParameters);
var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
- method: global::System.Net.Http.HttpMethod.Post,
+ method: global::System.Net.Http.HttpMethod.Get,
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
#if NET6_0_OR_GREATER
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
@@ -175,12 +182,6 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
}
}
- var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
- var __httpRequestContent = new global::System.Net.Http.StringContent(
- content: __httpRequestContentBody,
- encoding: global::System.Text.Encoding.UTF8,
- mediaType: "application/json");
- __httpRequest.Content = __httpRequestContent;
global::Baseten.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
clientHeaders: Options.Headers,
@@ -189,12 +190,13 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
PrepareRequest(
client: HttpClient,
request: __httpRequest);
- PrepareCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest(
+ PrepareGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
+ endEpochMillis: endEpochMillis,
+ startEpochMillis: startEpochMillis,
trainingProjectId: trainingProjectId!,
- trainingJobId: trainingJobId!,
- request: request);
+ trainingJobId: trainingJobId!);
return __httpRequest;
}
@@ -211,10 +213,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -245,10 +247,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: null,
@@ -286,10 +288,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -326,7 +328,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
ProcessResponse(
client: HttpClient,
response: __response);
- ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse(
+ ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponse(
httpClient: HttpClient,
httpResponseMessage: __response);
if (__response.IsSuccessStatusCode)
@@ -334,10 +336,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -356,10 +358,10 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
await global::Baseten.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
clientOptions: Options,
context: global::Baseten.AutoSDKRequestOptionsSupport.CreateHookContext(
- operationId: "createTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
- methodName: "CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
+ operationId: "getTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics",
+ methodName: "GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync",
pathTemplate: "$\"/v1/training_projects/{trainingProjectId}/jobs/{trainingJobId}/metrics\"",
- httpMethod: "POST",
+ httpMethod: "GET",
baseUri: BaseUri,
request: __httpRequest!,
response: __response,
@@ -386,7 +388,7 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
client: HttpClient,
response: __response,
content: ref __content);
- ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent(
+ ProcessGetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
@@ -473,43 +475,5 @@ partial void ProcessCreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobId
__httpRequest?.Dispose();
}
}
- ///
- /// Get the metrics for a training job.
- /// Get the metrics for a training job.
- ///
- ///
- ///
- ///
- /// Epoch millis timestamp to end fetching metrics
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- ///
- /// Epoch millis timestamp to start fetching metrics.
- /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- public async global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
- string trainingProjectId,
- string trainingJobId,
- int? endEpochMillis = default,
- int? startEpochMillis = default,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default)
- {
- var __request = new global::Baseten.GetTrainingJobMetricsRequestV1
- {
- EndEpochMillis = endEpochMillis,
- StartEpochMillis = startEpochMillis,
- };
-
- return await CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
- trainingProjectId: trainingProjectId,
- trainingJobId: trainingJobId,
- request: __request,
- requestOptions: requestOptions,
- cancellationToken: cancellationToken).ConfigureAwait(false);
- }
}
}
\ No newline at end of file
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
similarity index 57%
rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
index 77ee8e1..a4ee9e1 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogs.g.cs
@@ -8,89 +8,67 @@ public partial interface IBasetenClient
/// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- ///
- /// curl --request POST \
- /// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
- ///
- global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
- string chainId,
- string chainDeploymentId,
- string chainletId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Gets the logs for a chainlet within a chain deployment.
- /// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
- ///
- ///
- ///
- ///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- global::System.Threading.Tasks.Task> CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
+ global::System.Threading.Tasks.Task GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
string chainId,
string chainDeploymentId,
string chainletId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Gets the logs for a chainlet within a chain deployment.
/// Resolves the chainlet (by ID, scoped to the given chain deployment) to its underlying model deployment and returns its logs in the given time range.
///
- ///
- ///
- ///
///
- /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Limit of logs to fetch in a single request
/// Default Value: 500
///
+ ///
+ ///
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsync(
+ ///
+ ///
+ /// curl --request GET \
+ /// --url https://api.baseten.co/v1/chains/{chain_id}/deployments/{chain_deployment_id}/chainlets/{chainlet_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
+ ///
+ global::System.Threading.Tasks.Task> GetChainsByChainIdDeploymentsByChainDeploymentIdChainletsByChainletIdLogsAsResponseAsync(
string chainId,
string chainDeploymentId,
string chainletId,
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
index 8d7052f..c690242 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdConfig.g.cs
@@ -8,6 +8,9 @@ public partial interface IBasetenClient
/// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).
///
+ ///
+ /// Default Value: both
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -21,12 +24,16 @@ public partial interface IBasetenClient
global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdConfigAsync(
string modelId,
string deploymentId,
+ global::Baseten.DeploymentConfigOutputFormat? outputFormat = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Gets a deployment's config
/// Returns the deployment's config. `output_format` query param picks the shape: 'raw' (config.yaml text), 'parsed' (dict with defaults), or 'both' (default).
///
+ ///
+ /// Default Value: both
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -40,6 +47,7 @@ public partial interface IBasetenClient
global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdConfigAsResponseAsync(
string modelId,
string deploymentId,
+ global::Baseten.DeploymentConfigOutputFormat? outputFormat = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
similarity index 56%
rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
index 845a836..392b1e8 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetModelsByModelIdDeploymentsByDeploymentIdLogs.g.cs
@@ -8,84 +8,64 @@ public partial interface IBasetenClient
/// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- ///
- /// curl --request POST \
- /// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
- ///
- global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
- string modelId,
- string deploymentId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Gets the logs for a model deployment.
- /// Gets all the logs for a model deployment in the given time range.
- ///
- ///
- ///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- global::System.Threading.Tasks.Task> CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
+ global::System.Threading.Tasks.Task GetModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
string modelId,
string deploymentId,
-
- global::Baseten.GetDeploymentLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Gets the logs for a model deployment.
/// Gets all the logs for a model deployment in the given time range.
///
- ///
- ///
///
- /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Limit of logs to fetch in a single request
/// Default Value: 500
///
+ ///
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateModelsByModelIdDeploymentsByDeploymentIdLogsAsync(
+ ///
+ ///
+ /// curl --request GET \
+ /// --url https://api.baseten.co/v1/models/{model_id}/deployments/{deployment_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
+ ///
+ global::System.Threading.Tasks.Task> GetModelsByModelIdDeploymentsByDeploymentIdLogsAsResponseAsync(
string modelId,
string deploymentId,
int? startEpochMillis = default,
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
index a64fbed..a296ebb 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFiles.g.cs
@@ -8,6 +8,12 @@ public partial interface IBasetenClient
/// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job.
///
+ ///
+ /// Default Value: 1000
+ ///
+ ///
+ /// Default Value: 0
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -21,12 +27,20 @@ public partial interface IBasetenClient
global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsync(
string trainingProjectId,
string trainingJobId,
+ int? pageSize = default,
+ int? pageToken = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Get training job checkpoint files.
/// Get presigned URLs for all checkpoint files for a training job.
///
+ ///
+ /// Default Value: 1000
+ ///
+ ///
+ /// Default Value: 0
+ ///
///
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
@@ -40,6 +54,8 @@ public partial interface IBasetenClient
global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdCheckpointFilesAsResponseAsync(
string trainingProjectId,
string trainingJobId,
+ int? pageSize = default,
+ int? pageToken = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
similarity index 56%
rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
index ac0a0dc..5d87d1a 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogs.g.cs
@@ -8,84 +8,64 @@ public partial interface IBasetenClient
/// Get the logs for a training job.
/// Get the logs for a training job with the provided filters.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: 500
+ ///
///
///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- ///
- /// curl --request POST \
- /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
- ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
- string trainingProjectId,
- string trainingJobId,
-
- global::Baseten.GetTrainingJobLogsRequestV1 request,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Get the logs for a training job.
- /// Get the logs for a training job with the provided filters.
- ///
- ///
- ///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "start_epoch_millis": null,
- /// "end_epoch_millis": null,
- /// "direction": null,
- /// "limit": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
+ global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobLogsRequestV1 request,
+ int? startEpochMillis = default,
+ int? endEpochMillis = default,
+ global::Baseten.SortOrderV1? direction = default,
+ int? limit = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Get the logs for a training job.
/// Get the logs for a training job with the provided filters.
///
- ///
- ///
///
- /// Epoch millis timestamp to start fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Epoch millis timestamp to end fetching logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Sort order for logs
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Limit of logs to fetch in a single request
/// Default Value: 500
///
+ ///
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsync(
+ ///
+ ///
+ /// curl --request GET \
+ /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/logs \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
+ ///
+ global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdLogsAsResponseAsync(
string trainingProjectId,
string trainingJobId,
int? startEpochMillis = default,
diff --git a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
similarity index 56%
rename from src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
rename to src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
index 664cc9e..f02d982 100644
--- a/src/libs/Baseten/Generated/Baseten.IBasetenClient.CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.IBasetenClient.GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetrics.g.cs
@@ -8,72 +8,50 @@ public partial interface IBasetenClient
/// Get the metrics for a training job.
/// Get the metrics for a training job.
///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
+ ///
+ /// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
+ ///
///
///
- ///
- /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
- /// The token to cancel the operation with
- ///
- ///
- /// curl --request POST \
- /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }'
- ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
- string trainingProjectId,
- string trainingJobId,
-
- global::Baseten.GetTrainingJobMetricsRequestV1 request,
- global::Baseten.AutoSDKRequestOptions? requestOptions = default,
- global::System.Threading.CancellationToken cancellationToken = default);
- ///
- /// Get the metrics for a training job.
- /// Get the metrics for a training job.
- ///
- ///
- ///
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
///
- /// curl --request POST \
+ /// curl --request GET \
/// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
- /// --header "Authorization: Api-Key $BASETEN_API_KEY" \
- /// --data '{
- /// "end_epoch_millis": null,
- /// "start_epoch_millis": null
- /// }'
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
///
- global::System.Threading.Tasks.Task> CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
+ global::System.Threading.Tasks.Task GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
string trainingProjectId,
string trainingJobId,
-
- global::Baseten.GetTrainingJobMetricsRequestV1 request,
+ int? endEpochMillis = default,
+ int? startEpochMillis = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
///
/// Get the metrics for a training job.
/// Get the metrics for a training job.
///
- ///
- ///
///
- /// Epoch millis timestamp to end fetching metrics
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
///
- /// Epoch millis timestamp to start fetching metrics.
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
///
+ ///
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
- ///
- global::System.Threading.Tasks.Task CreateTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsync(
+ ///
+ ///
+ /// curl --request GET \
+ /// --url https://api.baseten.co/v1/training_projects/{training_project_id}/jobs/{training_job_id}/metrics \
+ /// --header "Authorization: Api-Key $BASETEN_API_KEY"
+ ///
+ global::System.Threading.Tasks.Task> GetTrainingProjectsByTrainingProjectIdJobsByTrainingJobIdMetricsAsResponseAsync(
string trainingProjectId,
string trainingJobId,
int? endEpochMillis = default,
diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs
new file mode 100644
index 0000000..e2ecbfe
--- /dev/null
+++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormat.g.cs
@@ -0,0 +1,53 @@
+#nullable enable
+
+namespace Baseten.JsonConverters
+{
+ ///
+ public sealed class DeploymentConfigOutputFormatJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Baseten.DeploymentConfigOutputFormat Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Baseten.DeploymentConfigOutputFormatExtensions.ToEnum(stringValue) ?? default;
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Baseten.DeploymentConfigOutputFormat)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Baseten.DeploymentConfigOutputFormat);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Baseten.DeploymentConfigOutputFormat value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ writer.WriteStringValue(global::Baseten.DeploymentConfigOutputFormatExtensions.ToValueString(value));
+ }
+ }
+}
diff --git a/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs
new file mode 100644
index 0000000..a8ef755
--- /dev/null
+++ b/src/libs/Baseten/Generated/Baseten.JsonConverters.DeploymentConfigOutputFormatNullable.g.cs
@@ -0,0 +1,60 @@
+#nullable enable
+
+namespace Baseten.JsonConverters
+{
+ ///
+ public sealed class DeploymentConfigOutputFormatNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter
+ {
+ ///
+ public override global::Baseten.DeploymentConfigOutputFormat? Read(
+ ref global::System.Text.Json.Utf8JsonReader reader,
+ global::System.Type typeToConvert,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ switch (reader.TokenType)
+ {
+ case global::System.Text.Json.JsonTokenType.String:
+ {
+ var stringValue = reader.GetString();
+ if (stringValue != null)
+ {
+ return global::Baseten.DeploymentConfigOutputFormatExtensions.ToEnum(stringValue);
+ }
+
+ break;
+ }
+ case global::System.Text.Json.JsonTokenType.Number:
+ {
+ var numValue = reader.GetInt32();
+ return (global::Baseten.DeploymentConfigOutputFormat)numValue;
+ }
+ case global::System.Text.Json.JsonTokenType.Null:
+ {
+ return default(global::Baseten.DeploymentConfigOutputFormat?);
+ }
+ default:
+ throw new global::System.ArgumentOutOfRangeException(nameof(reader));
+ }
+
+ return default;
+ }
+
+ ///
+ public override void Write(
+ global::System.Text.Json.Utf8JsonWriter writer,
+ global::Baseten.DeploymentConfigOutputFormat? value,
+ global::System.Text.Json.JsonSerializerOptions options)
+ {
+ writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer));
+
+ if (value == null)
+ {
+ writer.WriteNullValue();
+ }
+ else
+ {
+ writer.WriteStringValue(global::Baseten.DeploymentConfigOutputFormatExtensions.ToValueString(value.Value));
+ }
+ }
+ }
+}
diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs
index b391343..33acc08 100644
--- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContext.g.cs
@@ -29,6 +29,10 @@ namespace Baseten
typeof(global::Baseten.JsonConverters.UpdateAutoscalingSettingsStatusV1NullableJsonConverter),
+ typeof(global::Baseten.JsonConverters.DeploymentConfigOutputFormatJsonConverter),
+
+ typeof(global::Baseten.JsonConverters.DeploymentConfigOutputFormatNullableJsonConverter),
+
typeof(global::Baseten.JsonConverters.SortOrderV1JsonConverter),
typeof(global::Baseten.JsonConverters.SortOrderV1NullableJsonConverter),
@@ -199,11 +203,13 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.RetryDeploymentResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DownloadDeploymentResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DeploymentConfigResponseV1))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SortOrderV1), TypeInfoPropertyName = "SortOrderV12")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentLogsRequestV1))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DeploymentConfigOutputFormat), TypeInfoPropertyName = "DeploymentConfigOutputFormat2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentConfigRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LogV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetLogsResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SortOrderV1), TypeInfoPropertyName = "SortOrderV12")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetDeploymentLogsRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TerminateReplicaResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SignSSHCertificateRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.SignSSHCertificateResponseV1))]
@@ -303,7 +309,6 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.DownloadTrainingJobResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.RecreateTrainingJobResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobLogsRequestV1))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StorageMetricsV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobMetricV1))]
@@ -312,6 +317,7 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobNodeMetricsV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobMetricsRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StopTrainingJobRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.StopTrainingJobResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingJobCheckpointV1))]
@@ -320,6 +326,7 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CheckpointFile))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobCheckpointFilesResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetTrainingJobCheckpointFilesRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.AuthCodeV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetAuthCodesResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
@@ -366,6 +373,7 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsSamplerV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsRunsResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsRunsQueryParamsV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateLoopsRunRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.CreateLoopsRunResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.GetLoopsRunResponseV1))]
@@ -377,6 +385,7 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsCheckpointV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsCheckpointsResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ListLoopsCheckpointsQueryParamsV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ValidateLoopsCheckpointRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.ValidateLoopsCheckpointResponseV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.LoopsCheckpointFilesResponseV1))]
@@ -436,6 +445,7 @@ namespace Baseten
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.TrainingUsageV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UsageSummaryV1))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UsageSummaryRequestV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.UserInfoV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Baseten.EffectiveModelConfigV1))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
diff --git a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs
index 9ccc910..ab1adf5 100644
--- a/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Baseten/Generated/Baseten.JsonSerializerContextTypes.g.cs
@@ -248,11 +248,11 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Baseten.SortOrderV1? Type55 { get; set; }
+ public global::Baseten.DeploymentConfigOutputFormat? Type55 { get; set; }
///
///
///
- public global::Baseten.GetDeploymentLogsRequestV1? Type56 { get; set; }
+ public global::Baseten.GetDeploymentConfigRequestV1? Type56 { get; set; }
///
///
///
@@ -268,1063 +268,1087 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Baseten.TerminateReplicaResponseV1? Type60 { get; set; }
+ public global::Baseten.SortOrderV1? Type60 { get; set; }
///
///
///
- public global::Baseten.SignSSHCertificateRequestV1? Type61 { get; set; }
+ public global::Baseten.GetDeploymentLogsRequestV1? Type61 { get; set; }
///
///
///
- public global::Baseten.SignSSHCertificateResponseV1? Type62 { get; set; }
+ public global::Baseten.TerminateReplicaResponseV1? Type62 { get; set; }
///
///
///
- public global::Baseten.EnvironmentV1? Type63 { get; set; }
+ public global::Baseten.SignSSHCertificateRequestV1? Type63 { get; set; }
///
///
///
- public global::Baseten.InProgressPromotionV1? Type64 { get; set; }
+ public global::Baseten.SignSSHCertificateResponseV1? Type64 { get; set; }
///
///
///
- public global::Baseten.PromotionSettingsV1? Type65 { get; set; }
+ public global::Baseten.EnvironmentV1? Type65 { get; set; }
///
///
///
- public global::Baseten.InProgressPromotionStatusV1? Type66 { get; set; }
+ public global::Baseten.InProgressPromotionV1? Type66 { get; set; }
///
///
///
- public global::Baseten.PromotionCleanupStrategyV1? Type67 { get; set; }
+ public global::Baseten.PromotionSettingsV1? Type67 { get; set; }
///
///
///
- public global::Baseten.RollingDeployConfigV1? Type68 { get; set; }
+ public global::Baseten.InProgressPromotionStatusV1? Type68 { get; set; }
///
///
///
- public global::Baseten.RollingDeployStrategyV1? Type69 { get; set; }
+ public global::Baseten.PromotionCleanupStrategyV1? Type69 { get; set; }
///
///
///
- public global::Baseten.EnvironmentsV1? Type70 { get; set; }
+ public global::Baseten.RollingDeployConfigV1? Type70 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type71 { get; set; }
+ public global::Baseten.RollingDeployStrategyV1? Type71 { get; set; }
///
///
///
- public global::Baseten.UpdatePromotionSettingsV1? Type72 { get; set; }
+ public global::Baseten.EnvironmentsV1? Type72 { get; set; }
///
///
///
- public global::Baseten.UpdateRollingDeployConfigV1? Type73 { get; set; }
+ public global::System.Collections.Generic.IList? Type73 { get; set; }
///
///
///
- public global::Baseten.CreateEnvironmentRequestV1? Type74 { get; set; }
+ public global::Baseten.UpdatePromotionSettingsV1? Type74 { get; set; }
///
///
///
- public global::Baseten.UpdateEnvironmentRequestV1? Type75 { get; set; }
+ public global::Baseten.UpdateRollingDeployConfigV1? Type75 { get; set; }
///
///
///
- public global::Baseten.PromoteToEnvironmentRequestV1? Type76 { get; set; }
+ public global::Baseten.CreateEnvironmentRequestV1? Type76 { get; set; }
///
///
///
- public global::Baseten.CancelPromotionStatusV1? Type77 { get; set; }
+ public global::Baseten.UpdateEnvironmentRequestV1? Type77 { get; set; }
///
///
///
- public global::Baseten.CancelPromotionResponseV1? Type78 { get; set; }
+ public global::Baseten.PromoteToEnvironmentRequestV1? Type78 { get; set; }
///
///
///
- public global::Baseten.SignalPromotionResponseV1? Type79 { get; set; }
+ public global::Baseten.CancelPromotionStatusV1? Type79 { get; set; }
///
///
///
- public global::Baseten.ChainV1? Type80 { get; set; }
+ public global::Baseten.CancelPromotionResponseV1? Type80 { get; set; }
///
///
///
- public global::Baseten.ChainsV1? Type81 { get; set; }
+ public global::Baseten.SignalPromotionResponseV1? Type81 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type82 { get; set; }
+ public global::Baseten.ChainV1? Type82 { get; set; }
///
///
///
- public global::Baseten.ChainTombstoneV1? Type83 { get; set; }
+ public global::Baseten.ChainsV1? Type83 { get; set; }
///
///
///
- public global::Baseten.ChainDeploymentV1? Type84 { get; set; }
+ public global::System.Collections.Generic.IList? Type84 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type85 { get; set; }
+ public global::Baseten.ChainTombstoneV1? Type85 { get; set; }
///
///
///
- public global::Baseten.ChainletV1? Type86 { get; set; }
+ public global::Baseten.ChainDeploymentV1? Type86 { get; set; }
///
///
///
- public global::Baseten.ChainDeploymentsV1? Type87 { get; set; }
+ public global::System.Collections.Generic.IList? Type87 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type88 { get; set; }
+ public global::Baseten.ChainletV1? Type88 { get; set; }
///
///
///
- public global::Baseten.ChainDeploymentTombstoneV1? Type89 { get; set; }
+ public global::Baseten.ChainDeploymentsV1? Type89 { get; set; }
///
///
///
- public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type90 { get; set; }
+ public global::System.Collections.Generic.IList? Type90 { get; set; }
///
///
///
- public global::Baseten.CreateChainEnvironmentRequestV1? Type91 { get; set; }
+ public global::Baseten.ChainDeploymentTombstoneV1? Type91 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type92 { get; set; }
+ public global::Baseten.ChainletEnvironmentSettingsRequestV1? Type92 { get; set; }
///
///
///
- public global::Baseten.ChainletEnvironmentSettingsV1? Type93 { get; set; }
+ public global::Baseten.CreateChainEnvironmentRequestV1? Type93 { get; set; }
///
///
///
- public global::Baseten.ChainEnvironmentV1? Type94 { get; set; }
+ public global::System.Collections.Generic.IList? Type94 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type95 { get; set; }
+ public global::Baseten.ChainletEnvironmentSettingsV1? Type95 { get; set; }
///
///
///
- public global::Baseten.UpdateChainEnvironmentRequestV1? Type96 { get; set; }
+ public global::Baseten.ChainEnvironmentV1? Type96 { get; set; }
///
///
///
- public global::Baseten.UpdateChainEnvironmentResponseV1? Type97 { get; set; }
+ public global::System.Collections.Generic.IList? Type97 { get; set; }
///
///
///
- public global::Baseten.PromoteToChainEnvironmentRequestV1? Type98 { get; set; }
+ public global::Baseten.UpdateChainEnvironmentRequestV1? Type98 { get; set; }
///
///
///
- public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type99 { get; set; }
+ public global::Baseten.UpdateChainEnvironmentResponseV1? Type99 { get; set; }
///
///
///
- public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type100 { get; set; }
+ public global::Baseten.PromoteToChainEnvironmentRequestV1? Type100 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type101 { get; set; }
+ public global::Baseten.ChainletEnvironmentAutoscalingSettingsUpdateV1? Type101 { get; set; }
///
///
///
- public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type102 { get; set; }
+ public global::Baseten.UpdateChainletEnvironmentAutoscalingSettingsRequestV1? Type102 { get; set; }
///
///
///
- public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type103 { get; set; }
+ public global::System.Collections.Generic.IList? Type103 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type104 { get; set; }
+ public global::Baseten.ChainletEnvironmentInstanceTypeUpdateV1? Type104 { get; set; }
///
///
///
- public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type105 { get; set; }
+ public global::Baseten.UpdateChainletEnvironmentInstanceTypeRequestV1? Type105 { get; set; }
///
///
///
- public global::Baseten.UpsertTrainingProjectV1? Type106 { get; set; }
+ public global::System.Collections.Generic.IList? Type106 { get; set; }
///
///
///
- public global::Baseten.UpsertTrainingProjectRequestV1? Type107 { get; set; }
+ public global::Baseten.UpdateChainletEnvironmentInstanceTypeResponseV1? Type107 { get; set; }
///
///
///
- public global::Baseten.CheckpointSyncStatus? Type108 { get; set; }
+ public global::Baseten.UpsertTrainingProjectV1? Type108 { get; set; }
///
///
///
- public global::Baseten.TrainingJobV1? Type109 { get; set; }
+ public global::Baseten.UpsertTrainingProjectRequestV1? Type109 { get; set; }
///
///
///
- public global::Baseten.TrainingProjectSummaryV1? Type110 { get; set; }
+ public global::Baseten.CheckpointSyncStatus? Type110 { get; set; }
///
///
///
- public global::Baseten.UserV1? Type111 { get; set; }
+ public global::Baseten.TrainingJobV1? Type111 { get; set; }
///
///
///
- public global::Baseten.TrainingProjectV1? Type112 { get; set; }
+ public global::Baseten.TrainingProjectSummaryV1? Type112 { get; set; }
///
///
///
- public global::Baseten.UpsertTrainingProjectResponseV1? Type113 { get; set; }
+ public global::Baseten.UserV1? Type113 { get; set; }
///
///
///
- public global::Baseten.ListTrainingProjectsResponseV1? Type114 { get; set; }
+ public global::Baseten.TrainingProjectV1? Type114 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type115 { get; set; }
+ public global::Baseten.UpsertTrainingProjectResponseV1? Type115 { get; set; }
///
///
///
- public global::Baseten.ListTrainingJobsResponseV1? Type116 { get; set; }
+ public global::Baseten.ListTrainingProjectsResponseV1? Type116 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type117 { get; set; }
+ public global::System.Collections.Generic.IList? Type117 { get; set; }
///
///
///
- public global::Baseten.AwsIamDockerAuthV1? Type118 { get; set; }
+ public global::Baseten.ListTrainingJobsResponseV1? Type118 { get; set; }
///
///
///
- public global::Baseten.SecretReferenceV1? Type119 { get; set; }
+ public global::System.Collections.Generic.IList? Type119 { get; set; }
///
///
///
- public global::Baseten.AwsOidcDockerAuthV1? Type120 { get; set; }
+ public global::Baseten.AwsIamDockerAuthV1? Type120 { get; set; }
///
///
///
- public global::Baseten.BasetenLatestCheckpointConfig? Type121 { get; set; }
+ public global::Baseten.SecretReferenceV1? Type121 { get; set; }
///
///
///
- public global::Baseten.BasetenNamedCheckpointConfig? Type122 { get; set; }
+ public global::Baseten.AwsOidcDockerAuthV1? Type122 { get; set; }
///
///
///
- public global::Baseten.CreateJobWeightConfigV1? Type123 { get; set; }
+ public global::Baseten.BasetenLatestCheckpointConfig? Type123 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type124 { get; set; }
+ public global::Baseten.BasetenNamedCheckpointConfig? Type124 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobAcceleratorV1? Type125 { get; set; }
+ public global::Baseten.CreateJobWeightConfigV1? Type125 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobCacheConfig? Type126 { get; set; }
+ public global::System.Collections.Generic.IList? Type126 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobCheckpointingConfig? Type127 { get; set; }
+ public global::Baseten.CreateTrainingJobAcceleratorV1? Type127 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobComputeV1? Type128 { get; set; }
+ public global::Baseten.CreateTrainingJobCacheConfig? Type128 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobImageV1? Type129 { get; set; }
+ public global::Baseten.CreateTrainingJobCheckpointingConfig? Type129 { get; set; }
///
///
///
- public global::Baseten.DockerAuthV1? Type130 { get; set; }
+ public global::Baseten.CreateTrainingJobComputeV1? Type130 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobRuntimeV1? Type131 { get; set; }
+ public global::Baseten.CreateTrainingJobImageV1? Type131 { get; set; }
///
///
///
- public global::Baseten.AnyOf? Type132 { get; set; }
+ public global::Baseten.DockerAuthV1? Type132 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type133 { get; set; }
+ public global::Baseten.CreateTrainingJobRuntimeV1? Type133 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobS3Artifact? Type134 { get; set; }
+ public global::Baseten.AnyOf? Type134 { get; set; }
///
///
///
- public global::Baseten.LoadCheckpointConfig? Type135 { get; set; }
+ public global::System.Collections.Generic.IList? Type135 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobV1? Type136 { get; set; }
+ public global::Baseten.CreateTrainingJobS3Artifact? Type136 { get; set; }
///
///
///
- public global::Baseten.TrussUserEnv? Type137 { get; set; }
+ public global::Baseten.LoadCheckpointConfig? Type137 { get; set; }
///
///
///
- public global::Baseten.InteractiveSessionConfigV1? Type138 { get; set; }
+ public global::Baseten.CreateTrainingJobV1? Type138 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type139 { get; set; }
+ public global::Baseten.TrussUserEnv? Type139 { get; set; }
///
///
///
- public global::Baseten.DockerAuthType? Type140 { get; set; }
+ public global::Baseten.InteractiveSessionConfigV1? Type140 { get; set; }
///
///
///
- public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type141 { get; set; }
+ public global::System.Collections.Generic.IList? Type141 { get; set; }
///
///
///
- public global::Baseten.GcpOidcDockerAuthV1? Type142 { get; set; }
+ public global::Baseten.DockerAuthType? Type142 { get; set; }
///
///
///
- public global::Baseten.RegistrySecretDockerAuthV1? Type143 { get; set; }
+ public global::Baseten.GcpServiceAccountJsonDockerAuthV1? Type143 { get; set; }
///
///
///
- public global::Baseten.GitInfo? Type144 { get; set; }
+ public global::Baseten.GcpOidcDockerAuthV1? Type144 { get; set; }
///
///
///
- public global::Baseten.V1InteractiveSessionTrigger? Type145 { get; set; }
+ public global::Baseten.RegistrySecretDockerAuthV1? Type145 { get; set; }
///
///
///
- public global::Baseten.V1InteractiveSessionProvider? Type146 { get; set; }
+ public global::Baseten.GitInfo? Type146 { get; set; }
///
///
///
- public global::Baseten.V1InteractiveSessionAuthProvider? Type147 { get; set; }
+ public global::Baseten.V1InteractiveSessionTrigger? Type147 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type148 { get; set; }
+ public global::Baseten.V1InteractiveSessionProvider? Type148 { get; set; }
///
///
///
- public global::Baseten.CheckpointsItem? Type149 { get; set; }
+ public global::Baseten.V1InteractiveSessionAuthProvider? Type149 { get; set; }
///
///
///
- public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type150 { get; set; }
+ public global::System.Collections.Generic.IList? Type150 { get; set; }
///
///
///
- public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type151 { get; set; }
+ public global::Baseten.CheckpointsItem? Type151 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobRequestV1? Type152 { get; set; }
+ public global::Baseten.LoadCheckpointConfigCheckpointDiscriminator? Type152 { get; set; }
///
///
///
- public global::Baseten.CreateTrainingJobResponseV1? Type153 { get; set; }
+ public global::Baseten.LoadCheckpointConfigCheckpointDiscriminatorTyp? Type153 { get; set; }
///
///
///
- public global::Baseten.TrainingJobTombstoneV1? Type154 { get; set; }
+ public global::Baseten.CreateTrainingJobRequestV1? Type154 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobResponseV1? Type155 { get; set; }
+ public global::Baseten.CreateTrainingJobResponseV1? Type155 { get; set; }
///
///
///
- public global::Baseten.DownloadTrainingJobResponseV1? Type156 { get; set; }
+ public global::Baseten.TrainingJobTombstoneV1? Type156 { get; set; }
///
///
///
- public global::Baseten.RecreateTrainingJobResponseV1? Type157 { get; set; }
+ public global::Baseten.GetTrainingJobResponseV1? Type157 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobLogsRequestV1? Type158 { get; set; }
+ public global::Baseten.DownloadTrainingJobResponseV1? Type158 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobMetricsRequestV1? Type159 { get; set; }
+ public global::Baseten.RecreateTrainingJobResponseV1? Type159 { get; set; }
///
///
///
- public global::Baseten.StorageMetricsV1? Type160 { get; set; }
+ public global::Baseten.GetTrainingJobLogsRequestV1? Type160 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type161 { get; set; }
+ public global::Baseten.StorageMetricsV1? Type161 { get; set; }
///
///
///
- public global::Baseten.TrainingJobMetricV1? Type162 { get; set; }
+ public global::System.Collections.Generic.IList? Type162 { get; set; }
///
///
///
- public global::Baseten.TrainingJobMetricsV1? Type163 { get; set; }
+ public global::Baseten.TrainingJobMetricV1? Type163 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary>? Type164 { get; set; }
+ public global::Baseten.TrainingJobMetricsV1? Type164 { get; set; }
///
///
///
- public global::Baseten.TrainingJobNodeMetricsV1? Type165 { get; set; }
+ public global::System.Collections.Generic.Dictionary>? Type165 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobMetricsResponseV1? Type166 { get; set; }
+ public global::Baseten.TrainingJobNodeMetricsV1? Type166 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type167 { get; set; }
+ public global::Baseten.GetTrainingJobMetricsResponseV1? Type167 { get; set; }
///
///
///
- public global::Baseten.StopTrainingJobRequestV1? Type168 { get; set; }
+ public global::System.Collections.Generic.IList? Type168 { get; set; }
///
///
///
- public global::Baseten.StopTrainingJobResponseV1? Type169 { get; set; }
+ public global::Baseten.GetTrainingJobMetricsRequestV1? Type169 { get; set; }
///
///
///
- public global::Baseten.TrainingJobCheckpointV1? Type170 { get; set; }
+ public global::Baseten.StopTrainingJobRequestV1? Type170 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type171 { get; set; }
+ public global::Baseten.StopTrainingJobResponseV1? Type171 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type172 { get; set; }
+ public global::Baseten.TrainingJobCheckpointV1? Type172 { get; set; }
///
///
///
- public global::Baseten.CheckpointFile? Type173 { get; set; }
+ public global::Baseten.GetTrainingJobCheckpointsResponseV1? Type173 { get; set; }
///
///
///
- public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type174 { get; set; }
+ public global::System.Collections.Generic.IList? Type174 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type175 { get; set; }
+ public global::Baseten.CheckpointFile? Type175 { get; set; }
///
///
///
- public global::Baseten.AuthCodeV1? Type176 { get; set; }
+ public global::Baseten.GetTrainingJobCheckpointFilesResponseV1? Type176 { get; set; }
///
///
///
- public global::Baseten.GetAuthCodesResponseV1? Type177 { get; set; }
+ public global::System.Collections.Generic.IList? Type177 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type178 { get; set; }
+ public global::Baseten.GetTrainingJobCheckpointFilesRequestV1? Type178 { get; set; }
///
///
///
- public global::Baseten.PatchInteractiveSessionRequestV1? Type179 { get; set; }
+ public global::Baseten.AuthCodeV1? Type179 { get; set; }
///
///
///
- public global::Baseten.InteractiveSessionV1? Type180 { get; set; }
+ public global::Baseten.GetAuthCodesResponseV1? Type180 { get; set; }
///
///
///
- public global::Baseten.PatchInteractiveSessionResponseV1? Type181 { get; set; }
+ public global::System.Collections.Generic.IList? Type181 { get; set; }
///
///
///
- public global::Baseten.FileSummary? Type182 { get; set; }
+ public global::Baseten.PatchInteractiveSessionRequestV1? Type182 { get; set; }
///
///
///
- public global::Baseten.GetCacheSummaryResponseV1? Type183 { get; set; }
+ public global::Baseten.InteractiveSessionV1? Type183 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type184 { get; set; }
+ public global::Baseten.PatchInteractiveSessionResponseV1? Type184 { get; set; }
///
///
///
- public global::Baseten.TrainingProjectTombstoneV1? Type185 { get; set; }
+ public global::Baseten.FileSummary? Type185 { get; set; }
///
///
///
- public global::Baseten.GetTrainingProjectResponseV1? Type186 { get; set; }
+ public global::Baseten.GetCacheSummaryResponseV1? Type186 { get; set; }
///
///
///
- public global::Baseten.OrderByV1? Type187 { get; set; }
+ public global::System.Collections.Generic.IList? Type187 { get; set; }
///
///
///
- public global::Baseten.SearchTrainingJobsRequestV1? Type188 { get; set; }
+ public global::Baseten.TrainingProjectTombstoneV1? Type188 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type189 { get; set; }
+ public global::Baseten.GetTrainingProjectResponseV1? Type189 { get; set; }
///
///
///
- public global::Baseten.SearchTrainingJobsResponseV1? Type190 { get; set; }
+ public global::Baseten.OrderByV1? Type190 { get; set; }
///
///
///
- public global::Baseten.SearchTrainersRequestV1? Type191 { get; set; }
+ public global::Baseten.SearchTrainingJobsRequestV1? Type191 { get; set; }
///
///
///
- public global::Baseten.SearchedTrainerV1? Type192 { get; set; }
+ public global::System.Collections.Generic.IList? Type192 { get; set; }
///
///
///
- public global::Baseten.SearchTrainersResponseV1? Type193 { get; set; }
+ public global::Baseten.SearchTrainingJobsResponseV1? Type193 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type194 { get; set; }
+ public global::Baseten.SearchTrainersRequestV1? Type194 { get; set; }
///
///
///
- public global::Baseten.CheckpointSearchRequestV1? Type195 { get; set; }
+ public global::Baseten.SearchedTrainerV1? Type195 { get; set; }
///
///
///
- public global::Baseten.TrainerCheckpointTarget? Type196 { get; set; }
+ public global::Baseten.SearchTrainersResponseV1? Type196 { get; set; }
///
///
///
- public global::Baseten.TrainerServerCheckpointV1? Type197 { get; set; }
+ public global::System.Collections.Generic.IList? Type197 { get; set; }
///
///
///
- public global::Baseten.CheckpointSearchResponseV1? Type198 { get; set; }
+ public global::Baseten.CheckpointSearchRequestV1? Type198 { get; set; }
///
///
///
- public global::Baseten.CreateTrainerSessionRequestV1? Type199 { get; set; }
+ public global::Baseten.TrainerCheckpointTarget? Type199 { get; set; }
///
///
///
- public global::Baseten.TrainerSessionV1? Type200 { get; set; }
+ public global::Baseten.TrainerServerCheckpointV1? Type200 { get; set; }
///
///
///
- public global::Baseten.CreateTrainerSessionResponseV1? Type201 { get; set; }
+ public global::Baseten.CheckpointSearchResponseV1? Type201 { get; set; }
///
///
///
- public global::Baseten.CreateTrainerServerRequestV1? Type202 { get; set; }
+ public global::Baseten.CreateTrainerSessionRequestV1? Type202 { get; set; }
///
///
///
- public global::Baseten.SamplingServerV1? Type203 { get; set; }
+ public global::Baseten.TrainerSessionV1? Type203 { get; set; }
///
///
///
- public global::Baseten.TrainerServerV1? Type204 { get; set; }
+ public global::Baseten.CreateTrainerSessionResponseV1? Type204 { get; set; }
///
///
///
- public global::Baseten.CreateTrainerServerResponseV1? Type205 { get; set; }
+ public global::Baseten.CreateTrainerServerRequestV1? Type205 { get; set; }
///
///
///
- public global::Baseten.CreateSamplingServerRequestV1? Type206 { get; set; }
+ public global::Baseten.SamplingServerV1? Type206 { get; set; }
///
///
///
- public global::Baseten.CreateSamplingServerResponseV1? Type207 { get; set; }
+ public global::Baseten.TrainerServerV1? Type207 { get; set; }
///
///
///
- public global::Baseten.GetTrainerServerCheckpointsResponseV1? Type208 { get; set; }
+ public global::Baseten.CreateTrainerServerResponseV1? Type208 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type209 { get; set; }
+ public global::Baseten.CreateSamplingServerRequestV1? Type209 { get; set; }
///
///
///
- public global::Baseten.GetTrainerServerCheckpointFilesResponseV1? Type210 { get; set; }
+ public global::Baseten.CreateSamplingServerResponseV1? Type210 { get; set; }
///
///
///
- public global::Baseten.SupportedModelV1? Type211 { get; set; }
+ public global::Baseten.GetTrainerServerCheckpointsResponseV1? Type211 { get; set; }
///
///
///
- public global::Baseten.GetLoopsCapabilitiesResponseV1? Type212 { get; set; }
+ public global::System.Collections.Generic.IList? Type212 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type213 { get; set; }
+ public global::Baseten.GetTrainerServerCheckpointFilesResponseV1? Type213 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsSessionRequestV1? Type214 { get; set; }
+ public global::Baseten.SupportedModelV1? Type214 { get; set; }
///
///
///
- public global::Baseten.LoopsSessionV1? Type215 { get; set; }
+ public global::Baseten.GetLoopsCapabilitiesResponseV1? Type215 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsSessionResponseV1? Type216 { get; set; }
+ public global::System.Collections.Generic.IList? Type216 { get; set; }
///
///
///
- public global::Baseten.GetLoopsSessionResponseV1? Type217 { get; set; }
+ public global::Baseten.CreateLoopsSessionRequestV1? Type217 { get; set; }
///
///
///
- public global::Baseten.LoopsRunV1? Type218 { get; set; }
+ public global::Baseten.LoopsSessionV1? Type218 { get; set; }
///
///
///
- public global::Baseten.LoopsSamplerV1? Type219 { get; set; }
+ public global::Baseten.CreateLoopsSessionResponseV1? Type219 { get; set; }
///
///
///
- public global::Baseten.ListLoopsRunsResponseV1? Type220 { get; set; }
+ public global::Baseten.GetLoopsSessionResponseV1? Type220 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type221 { get; set; }
+ public global::Baseten.LoopsRunV1? Type221 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsRunRequestV1? Type222 { get; set; }
+ public global::Baseten.LoopsSamplerV1? Type222 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsRunResponseV1? Type223 { get; set; }
+ public global::Baseten.ListLoopsRunsResponseV1? Type223 { get; set; }
///
///
///
- public global::Baseten.GetLoopsRunResponseV1? Type224 { get; set; }
+ public global::System.Collections.Generic.IList? Type224 { get; set; }
///
///
///
- public global::Baseten.ListLoopsSamplersResponseV1? Type225 { get; set; }
+ public global::Baseten.ListLoopsRunsQueryParamsV1? Type225 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type226 { get; set; }
+ public global::Baseten.CreateLoopsRunRequestV1? Type226 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsSamplerRequestV1? Type227 { get; set; }
+ public global::Baseten.CreateLoopsRunResponseV1? Type227 { get; set; }
///
///
///
- public global::Baseten.CreateLoopsSamplerResponseV1? Type228 { get; set; }
+ public global::Baseten.GetLoopsRunResponseV1? Type228 { get; set; }
///
///
///
- public global::Baseten.GetLoopsSamplerResponseV1? Type229 { get; set; }
+ public global::Baseten.ListLoopsSamplersResponseV1? Type229 { get; set; }
///
///
///
- public global::Baseten.LoopsCheckpointV1? Type230 { get; set; }
+ public global::System.Collections.Generic.IList? Type230 { get; set; }
///
///
///
- public global::Baseten.ListLoopsCheckpointsResponseV1? Type231 { get; set; }
+ public global::Baseten.CreateLoopsSamplerRequestV1? Type231 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type232 { get; set; }
+ public global::Baseten.CreateLoopsSamplerResponseV1? Type232 { get; set; }
///
///
///
- public global::Baseten.ValidateLoopsCheckpointRequestV1? Type233 { get; set; }
+ public global::Baseten.GetLoopsSamplerResponseV1? Type233 { get; set; }
///
///
///
- public global::Baseten.ValidateLoopsCheckpointResponseV1? Type234 { get; set; }
+ public global::Baseten.LoopsCheckpointV1? Type234 { get; set; }
///
///
///
- public global::Baseten.LoopsCheckpointFilesResponseV1? Type235 { get; set; }
+ public global::Baseten.ListLoopsCheckpointsResponseV1? Type235 { get; set; }
///
///
///
- public global::Baseten.LoopsDeploymentStatusV1? Type236 { get; set; }
+ public global::System.Collections.Generic.IList? Type236 { get; set; }
///
///
///
- public global::Baseten.Name? Type237 { get; set; }
+ public global::Baseten.ListLoopsCheckpointsQueryParamsV1? Type237 { get; set; }
///
///
///
- public global::Baseten.LoopsDeploymentV1? Type238 { get; set; }
+ public global::Baseten.ValidateLoopsCheckpointRequestV1? Type238 { get; set; }
///
///
///
- public global::Baseten.ListLoopsDeploymentsResponseV1? Type239 { get; set; }
+ public global::Baseten.ValidateLoopsCheckpointResponseV1? Type239 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type240 { get; set; }
+ public global::Baseten.LoopsCheckpointFilesResponseV1? Type240 { get; set; }
///
///
///
- public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type241 { get; set; }
+ public global::Baseten.LoopsDeploymentStatusV1? Type241 { get; set; }
///
///
///
- public global::Baseten.GetLoopsDeploymentResponseV1? Type242 { get; set; }
+ public global::Baseten.Name? Type242 { get; set; }
///
///
///
- public global::Baseten.TrainingGpuCapacityItemV1? Type243 { get; set; }
+ public global::Baseten.LoopsDeploymentV1? Type243 { get; set; }
///
///
///
- public global::Baseten.GetTrainingGpuCapacityResponseV1? Type244 { get; set; }
+ public global::Baseten.ListLoopsDeploymentsResponseV1? Type244 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type245 { get; set; }
+ public global::System.Collections.Generic.IList? Type245 { get; set; }
///
///
///
- public global::Baseten.GetBlobCredentialsResponseV1? Type246 { get; set; }
+ public global::Baseten.DeactivateLoopsDeploymentResponseV1? Type246 { get; set; }
///
///
///
- public global::Baseten.APIKeyCategory? Type247 { get; set; }
+ public global::Baseten.GetLoopsDeploymentResponseV1? Type247 { get; set; }
///
///
///
- public global::Baseten.CreateAPIKeyRequestV1? Type248 { get; set; }
+ public global::Baseten.TrainingGpuCapacityItemV1? Type248 { get; set; }
///
///
///
- public global::Baseten.APIKeyV1? Type249 { get; set; }
+ public global::Baseten.GetTrainingGpuCapacityResponseV1? Type249 { get; set; }
///
///
///
- public global::Baseten.APIKeyInfoV1? Type250 { get; set; }
+ public global::System.Collections.Generic.IList? Type250 { get; set; }
///
///
///
- public global::Baseten.APIKeysV1? Type251 { get; set; }
+ public global::Baseten.GetBlobCredentialsResponseV1? Type251 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type252 { get; set; }
+ public global::Baseten.APIKeyCategory? Type252 { get; set; }
///
///
///
- public global::Baseten.APIKeyTombstoneV1? Type253 { get; set; }
+ public global::Baseten.CreateAPIKeyRequestV1? Type253 { get; set; }
///
///
///
- public global::Baseten.ModelWeightSnapshotV1? Type254 { get; set; }
+ public global::Baseten.APIKeyV1? Type254 { get; set; }
///
///
///
- public global::Baseten.CreateModelWeightSnapshotRequestV1? Type255 { get; set; }
+ public global::Baseten.APIKeyInfoV1? Type255 { get; set; }
///
///
///
- public global::Baseten.CreateLLMModelRequestV1? Type256 { get; set; }
+ public global::Baseten.APIKeysV1? Type256 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList