Foundation Models Tuning Service API, gRPC: TuningService.List
Статья создана
Обновлена 17 декабря 2024 г.
gRPC request
rpc List (ListTuningsRequest) returns (ListTuningsResponse)
ListTuningsRequest
{
"folder_id": "string",
"page_size": "int64",
"page_token": "string",
"status": "Status"
}
Field |
Description |
folder_id |
string Required field. Required field. ID of the folder to list tunings in. |
page_size |
int64 Maximum number of tuning tasks to return per page. |
page_token |
string Token to retrieve the next page of results. |
status |
enum Status
|
ListTuningsResponse
{
"tuning_tasks": [
{
"task_id": "string",
"operation_id": "string",
"status": "Status",
"folder_id": "string",
"created_by": "string",
"created_at": "google.protobuf.Timestamp",
"started_at": "google.protobuf.Timestamp",
"finished_at": "google.protobuf.Timestamp",
"source_model_uri": "string",
"target_model_uri": "string"
}
],
"next_page_token": "string"
}
Field |
Description |
tuning_tasks[] |
List of tuning tasks in the specified folder. |
next_page_token |
string Token to retrieve the next page of results. |
TuningTask
Field |
Description |
task_id |
string |
operation_id |
string |
status |
enum Status
|
folder_id |
string |
created_by |
string |
created_at |
|
started_at |
|
finished_at |
|
source_model_uri |
string |
target_model_uri |
string |