Talk Analytics API, gRPC: AssistantsService.List
Статья создана
Обновлена 26 сентября 2025 г.
Rpc for listing assistants in a project
gRPC request
rpc List (ListAssistantsRequest) returns (ListAssistantsResponse)
ListAssistantsRequest
{
"project_id": "string"
}
|
Field |
Description |
|
project_id |
string Project id |
ListAssistantsResponse
{
"assistants": [
{
"id": "string",
"project_id": "string",
"model_id": "string",
"name": "string",
"description": "string",
"prompt": "string",
"fields": [
{
"id": "string",
"name": "string",
"description": "string",
"type": "AssistantFieldType"
}
],
"enabled": "bool",
"labels": "map<string, string>",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"modified_by": "string"
}
]
}
|
Field |
Description |
|
assistants[] |
Assistants belonging to the given project |
Assistant
|
Field |
Description |
|
id |
string Assistant id |
|
project_id |
string Project id |
|
model_id |
string Model id |
|
name |
string Assistant name |
|
description |
string Assistant description |
|
prompt |
string Prompt |
|
fields[] |
Fields that will be set after assistant processing |
|
enabled |
bool |
|
labels |
object (map<string, string>) Billing labels |
|
created_at |
|
|
created_by |
string Subject id |
|
modified_at |
|
|
modified_by |
string Subject id |
AssistantField
|
Field |
Description |
|
id |
string Field id |
|
name |
string Field name |
|
description |
string Field description |
|
type |
enum AssistantFieldType Field type
|