Number of Accounts per Source

Hello ,
I am trying to pull the number of accounts I have per source in ISC.
I have tried many different things but dont seem to get correct results.
The API calls seem to return different numbers from what I see in the Source in ISC UI.

For example on AD I have around 148k accounts and the API count returns 103k

{{baseUrl}}/accounts?count=true&filters=sourceId eq “xxxxxx”
image

From my experience the API only returns correlated accounts. If you want both sets of accounts you will need to use a filter. As you can see below my results.

filters=sourceId eq "XXXXXXX" and (uncorrelated eq true or uncorrelated eq false)&count=true

{06123531-AAF7-4B87-83CE-BA353BE2004E}

2 Likes