- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- SearchType
- Try it!
Custom deep-search method to filter by frontmatter or query SKILL.md text blobs.
HTTP request
GET https://agentregistry.googleapis.com/v1alpha/{parent=projects/*/locations/*}/skills:search
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Parent value for SearchSkillsRequest. Format: |
Query parameters
| Parameters | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
searchType |
Optional. The type of search. |
|||||||||||||||||||||||||||||||||||||||||||||
searchString |
Optional. Search criteria used to select the Skills to return. If no search criteria is specified then all accessible Skills will be returned. Search expressions can be used to restrict results based upon searchable fields, where the operators can be used along with the suffix wildcard symbol Allowed operators: Searchable fields:
Examples:
|
|||||||||||||||||||||||||||||||||||||||||||||
filter |
Optional. Use this field to specify additional filter criteria on search results. Filter expressions can be used to restrict results based upon filterable fields, where equality operators can be used. See instructions for more details. Allowed operators:
Examples:
|
|||||||||||||||||||||||||||||||||||||||||||||
pageSize |
Optional. The maximum number of search results to return per page. The page size is capped at |
|||||||||||||||||||||||||||||||||||||||||||||
pageToken |
Optional. If present, retrieve the next batch of results from the preceding call to this method. |
|||||||||||||||||||||||||||||||||||||||||||||
Request body
The request body must be empty.
Response body
Response listing searched Skills.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"skills": [
{
object ( |
| Fields | |
|---|---|
skills[] |
Matched Skills list. |
nextPageToken |
Query page offset continuation token. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-platform.read-onlyhttps://www.googleapis.com/auth/agentregistry.read-writehttps://www.googleapis.com/auth/agentregistry.read-only
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
agentregistry.skills.search
For more information, see the IAM documentation.
SearchType
The type of search to perform. Additional search types may be supported in the future.
| Enums | |
|---|---|
SEARCH_TYPE_UNSPECIFIED |
Invalid search type. |
KEYWORD |
Search for a keyword across all searchable fields. |
SEMANTIC |
Search based on the meaning and intent of a natural language query. |