GET Search

Poll a search for status and per-source results

GEThttps://api.anakin.io/v1/ai-visibility/search/{id}

Returns the search's status and every per-source result persisted so far. While status is running, results appear incrementally as each engine answers — poll every 2–5 seconds until completed.

This endpoint is also the result_url target of the ai.search.completed / ai.search.failed webhook events. Deliveries inline only bounded per-source previews — the full answers live here, so webhook receivers should GET this URL with their API key after each event.


Response

200 OK
{
  "search_id": "3d9db7ff-6ea3-4107-88ce-7f39ecf48a84",
  "status": "completed",
  "country": "us",
  "results": [
    {
      "source": "chatgpt",
      "status": "completed",
      "summary": "As of July 2026, these are widely regarded as…",
      "full_content": "{\"prompt\":\"\",\"answer_text\":\"\"}",
      "latency_ms": 9100,
      "credits_used": 1
    },
    {
      "source": "gemini",
      "status": "failed",
      "error": "Timed out waiting for the source to answer"
    }
  ]
}

Response Fields

FieldTypeDescription
statusstringrunningcompleted, or failed when every source fails (a search still settles as completed when only some sources fail). Runs stuck past 10 minutes are marked failed automatically
countrystringSearch geography the run executed from (set at submit; retries reuse it)
synthesisstringOptional — cross-source agreement/divergence summary. Generated automatically once at least two sources complete; omitted for single-source runs
results[].sourcestringSource slug
results[].statusstringcompleted, failed, or timed_out (the engine didn't answer within the run window — retrying a timed-out source reconciles the original job before re-billing)
results[].summarystringExtracted answer summary
results[].full_contentstringThe engine's raw response payload (JSON string)
results[].latency_msnumberMeasured engine execution time
results[].verdictstringOptional — AI-assessed consensus or outlier, set by the same automatic synthesis pass (absent for single-source runs)
results[].credits_usednumberCredits billed for this source (0 when failed)
results[].errorstringFailure reason, when status is failed

Code Examples

curl https://api.anakin.io/v1/ai-visibility/search/3d9db7ff-6ea3-4107-88ce-7f39ecf48a84 \
  -H "X-API-Key: your_api_key"