GET List Searches
Your 20 most recent AI Visibility runs
GET
https://api.anakin.io/v1/ai-visibility/searchesLists your most recent searches with per-source statuses and total credit cost. Because searches run asynchronously, this endpoint is how you recover results for runs that finished after your client disconnected.
Response
200 OK{
"searches": [
{
"search_id": "3d9db7ff-6ea3-4107-88ce-7f39ecf48a84",
"query": "Best coding agents in 2026",
"status": "completed",
"created_at": "2026-07-15 12:00:00+00",
"credits_used": 3,
"sources": [
{ "source": "chatgpt", "status": "completed" },
{ "source": "gemini", "status": "completed" },
{ "source": "google-ai-overview", "status": "completed" }
]
}
]
}Returns your 20 most recent searches. Fetch full results per run via GET /v1/ai-visibility/search/{id}.
Code Examples
curl https://api.anakin.io/v1/ai-visibility/searches \
-H "X-API-Key: your_api_key"import requests
searches = requests.get(
"https://api.anakin.io/v1/ai-visibility/searches",
headers={"X-API-Key": "your_api_key"},
).json()["searches"]const { searches } = await (
await fetch("https://api.anakin.io/v1/ai-visibility/searches", {
headers: { "X-API-Key": "your_api_key" },
})
).json();