add options to agent queries
make 10000 the maximum limit, well, limit
add in subscription endpoint for principals