Quick Start
The production API base is https://llmsleuth.com. Use API keys from your dashboard. Local and preview domains should not be used in documentation or customer integrations.
curl https://llmsleuth.com/api/v1/query \
-H "Authorization: Bearer asc_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"query": "What is the best lead scraping tool?",
"providers": ["openai", "anthropic", "gemini"]
}'Authentication
Send your key as a bearer token. Keys start with asc_. Provider API keys stay on the LLM Sleuth server.
Authorization: Bearer asc_your_api_keyRun Query
POST
/api/v1/query| Field | Type | Description |
|---|---|---|
| query | string | The question or research prompt to run. |
| providers | array | Any mix of openai, anthropic, and gemini. xAI can be enabled later when credits are available. |
Providers
| ID | Provider | Search capture |
|---|---|---|
| openai | ChatGPT / OpenAI | Captures Responses API web search calls and source annotations. |
| anthropic | Claude / Anthropic | Captures web_search tool inputs and citations when returned. |
| gemini | Gemini / Google | Captures grounding search queries and grounding chunks when returned. |
Response Shape
The response includes an execution_id. You can open that run later in the dashboard history.
{
"execution_id": "7f79c814-1112-4a94-9bb4-719d5ccf5e98",
"query": "What is the best lead scraping tool?",
"providers": ["openai", "anthropic", "gemini"],
"results": [
{
"provider": "openai",
"label": "ChatGPT / OpenAI",
"ok": true,
"generatedQueries": ["best lead scraping tools 2026"],
"sources": [{ "url": "https://example.com/source" }],
"sourcePreviews": [
{
"url": "https://example.com/source",
"fetchStatus": 200,
"headings": [{ "level": 1, "text": "Best Lead Tools" }]
}
],
"answer": "Markdown answer text..."
}
]
}Errors
| Field | Type | Description |
|---|---|---|
| 401 | auth | Missing or invalid API key. |
| 402 | credits | Not enough credits for the selected provider count. |
| 400 | input | Invalid JSON, missing query, or no valid providers selected. |
| 500 | server | Provider or persistence failure. |
Each selected provider costs one credit. A three-provider comparison uses three credits.
Try it visually first
The search lab uses the same provider runner and stores executions for history.