Search metrics
Search for metrics that match the given filters and contain the given query in its name. Only the top 50 results will be returned. The results will be sorted by the relevance of the search query.
Permissions
This endpoint may be impacted by the following permissions:
- Only metrics that the authenticated user has Metric:GetMetric permission for will be retrieved.
Request
- Base URLhttps://api.amigo.ai
- AuthHTTP bearer and API key in header X-ORG-ID and HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
The query to search for. Any metrics containing the terms in its name would be returned.
The IDs of the services that the metric is applied to.
The types of the metrics.
The creators of the metrics. Each value must be of the format org_id,user_id.
The tags of the metrics. Must be specified using the syntax key:value, which means to match all metrics with the given key and value pair among its tags. If value is *, it means the value does not matter. If value is empty, it matches against when the value is None.
Headers
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Response
Succeeded.
Changes
No operation changes recorded.