cloro WebsiteAPI Get an API key
API Reference › AI Mode › Sources

Sources

The reference list that Google AI Mode attaches to a generated answer, naming every page the model drew on to produce its response.

Overview

Sources are not fetched through a dedicated call. They travel inside the standard Google AI Mode extraction response, so once you submit a prompt to that endpoint the sources array arrives alongside the answer text. Each entry pins a single cited web page and its position in the citation order.

AI Mode sources use the same shape that cloro applies across every AI answer surface — a position index, a destination URL, a human-readable label, and a short description. There are no fields unique to AI Mode here, which keeps parsing identical whether you consume Google, Perplexity, or Copilot output.

Example request

The sources block is produced by the same request that generates the answer:

{
  "prompt": "best laptops for programming",
  "country": "US"
}

Fields

FieldTypeDescription
positionintegerOne-based rank of the citation in the order the model referenced it.
urlstringAbsolute link to the cited web page.
labelstringDisplay title shown for the citation, typically the page or article headline.
descriptionstringBrief summary of the referenced page's content, when available.

Response example

{
  "success": true,
  "result": {
    "text": "Here are several laptops well suited to programming...",
    "markdown": "Here are several laptops well suited to programming...[Best laptops for programmers in 2026](https://example.com/best-laptops-2026)[Developer laptop reviews](https://example.com/dev-laptops-review)",
    "sources": [
      {
        "position": 1,
        "url": "https://example.com/best-laptops-2026",
        "label": "Best laptops for programmers in 2026",
        "description": "An overview of the strongest development laptops released this year."
      },
      {
        "position": 2,
        "url": "https://example.com/dev-laptops-review",
        "label": "Developer laptop reviews",
        "description": "Hands-on reviews of machines built for software work."
      }
    ]
  }
}

Notes

The sources array may be empty when AI Mode answers without citing external pages. Order the list by position if you plan to render citations, and treat description as optional since some pages return no summary. Questions about parsing this payload can go to [email protected].