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
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ public partial interface IScaleAIClient
/// </summary>
/// <param name="taskId"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> AddTaskTagsAsync(
string taskId,

global::System.Collections.Generic.IList<string> request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Assign team members to Studio projects.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<string> AssignTeammatesAsync(

global::ScaleAI.AssignTeamRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Assign teammates to projects<br/>
Expand All @@ -25,11 +27,13 @@ public partial interface IScaleAIClient
/// <param name="projects">
/// Project names to assign to.
/// </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<string> AssignTeammatesAsync(
global::System.Collections.Generic.IList<string> emails,
global::System.Collections.Generic.IList<string> projects,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ public partial interface IScaleAIClient
/// </summary>
/// <param name="taskId"></param>
/// <param name="clearUniqueId"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> CancelTaskAsync(
string taskId,
bool? clearUniqueId = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Create a new batch within a project for grouping tasks.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Batch> CreateBatchAsync(

global::ScaleAI.CreateBatchRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a batch<br/>
Expand All @@ -34,6 +36,7 @@ public partial interface IScaleAIClient
/// <param name="selfLabelBatch">
/// Whether this is a self-label batch (Rapid projects).
/// </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::ScaleAI.Batch> CreateBatchAsync(
Expand All @@ -42,6 +45,7 @@ public partial interface IScaleAIClient
string? callback = default,
bool? calibrationBatch = default,
bool? selfLabelBatch = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Create a new project for organizing tasks and batches.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Project> CreateProjectAsync(

global::ScaleAI.CreateProjectRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a project<br/>
Expand All @@ -40,6 +42,7 @@ public partial interface IScaleAIClient
/// <param name="consensusAttempts">
/// Number of consensus attempts (Studio consensus projects only).
/// </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::ScaleAI.Project> CreateProjectAsync(
Expand All @@ -50,6 +53,7 @@ public partial interface IScaleAIClient
object? @params = default,
global::ScaleAI.CreateProjectRequestPipeline? pipeline = default,
int? consensusAttempts = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,26 @@ public partial interface IScaleAIClient
/// </summary>
/// <param name="projectName"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<string> CreateProjectGroupAsync(
string projectName,

object request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a project group<br/>
/// Create a new group within a Studio project.
/// </summary>
/// <param name="projectName"></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<string> CreateProjectGroupAsync(
string projectName,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Create a new labeling task. Each task represents an individual unit of work for a labeler.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> CreateTaskAsync(

global::ScaleAI.CreateTaskRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a task<br/>
Expand Down Expand Up @@ -52,6 +54,7 @@ public partial interface IScaleAIClient
/// <param name="priority">
/// Task priority.
/// </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::ScaleAI.Task> CreateTaskAsync(
Expand All @@ -66,6 +69,7 @@ public partial interface IScaleAIClient
bool? clearUniqueIdOnError = default,
global::System.Collections.Generic.IList<string>? tags = default,
int? priority = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Create a GenAI text collection task for data collection, RLHF, or evaluation workflows.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> CreateTextCollectionTaskAsync(

global::ScaleAI.CreateTextCollectionTaskRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Create a text collection task<br/>
Expand Down Expand Up @@ -58,6 +60,7 @@ public partial interface IScaleAIClient
/// <param name="tags">
/// Tags for this task.
/// </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::ScaleAI.Task> CreateTextCollectionTaskAsync(
Expand All @@ -74,6 +77,7 @@ public partial interface IScaleAIClient
string? uniqueId = default,
bool? clearUniqueIdOnError = default,
global::System.Collections.Generic.IList<string>? tags = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ public partial interface IScaleAIClient
/// </summary>
/// <param name="taskId"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> DeleteTaskTagsAsync(
string taskId,

global::System.Collections.Generic.IList<string> request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Remove the unique_id from a task.
/// </summary>
/// <param name="taskId"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> DeleteTaskUniqueIdAsync(
string taskId,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Finalize a batch to indicate no more tasks will be added and begin processing.
/// </summary>
/// <param name="batchName"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Batch> FinalizeBatchAsync(
string batchName,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Get details of a specific batch by name.
/// </summary>
/// <param name="batchName"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Batch> GetBatchAsync(
string batchName,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Get the status of a batch with task counts grouped by status.
/// </summary>
/// <param name="batchName"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.BatchStatus2> GetBatchStatusAsync(
string batchName,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Get details of a specific project by name.
/// </summary>
/// <param name="projectName"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Project> GetProjectAsync(
string projectName,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ public partial interface IScaleAIClient
/// Get details of a specific task by ID.
/// </summary>
/// <param name="taskId"></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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.Task> GetTaskAsync(
string taskId,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ public partial interface IScaleAIClient
/// Import a file from a URL for use as task attachments.
/// </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::ScaleAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::ScaleAI.FileUploadResponse> ImportFileAsync(

global::ScaleAI.ImportFileRequest request,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Import a file from URL<br/>
Expand All @@ -25,11 +27,13 @@ public partial interface IScaleAIClient
/// <param name="projectName">
/// Project to associate the file with.
/// </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::ScaleAI.FileUploadResponse> ImportFileAsync(
string fileUrl,
string? projectName = default,
global::ScaleAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Loading