Make api queryable