- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Lists all Agent
s under an Assistant
which were created by the caller.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*}/agents
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name. Format: |
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Maximum number of |
pageToken |
Optional. A page token When paginating, all other parameters provided to |
orderBy |
Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:
Example:
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListAgentsResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
discoveryengine.agents.list
For more information, see the IAM documentation.