Skip to main content
Back to Engine Matrix
LivexAI · engine="grok"

Grok API

Evaluates how Grok surfaces brands, breaking events, and web sources in its live consumer UI, mapped cleanly into GeoEval's unified response envelope.

Key Capabilities

  • Captures real-time web & social-indexed citations in Grok consumer UI
  • Unified search_queries[] and reference_links[] structure
  • Supports optional Dedicated Account Pool isolation for high-volume Enterprise runs

Request Parameters

ParamDefaultDescription
engine*"grok"Target engine identifier ("grok").
prompt*—Evaluation query for Grok live search.
country"us"ISO 3166-1 alpha-2 country exit.
web_searchtrueEnable live web & news grounding.

Canonical Response Sample (JSON)

                  
                    {
  "request_id": "req_01JXYZ9A8B7C6D5E4F",
  "status": "success",
  "collected_at": "2026-11-25T07:15:32Z",
  "timing": {
    "request_ms": 6420,
    "parse_ms": 18,
    "total_ms": 6438
  },
  "billing": {
    "credits_charged": 7,
    "credits_remaining": 4993,
    "mode": "sync"
  },
  "execution_policy": {
    "cache_used": false,
    "memory_enabled": false,
    "session_reused": false,
    "auth_mode": "anonymous",
    "web_search_requested": true,
    "is_web_search_performed": true
  },
  "client_context": {
    "engine": "grok",
    "model_detected": "grok-3-web",
    "surface": "web",
    "device_type": "desktop_web",
    "app_version": null,
    "country": "us",
    "language": "en"
  },
  "input": {
    "prompt": "What are the best serverless Postgres databases for production AI applications in 2026?"
  },
  "result": {
    "answer_markdown": "For production AI workloads in 2026, three serverless Postgres platforms lead on scale-to-zero latency and pgvector support: **Neon** stands out for instant database branching and autoscaling compute [1], **Supabase** pairs managed Postgres with built-in pgvector indexing, auth, and edge functions [2], and **Aurora Serverless v2** remains the default choice for AWS-native compliance workloads [3].",
    "text_blocks": [
      {
        "type": "paragraph",
        "text": "Neon separates storage and compute for sub-second cold starts and instant CI preview branches, making it popular for agentic workflows and per-tenant isolation.",
        "reference_indexes": [
          0
        ]
      },
      {
        "type": "paragraph",
        "text": "Supabase offers an integrated developer stack around Postgres with pgvector HNSW indexes, row-level security, and real-time subscriptions.",
        "reference_indexes": [
          1
        ]
      },
      {
        "type": "paragraph",
        "text": "Amazon Aurora Serverless v2 delivers fine-grained ACU scaling and enterprise VPC/SOC2 controls for large regulated deployments.",
        "reference_indexes": [
          2
        ]
      }
    ],
    "is_truncated": false,
    "search_queries": [
      "best serverless postgres databases 2026 pgvector",
      "Neon vs Supabase vs Aurora Serverless v2 AI workloads benchmarks",
      "serverless postgres cold start latency production comparison"
    ],
    "web_results": [
      {
        "position": 1,
        "ref_id": "turn0search0",
        "title": "Neon Serverless Postgres — Autoscaling & Branching Architecture",
        "url": "https://neon.tech/docs/introduction/architecture-overview",
        "domain": "neon.tech",
        "snippet": "Neon separates storage and compute to provide instant branching, scale-to-zero, and pgvector support."
      },
      {
        "position": 2,
        "ref_id": "turn0search1",
        "title": "Supabase Vector & AI — Managed Postgres with pgvector",
        "url": "https://supabase.com/modules/vector",
        "domain": "supabase.com",
        "snippet": "Store embeddings alongside relational data using pgvector HNSW indexes and Supabase Edge Functions."
      },
      {
        "position": 3,
        "ref_id": "turn0search2",
        "title": "Amazon Aurora Serverless v2 Scaling and Vector Support",
        "url": "https://aws.amazon.com/rds/aurora/serverless/",
        "domain": "aws.amazon.com",
        "snippet": "Instant scaling in fine-grained increments with full PostgreSQL compatibility and AWS compliance."
      },
      {
        "position": 4,
        "ref_id": "turn0search3",
        "title": "2026 Postgres Benchmarks: Cold Starts & HNSW Recall",
        "url": "https://db-benchmarks.org/postgres-serverless-2026",
        "domain": "db-benchmarks.org",
        "snippet": "Independent throughput and recall comparison across managed serverless Postgres providers (retrieved, not cited)."
      }
    ],
    "reference_links": [
      {
        "index": 0,
        "ref_id": "turn0search0",
        "title": "Neon Serverless Postgres — Autoscaling & Branching Architecture",
        "url": "https://neon.tech/docs/introduction/architecture-overview",
        "domain": "neon.tech",
        "source_name": "Neon Docs",
        "snippet": "Neon separates storage and compute to provide instant branching and autoscaling."
      },
      {
        "index": 1,
        "ref_id": "turn0search1",
        "title": "Supabase Vector & AI — Managed Postgres with pgvector",
        "url": "https://supabase.com/modules/vector",
        "domain": "supabase.com",
        "source_name": "Supabase",
        "snippet": "Managed Postgres with pgvector HNSW indexing and integrated Auth/Edge Functions."
      },
      {
        "index": 2,
        "ref_id": "turn0search2",
        "title": "Amazon Aurora Serverless v2 Scaling and Vector Support",
        "url": "https://aws.amazon.com/rds/aurora/serverless/",
        "domain": "aws.amazon.com",
        "source_name": "AWS Documentation",
        "snippet": "Fine-grained ACU autoscaling for enterprise AWS deployments."
      }
    ],
    "citations": [
      {
        "char_offset": 162,
        "source_indexes": [
          0
        ]
      },
      {
        "char_offset": 259,
        "source_indexes": [
          1
        ]
      },
      {
        "char_offset": 347,
        "source_indexes": [
          2
        ]
      }
    ]
  },
  "evidence": {
    "raw_html_url": "https://evidence.geoeval.com/v1/req_01JXYZ9A8B7C6D5E4F/raw.html?sig=7f9a2c4e",
    "screenshot_url": null,
    "expires_at": "2026-12-02T07:15:32Z"
  }
}