List queries
Lists your queries in reverse chronological order. Useful for recovering a lost query_id or checking pending queries in bulk. Pass next as before to fetch the next page.
Requires an API key in the Authorization header. Try it below
Query parameters
limitintegeroptionalResults per page. Default 50, max 200.
beforestringoptionalReturn items older than this ID; pass next from the previous page.
Example request
curl "https://geo-api.geoeval.com/v1/queries?limit=20" \ -H "Authorization: Bearer $GEOEVAL_API_KEY"const response = await fetch(`https://geo-api.geoeval.com/v1/queries?limit=20`, { headers: { Authorization: `Bearer ${process.env.GEOEVAL_API_KEY}`, },});const data = (await response.json()) as Record<string, unknown>;if (!response.ok) throw new Error(`${data.code}: ${data.message}`);console.log(data);import os
import requests
response = requests.get( "https://geo-api.geoeval.com/v1/queries?limit=20", headers={ "Authorization": f"Bearer {os.environ['GEOEVAL_API_KEY']}", }, timeout=30,)response.raise_for_status()print(response.json())Response 200
queriesobject[]Queries across all your API keys, newest first. Excludes tasks and results.
Fields of queries
query_idstringQuery ID.
api_key_idstringID of the API key that submitted the query.
querystringSubmitted question.
appsstring[]Target apps.
statusstringStarts as pending, then transitions permanently to completed (all tasks reached done, failed, or unavailable), timeout (deadline passed first), or failed (could not be queued; see error).
errorstring | nullFailure reason when status is failed.
created_atinteger (ms)When the query was accepted.
finished_atinteger (ms) | nullWhen the query left pending.
credits_heldnumberCredits reserved while the query is pending. Resets to 0 once finalized.
credits_chargednumber | nullTotal credits billed. null while pending; only done tasks are charged.
nextstring | nullCursor for the next page; pass as the before parameter. null on the last page.
Example response
{ "queries": [ { "query_id": "01a22524-9c1e-7a3b-8f21-6b0d4c9e1a27", "api_key_id": "01a22524-6869-7d2d-bdab-b3a29b49ccc2", "query": "Which robot vacuum is the best choice in 2026?", "apps": [ "doubao" ], "status": "completed", "error": null, "created_at": 1798000000000, "finished_at": 1798000095000, "credits_held": 0, "credits_charged": 3 } ], "next": null}Errors
All endpoints may also return 400, 401, 403, or 500. See Errors.