
This is one of those API where you need to "hint" us which type you are talking about. In this example, the correct JSON should look like this:
(Note the "_type" property):
{
"query": {
"_type": "EntityQuery",
"typeName": "WorkItem"
}
}