Skip to main content
Analytics requests separate input selection from output shaping.
  • scope defines which entities enter the analytic.
  • result_filter shapes the rows returned after the analytic runs.
For route selection, see Choosing a route. For metric and rating_scale, see Metrics and scales.

Scope

scope is evaluated before the endpoint computes its result.
Use scope.portfolio when you already know the entities.
{
  "scope": {
    "portfolio": {
      "CB_ID": ["CB0000022706", "CB0000022177"]
    }
  }
}
Custom portfolio columns can be used as facet_column values where the endpoint supports facets.

Result filter

result_filter does not change the input universe. It only filters, sorts, or limits computed output rows.
MechanismApplies to
scope.filtersEntities before the analytic runs
result_filter.filtersRows after the analytic runs
result_filter.sortRow order in the response
result_filter.limitMaximum rows returned
Use scope to decide what goes in. Use result_filter to decide what comes back.

MyRating coverage

With metric: "CCR", the analytic uses scoped entities that have consensus data. With metric: "MyRating", the analytic uses only the part of your scope where your bank has submitted ratings for the requested date window. In other words, selecting MyRating can reduce the universe from “everything you requested” to “the requested entities your bank has rated.” If your bank has not rated any entities in the requested scope, the API returns an empty success response rather than an error.
Requested scopeYour bank’s coverageMyRating uses
3 entities3 rated entities3 entities
3 entities2 rated entities2 entities
3 entities0 rated entitiesEmpty success response
For aggregate-style MyRating routes, ex-me fields are calculated for that same covered subset. They are not a full-scope benchmark for entities your bank does not rate. Do not compare AGG_EntityCount from CCR responses with AGG_ClientEntityCount from MyRating responses as if they share the same denominator.

Empty response by route

RouteEmpty success response
getdata{} or empty column arrays
aggregatetrend{}
creditbreakdown{}
entityratingchange{}
ratingdistribution with metric: "CCR"{"ccr": {}}
ratingdistribution with metric: "MyRating"{"my_bank": {}, "ex_me": {}}
Last modified on June 22, 2026