Stay organized with collections Save and categorize content based on your preferences.

Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections.

HTTP request

GET https://{endpoint}/v2beta1/{parent=projects/*/locations/*}/agent:search

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters



Required. The project to list agents from. Format: projects/<Project ID or '-'> or projects/<Project ID or '-'>/locations/<Location ID>.

Authorization requires the following IAM permission on the specified resource parent:


Query parameters



Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.



Optional. The nextPageToken value returned from a previous list request.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of SearchAgentsResponse.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.