How to get a Count of Accounts in a Source?

Hi all,

I know to obtain data from a specific source I should be using

https://{tenant}.api.identitynow.com/v3/accounts?filters=sourceId eq “2c9180867b0780c7017b0c3656ca4f9a”

But how can I obtain a total count of rows within the Source ID itself? Surely there must be a way as aggregation and UI shows the count on the front end partially. Just curious if there is a way to obtain a total rows count of the data?

Add count as a parameter.

https://{tenant}.api.identitynow.com/v3/accounts?filters=sourceId eq “2c9180867b0780c7017b0c3656ca4f9a”&count=true

2 Likes

Thanks! I had no idea that the value of the data appeared under the Headers section. I was looking and expecting the data to show in the body.