I am using the ArcGIS python API as I would like to count items in my agol that are marked as authoritative. I have been able to search by owner and type but I cannot get the contentStatus search term to work at all. I have read the documentation over and over and I just can't figure out what is wrong.
auth_items = gis.content.search(query='contentStatus:public_authoritative', max_items=100)
auth_no = len(auth_items)
print(auth_no)
Thanks!