Get aggregated model counts

get/models/summary

Returns aggregated model counts grouped by the specified field. This endpoint is used to retrieve summary statistics about models without fetching full model details.

Request Samples

Response Samples

1[
2 {
3 "category": "published",
4 "count": 15
5 },
6 {
7 "category": "unpublished",
8 "count": 42
9 }
10]

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the models before aggregation. For more information, see Filtering in REST APIs.

groupBy
string
true

The field to group the model counts by. Supported values are publishStatus, scoreCodeType, and destinationName.

Allowed values:
publishStatusscoreCodeTypedestinationName

Responses

StatusMeaningDescription
200OK

The request succeeded. An array of summary items was returned.

HeadersSchema
400Bad Request

The request was invalid. The groupBy parameter is missing or contains an unsupported value.

Schema