display metadata for query api