add /query

to get type, args, and port by id