Get existing metric instances.
This API endpoint retrieves existing metric instances, allowing for flexible querying and pagination.
Request
Query parameters
| Key | Required | Type | Description |
|---|---|---|---|
| filter | Yes | string | Filter the results by specifying one or more filters. field:operator(value):indexFilter operators:
By default, multiple filter expressions are combined in an AND expression. Filter expressions can be grouped by appending the optional group For example, these filter expressions are in two different groups (0 and 1), so the combined expressions return results where Filter expressions are case insensitive by default. |
| sort | No | string |
Sort the results by a field in ascending or descending order. asc(field) or desc(field) Specify Example: To first sort by
field1 in ascending order and then by field2 in descending order, use two sort expressions: |
| offset | No | number |
The number of records to skip before returning results. The minimum is |
| limit | No | number |
The number of records to return per page. The minimum is |
| includeTotal | No | boolean |
Return a count of the total number of records that match the specified filter expression regardless of the number of number of records returned in the response page.
The count is returned by the total property in the response body. If the totalOverflow property is set to true in the response body, then the total count is an estimate that may exceed the actual number of records returned by the search. |
| search | No | boolean |
Use search engine to perform the filter operation.
The search engine:
When
search is not set to true, the total count may be limited to 10,000 results with totalOverflow in the result body set to true to indicate that the total count is an estimate and may exceed the returned total.Note: In rare cases, the
search=true parameter setting may not return recently created or updated records. |
Response
The successful response returns the collection of metric instances that match the filter criteria.
Response body
Example status code responses for this method are shown here. To view the response schemas, you can download the Data Catalog APIs Open API Specification from the Precisely Developer Portal..
{
"data": [
{
"id": "F73e4c71389Cd45b5f1c0cfD",
"assetId": "f2BAECdcDa1C513adCBedD8E",
"effectiveDate": "2025-08-12T09:53:16.968Z",
"value": "1.0",
"correlationId": "bb62b735-b8c7-4172-b229-b2445603c838",
"tags": [
"QDoy4K9FnNQV02iZgubO9cYjHoh3c_ChnuQm5dz:poiYR0bw39h1L:L3S_I91jRVS3poaXz5CtT:TpSd"
],
"metricTypeId": "ae086abEE8a19DBEdcF8eFAa",
"metricGroupId": "2966A89D9e6cEF598a884d2C",
"ruleId": "a09C3BAbE35Fe58515da1fdD",
"parentAssetId": "54eF5540254df4fDEd08AcCc"
}
],
"links": {
"self": "https://api.cloud.precisely.com/metric-instances"
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "Bad Request"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Authentication required"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found"
}{
"statusCode": 429,
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}{
"statusCode": 500,
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}{
"statusCode": 503,
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}{
"statusCode": 504,
"error": "Gateway Timeout",
"message": "Request timeout"
}