Back to Blog
APIAutomation

API Workflows for Comparing LLM Search Results

How to run one query across providers and store the results for audits, dashboards, and client reports.

Article

Author: LLM Sleuth

Published: Jun 12, 2026

Read time: 4 min read

The LLM Sleuth API gives you a clean way to run one query across multiple AI providers and get a normalized response back.

That matters when you are building:

  • AI visibility reports
  • content research tools
  • source quality audits
  • SEO and GEO workflows
  • internal QA dashboards

Basic Request

Send a query and the providers you want to compare:

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"]
  }'

What Comes Back

Each provider result includes the answer text, generated search queries when exposed by that API, source URLs, source previews, and extracted page evidence.

The most useful fields are:

FieldWhy it matters
generatedQueriesShows what the model searched.
sourcesShows what the model cited or found.
sourcePreviewsShows fetched page details, headings, schema, and text samples.
answerShows the final model response.

Store Executions

Every API run creates an execution row. That gives you a persistent audit trail so you can open a past query later and see the exact results again.