Returns a AgentView for a given Agent, which contains additional information about the Agent.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/agents/*}:getAgentView
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the Agent to get. Format: |
Query parameters
| Parameters | |
|---|---|
languageCode |
Optional. The UI language currently shown to the user. Specifying this field request that the texts in the |
maxSuggestedPrompts |
Optional. The maximum number of suggested prompts to return per agent. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of GetAgentViewResponse.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.