Where to get API "query" schema specification?

Mind opening an issue for this. They should work the same (and we should probably also set all the appropriate headers).