Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ partial void ProcessCreateLoopsRunsResponseContent(
/// Base model ID (e.g. 'Qwen/Qwen3-8B').
/// </param>
/// <param name="maxSeqLen">
/// Maximum prompt length (in tokens) the run must handle. Set this to the longest training example you plan to send.<br/>
/// Default Value: 131072
/// Maximum prompt length (in tokens) the run must handle. Set this to the longest training example you plan to send. Defaults to the maximum supported by the model configuration.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="loraRank">
/// LoRA rank.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ partial void ProcessCreateTrainerSessionsBySessionIdTrainersResponseContent(
/// Base model ID (e.g. 'Qwen/Qwen3-8B').
/// </param>
/// <param name="maxSeqLen">
/// Maximum sequence length for training.<br/>
/// Default Value: 131072
/// Maximum sequence length for training. Defaults to the maximum supported by the model configuration.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="loraRank">
/// LoRA rank.<br/>
Expand Down

Large diffs are not rendered by default.

429 changes: 429 additions & 0 deletions src/libs/Baseten/Generated/Baseten.BasetenClient.GetGatewayGroups.g.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
#nullable enable

namespace Baseten
{
public partial interface IBasetenClient
{
/// <summary>
/// Create a group<br/>
/// Creates a group and its endpoint configuration
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "metadata": {<br/>
/// "name": "Acme prod",<br/>
/// "external_entity_id": "cust_42"<br/>
/// },<br/>
/// "models": null,<br/>
/// "hierarchy": {<br/>
/// "limit_enforcement": "INDEPENDENT",<br/>
/// "parent_group_id": "abc123"<br/>
/// }<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.GroupV1> CreateGatewayGroupsAsync(

global::Baseten.CreateGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a group<br/>
/// Creates a group and its endpoint configuration
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "metadata": {<br/>
/// "name": "Acme prod",<br/>
/// "external_entity_id": "cust_42"<br/>
/// },<br/>
/// "models": null,<br/>
/// "hierarchy": {<br/>
/// "limit_enforcement": "INDEPENDENT",<br/>
/// "parent_group_id": "abc123"<br/>
/// }<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.AutoSDKHttpResponse<global::Baseten.GroupV1>> CreateGatewayGroupsAsResponseAsync(

global::Baseten.CreateGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a group<br/>
/// Creates a group and its endpoint configuration
/// </summary>
/// <param name="metadata">
/// Group identity + display metadata.
/// </param>
/// <param name="models">
/// Per-model rate and usage limit configuration. Defines the group's complete model set. Must be non-empty.
/// </param>
/// <param name="hierarchy">
/// Parent linkage and limit enforcement mode. Immutable after creation.
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Baseten.GroupV1> CreateGatewayGroupsAsync(
global::Baseten.GroupMetadataV1 metadata,
global::System.Collections.Generic.IList<global::Baseten.ModelConfigV1> models,
global::Baseten.GroupHierarchyV1 hierarchy,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#nullable enable

namespace Baseten
{
public partial interface IBasetenClient
{
/// <summary>
/// Create an API key for a group<br/>
/// Creates a new API key for the given group
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id}/api_keys \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "name": "prod-key-1"<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.CreateApiKeyForGroupResponseV1> CreateGatewayGroupsByGroupIdApiKeysAsync(
string groupId,

global::Baseten.CreateApiKeyForGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create an API key for a group<br/>
/// Creates a new API key for the given group
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id}/api_keys \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "name": "prod-key-1"<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.AutoSDKHttpResponse<global::Baseten.CreateApiKeyForGroupResponseV1>> CreateGatewayGroupsByGroupIdApiKeysAsResponseAsync(
string groupId,

global::Baseten.CreateApiKeyForGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create an API key for a group<br/>
/// Creates a new API key for the given group
/// </summary>
/// <param name="groupId"></param>
/// <param name="name">
/// Optional display name for the new key.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Baseten.CreateApiKeyForGroupResponseV1> CreateGatewayGroupsByGroupIdApiKeysAsync(
string groupId,
string? name = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#nullable enable

namespace Baseten
{
public partial interface IBasetenClient
{
/// <summary>
/// Register an API key for a group<br/>
/// Registers a Gateway API key with provided value, name.
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id}/api_keys/register \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "name": "my-model-api-key",<br/>
/// "key": "my-secure-api-key-value"<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.RegisterAPIKeyResponseV1> CreateGatewayGroupsByGroupIdApiKeysRegisterAsync(
string groupId,

global::Baseten.RegisterAPIKeyRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Register an API key for a group<br/>
/// Registers a Gateway API key with provided value, name.
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id}/api_keys/register \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "name": "my-model-api-key",<br/>
/// "key": "my-secure-api-key-value"<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.AutoSDKHttpResponse<global::Baseten.RegisterAPIKeyResponseV1>> CreateGatewayGroupsByGroupIdApiKeysRegisterAsResponseAsync(
string groupId,

global::Baseten.RegisterAPIKeyRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Register an API key for a group<br/>
/// Registers a Gateway API key with provided value, name.
/// </summary>
/// <param name="groupId"></param>
/// <param name="name">
/// Optional name for the Model API key<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="key">
/// Value of the API key to register
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Baseten.RegisterAPIKeyResponseV1> CreateGatewayGroupsByGroupIdApiKeysRegisterAsync(
string groupId,
string key,
string? name = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public partial interface IBasetenClient
/// Base model ID (e.g. 'Qwen/Qwen3-8B').
/// </param>
/// <param name="maxSeqLen">
/// Maximum prompt length (in tokens) the run must handle. Set this to the longest training example you plan to send.<br/>
/// Default Value: 131072
/// Maximum prompt length (in tokens) the run must handle. Set this to the longest training example you plan to send. Defaults to the maximum supported by the model configuration.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="loraRank">
/// LoRA rank.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public partial interface IBasetenClient
/// Base model ID (e.g. 'Qwen/Qwen3-8B').
/// </param>
/// <param name="maxSeqLen">
/// Maximum sequence length for training.<br/>
/// Default Value: 131072
/// Maximum sequence length for training. Defaults to the maximum supported by the model configuration.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="loraRank">
/// LoRA rank.<br/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
#nullable enable

namespace Baseten
{
public partial interface IBasetenClient
{
/// <summary>
/// Update a group<br/>
/// Updates the group's mutable fields
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request PATCH \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id} \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "metadata": {<br/>
/// "name": "Acme Prod"<br/>
/// },<br/>
/// "models": null<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.GroupV1> EditGatewayGroupsByGroupIdAsync(
string groupId,

global::Baseten.UpdateGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update a group<br/>
/// Updates the group's mutable fields
/// </summary>
/// <param name="groupId"></param>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Baseten.ApiException"></exception>
/// <remarks>
/// curl --request PATCH \<br/>
/// --url https://api.baseten.co/v1/gateway/groups/{group_id} \<br/>
/// --header "Authorization: Api-Key $BASETEN_API_KEY" \<br/>
/// --data '{<br/>
/// "metadata": {<br/>
/// "name": "Acme Prod"<br/>
/// },<br/>
/// "models": null<br/>
/// }'
/// </remarks>
global::System.Threading.Tasks.Task<global::Baseten.AutoSDKHttpResponse<global::Baseten.GroupV1>> EditGatewayGroupsByGroupIdAsResponseAsync(
string groupId,

global::Baseten.UpdateGroupRequestV1 request,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Update a group<br/>
/// Updates the group's mutable fields
/// </summary>
/// <param name="groupId"></param>
/// <param name="metadata">
/// Mutable group metadata.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="models">
/// Per-model rate and usage limit configuration.<br/>
/// Default Value: openapi-json-null-sentinel-value-2BF93600-0FE4-4250-987A-E5DDB203E464
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::Baseten.GroupV1> EditGatewayGroupsByGroupIdAsync(
string groupId,
global::Baseten.UpdateGroupMetadataV1? metadata = default,
global::System.Collections.Generic.IList<global::Baseten.ModelConfigV1>? models = default,
global::Baseten.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading