Skip to main content
Gathering Interest

Need way to get count of instances in Cognite SDK

Related products:API and SDKsData Modeling
  • June 4, 2025
  • 1 reply
  • 18 views

Forum|alt.badge.img+1

I am using Cognite SDK where I need to count instances present in a given View. I can list all instances but thats heavy response and might be heavy execution backend side as well. I need only total count of instances which if run on cognite side and return in numbers may be lighter and quick as well. It would be good if I can apply some filters as well and get respective count.

1 reply

  • Practitioner
  • January 27, 2026

Hi ​@Khilesh Sahu, this should be possible. Have you tried using the aggregates endpoint in the SDK/API to count?