Skip to content

Get a query

Returns a query’s current status and per-app results. Any API key on your account can read any of your queries, and each call returns freshly signed recording URLs. See Result object for the full result schema.

GEThttps://geo-api.geoeval.com/v1/queries/{query_id}

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

Path parameters

  • query_idstringrequired

    query_id returned when the query was submitted.

Example request

curl "https://geo-api.geoeval.com/v1/queries/$QUERY_ID" \
-H "Authorization: Bearer $GEOEVAL_API_KEY"

Response 200

  • query_idstring

    Query ID used to fetch status and results.

  • querystring

    Submitted question with leading and trailing whitespace trimmed.

  • appsstring[]

    Deduplicated list of 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.

  • updated_atinteger (ms)

    Last update timestamp.

  • deadline_atinteger (ms) | null

    Cutoff timestamp when unfinished tasks time out, roughly 6 hours after submission. null until queued.

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

  • callbackobject

    Callback delivery status.

    Fields of callback
    • urlstring | null

      callback_url provided on submission.

    • statusstring

      none (no callback_url provided), pending, sent, or failed (delivery abandoned).

    • attemptsinteger

      Number of delivery attempts made.

    • sent_atinteger (ms) | null

      When the callback was delivered.

    • errorstring | null

      Failure reason from the latest attempt.

  • tasksobject[]

    One task per target app. May be empty immediately after submission while the query is being queued.

    Fields of tasks
    • task_idstring

      Task ID.

    • appstring

      Target app for this task.

    • statusstring

      Lifecycle states: queued, running, uploaded, parsing, ending in done, failed, or unavailable.

    • errorstring | null

      Human-readable reason when status is failed or unavailable. Free-form text; do not parse or match on it.

    • resultobject | null

      Answer payload. null until status is done.

      Fields of result
      • schema_versioninteger

        Result schema version. Currently 4.

      • task_idstring

        Matches tasks[].task_id.

      • query_idstring

        Matches the parent query_id.

      • appstring

        Answering app.

      • querystring

        Question sent to the app.

      • answer_markdownstring

        Full answer in Markdown. Never empty.

      • reasoningstring | null

        Reasoning text shown before the answer, or null if not shown or unavailable.

      • citationsobject[] | null

        Sources cited by the app, in display order. [] means none were cited; null means unavailable.

        Fields of citations
        • positioninteger

          1-based index in the app's source list, unique per result.

        • urlstring

          Absolute http(s) URL of the source, returned verbatim.

        • titlestring | null

          Page title displayed by the app.

        • site_namestring | null

          Publisher name displayed by the app, or null if not shown.

        • domainstring

          Lowercase source hostname without port. Retains subdomains, including www.

        • snippetstring | null

          Page snippet displayed by the app.

        • cited_in_answerboolean | null

          true if referenced inline in the answer; false if listed only in sources; null if indistinguishable for this app.

      • productsobject[] | null

        Product cards shown with the answer, in display order. Uses the same [] and null semantics as citations.

        Fields of products
        • product_idstring | null

          Product ID assigned by the shopping platform.

        • namestring

          Product name shown on the card.

        • brandstring | null

          Brand name.

        • urlstring | null

          Destination link of the card. May be an app deep link rather than an http(s) URL.

        • image_urlstring | null

          Product image URL.

        • storestring | null

          Store selling the product.

        • price_textstring | null

          Raw price text shown on the card. Returned as a string because values may be masked or ranges.

        • ratingnumber | null

          Rating shown on the card.

        • review_countinteger | null

          Review count shown on the card.

        • descriptionstring | null

          Additional card text, such as the full listing title.

      • suggested_followupsstring[] | null

        Follow-up questions suggested by the app. Uses the same [] and null semantics as citations.

      • capture_channelstring

        Result channel: share (all fields) or copy (answer text only; reasoning, citations, products, and suggested_followups are null). network and a11y are reserved.

      • started_atinteger (ms) | null

        When the app started processing the task.

      • finished_atinteger (ms) | null

        When the app finished responding.

    • videoobject | null

      Screen recording, available only for done tasks and retained for 30 days.

      Fields of video
      • urlstring

        Signed download URL for the MP4 screen recording. Expires at expires_at; fetch the query again for a fresh URL.

      • poster_urlstring | null

        540 px wide JPEG of the recording's first frame.

      • expires_atinteger (ms)

        Expiration timestamp for both URLs, roughly 1 hour after the read.

      • size_bytesinteger | null

        Video file size in bytes.

    • created_atinteger (ms)

      Task creation timestamp.

    • updated_atinteger (ms)

      Last update timestamp.

    • started_atinteger (ms) | null

      When execution started.

    • finished_atinteger (ms) | null

      When execution finished.

    • parsed_atinteger (ms) | null

      When result parsing completed.

Example response

{
"query_id": "01a22524-9c1e-7a3b-8f21-6b0d4c9e1a27",
"query": "Which robot vacuum is the best choice in 2026?",
"apps": [
"doubao"
],
"status": "completed",
"error": null,
"created_at": 1798000000000,
"updated_at": 1798000095000,
"deadline_at": 1798021600000,
"finished_at": 1798000095000,
"credits_held": 0,
"credits_charged": 3,
"callback": {
"url": null,
"status": "none",
"attempts": 0,
"sent_at": null,
"error": null
},
"tasks": [
{
"task_id": "01a22524-9c41-7c55-9d02-1f7a3b8e5c90",
"app": "doubao",
"status": "done",
"error": null,
"result": {
"schema_version": 4,
"task_id": "01a22524-9c41-7c55-9d02-1f7a3b8e5c90",
"query_id": "01a22524-9c1e-7a3b-8f21-6b0d4c9e1a27",
"app": "doubao",
"query": "Which robot vacuum is the best choice in 2026?",
"answer_markdown": "## Short answer\n\nFor most homes ...",
"reasoning": null,
"citations": [
{
"position": 1,
"url": "https://www.example.com/robot-vacuum-review",
"title": "Robot vacuum review",
"site_name": "Example Reviews",
"domain": "www.example.com",
"snippet": "We tested 12 models ...",
"cited_in_answer": null
}
],
"products": [],
"suggested_followups": [
"Which one is best for pet hair?"
],
"capture_channel": "share",
"started_at": 1798000021000,
"finished_at": 1798000063000
},
"video": {
"url": "https://geoeval.example/tasks/.../video.mp4?Expires=...",
"poster_url": "https://geoeval.example/tasks/.../video.mp4?x-oss-process=...",
"expires_at": 1798003695000,
"size_bytes": 1843200
},
"created_at": 1798000000000,
"updated_at": 1798000095000,
"started_at": 1798000021000,
"finished_at": 1798000063000,
"parsed_at": 1798000094000
}
]
}

Errors

StatuscodeDescription
404query_not_foundQuery not found under your account.
429rate_limitedRead rate limit exceeded for this key (300 per minute).
503upstream_unavailableResult temporarily unavailable. Retry shortly.

All endpoints may also return 400, 401, 403, or 500. See Errors.