Skip to content

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.

GEThttps://geo-api.geoeval.com/v1/queries

Requires an API key in the Authorization header. Try it below

Query parameters

  • limitintegeroptional

    Results per page. Default 50, max 200.

  • beforestringoptional

    Return 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"

Response 200

  • queriesobject[]

    Queries across all your API keys, newest first. Excludes tasks and results.

    Fields of queries
    • query_idstring

      Query ID.

    • api_key_idstring

      ID of the API key that submitted the query.

    • querystring

      Submitted question.

    • appsstring[]

      Target apps.

    • statusstring

      Starts 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 | null

      Failure reason when status is failed.

    • created_atinteger (ms)

      When the query was accepted.

    • finished_atinteger (ms) | null

      When the query left pending.

    • credits_heldnumber

      Credits reserved while the query is pending. Resets to 0 once finalized.

    • credits_chargednumber | null

      Total credits billed. null while pending; only done tasks are charged.

  • nextstring | null

    Cursor 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.