There is currently one version of the query API supported, version 1. Please see that page for full details.