fields in query endpoint