This endpoint retrieves a list of existing metric types, supporting flexible querying and pagination.
Request
Query parameters
| Key | Required | Type | Description |
|---|---|---|---|
| filter | No | string |
ilter the results by specifying one or more filters. Filter 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 Case sensitivity Filter expressions are case-insensitive by default. They can be made case-sensitive by adding the |
| sort | No | string |
Sort the results by a field in ascending or descending order. Specify Example: To first sort by
field1 in ascending order and then by field2 in descending order, combine two sort expressions in the query expression: |
| offset | No | number | The number of records to skip before returning results. |
| limit | No | number | The number of records to return per page. |
| 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. |
Response
Response body properties
| Ancestors | Property | Required | Type | Description |
|---|---|---|---|---|
| data | array(object) | Data envelope for response. | ||
| data | id | No | string |
|
| data | effectiveDate | No | string |
|
| data | shouldRunScoring | No | boolean |
This property may be set to |
| data | workspaceId | No | string | |
| data | name | No | string | |
| data | overridability | No | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data | description | No | string | |
| data | valueType | No | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data | xref | No | array | |
| data | promote | No | boolean |
This property may be set to |
| data | testConfiguration | No | object | |
| data/testConfiguration | engine | Yes | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data/testConfiguration | type | No | string |
|
| data/testConfiguration | conditions | No | array | |
| data/testConfiguration | entrySource | Yes | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data/testConfiguration | testType | No | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data | state | No | string |
This property is an enumerated string type (enum) set to one of these values:
|
| data | createdBy | No | string | |
| data | createdAt | No | string |
|
| data | updatedBy | No | string | |
| data | updatedAt | No | string |
|
Response examples
Example status code responses for this method are shown here.
"data": [
{
"id": "66d1fec8ffd4bd92f11945d6",
"workspaceId": "v9jsnlpmw4vnmnfh",
"name": "blankPercentage",
"overridability": "None",
"valueType": "Percentage",
"promote": "true",
"state": "Active",
"effectiveDate": "2025-08-20T12:26:41.053Z",
"description": "Stores the percentage of blanks for a given asset",
"xref": "ScoreMetric=blankPercentage",
"xref": "{DIS Technical}::=blankPercentage",
"testConfiguration"": {
"engine": "DIS",
"entrySource": "AutoGenerated",
"type": "MetricBasedConfig",
"conditions": [
(totalCount-blankCount)/totalCount
]
}
"createdBy": "template",
"createdAt": "2024-08-30T17:18:00.645Z",
"updatedBy": "template",
"updatedAt": "2025-09-23T10:12:12.361Z"
}
]
"links"": {
"self": "https://api.cloud.precisely.com/metric-types"
}
"value"": {
"statusCode": "400",
"error": "Bad Request",
"message": "Bad Request"
}
"value"": {
"statusCode": "401",
"error": "Unauthorized",
"message": "Authentication required"
}
"value"": {
"statusCode": "404",
"error": "Not Found",
"message": "Resource not found"
}
"value"": {
"statusCode": "429",
"error": "Too Many Requests",
"message": "Rate limit exceeded"
}
"value"": {
"statusCode": "500",
"error": "Internal Server Error",
"message": "An unexpected error occurred"
}
"value"": {
"statusCode": "503",
"error": "Service Unavailable",
"message": "Service temporarily unavailable"
}
"value"": {
"statusCode": "504",
"error": "Gateway Timeout",
"message": "Request timeout"
}