Skip to main content
This section documents the sources data returned by the Google AI Mode endpoint. Sources are part of the AI Mode response — no separate API call is needed.

Example request

{
  "prompt": "best laptops for programming",
  "country": "US"
}
This produces a response containing the sources array documented below.

Overview

AI Mode sources follow the common sources structureposition, url, label, and description — with no AI-Mode-specific fields.

Response example

{
  "success": true,
  "result": {
    "text": "Here are some excellent laptops for programming...",
    "sources": [
      {
        "position": 1,
        "url": "https://example.com/best-laptops-2026",
        "label": "Best laptops for programmers in 2026",
        "description": "A guide to the top laptops for software development this year."
      },
      {
        "position": 2,
        "url": "https://example.com/dev-laptops-review",
        "label": "Developer laptop reviews",
        "description": "In-depth reviews of laptops aimed at software developers."
      }
    ]
  }
}