Skip to main content
POST
https://api.evergreens.ai
/
tedi
/
networks
/
browser
/
ai
/
ai-mode
{
  "prompt": "What is machine learning?",
  "countryCode": "at",
  "languageCode": "de",
  "fields": {
    "citations": ["url", "title", "description", "icon", "domain"],
    "sources": ["url", "title", "snippet", "rank", "datePublished"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title", "description", "icon", "domain"]
    }
  },
  "cache": {
    "enabled": true,
    "ttl": 7200
  }
}
{
  "status": true,
  "data": {
    "text": "Die Evergreen Media AR GmbH ist ein internationales Beratungsunternehmen für digitales Wachstum...",
    "markdown": "Die **Evergreen Media AR GmbH** ist ein internationales Beratungsunternehmen für digitales Wachstum...",
    "model": "gemini-2.0",
    "sources": [
      {
        "url": "https://firmen.wko.at/evergreen-media-ar-gmbh/tirol/",
        "title": "Evergreen Media AR GmbH - WKO Firmen A-Z",
        "snippet": "Evergreen Media ist ein internationales Beratungsunternehmen für digitales Wachstum...",
        "rank": 1,
        "datePublished": null
      }
      // ... rest
    ],
    "citations": [
      {
        "url": "https://www.evergreen.media/impressum/",
        "title": "Impressum - Evergreen Media",
        "description": "Evergreen Media AR GmbH company information...",
        "icon": null,
        "domain": "evergreen.media",
        "cited": true
      }
      // ... rest
    ],
    "paragraphs": [
      {
        "text": "Die **Evergreen Media AR GmbH** ist ein internationales Beratungsunternehmen...",
        "citations": [
          {
            "url": "https://www.evergreen.media/impressum/",
            "title": "Impressum - Evergreen Media",
            "description": "Evergreen Media AR GmbH company information...",
            "icon": null,
            "domain": "evergreen.media"
          }
        ]
      }
      // ... rest
    ]
  },
  "cached": false,
  "cacheExpiresIn": null
}
Entity Reference:
AiSearchEntity
The image below illustrates how the AI Mode response maps to the Google AI Mode interface:
AI Mode Response Visualization
The yellow highlighted boxes in the image indicate the different response components returned by the API.
UI ElementAPI FieldDescription
🔴 Main AI Response (red bordered area)textThe AI-generated answer text displayed in the main content area, synthesized from multiple sources.
🟡 Inline Citations (yellow boxes within text)citationsReferences embedded within the AI response (e.g., “Evergreen Media +4”, “wko.at +6”). Each citation links to a source URL with the specific referenced text.
🔵 Source Panel (right sidebar)sourcesThe list of source websites displayed on the right side, including title, description, source domain, and favicon.
The citations array provides granular source attribution for specific claims within the AI response, while sources offers a broader overview of all referenced websites with their metadata.

Request

prompt
string
required
The search query or prompt to be sent to the AI search provider.
  • Minimum length: 1 character
  • Maximum length: 500 characters
countryCode
string
default:"at"
The ISO 3166-1 alpha-2 country code to tailor the AI Mode results for a specific region.
languageCode
string
default:"de"
The ISO 639-1 language code to tailor the AI Mode results for a specific language.
fields
object
Specify which response fields to include. This allows you to optimize the response size by requesting only the data you need.
cache
object
An optional object to configure caching behavior for the request. By default, caching is enabled with a TTL of 120 seconds. You can customize these settings by providing the cache object.

Response

cached
boolean
default:true
Indicates whether the response was served from cache.
cacheExpiresIn
number
default:7200
The time in seconds until the cached response expires. Default is 7200 seconds (2 hours).
data
object
required
{
  "prompt": "What is machine learning?",
  "countryCode": "at",
  "languageCode": "de",
  "fields": {
    "citations": ["url", "title", "description", "icon", "domain"],
    "sources": ["url", "title", "snippet", "rank", "datePublished"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title", "description", "icon", "domain"]
    }
  },
  "cache": {
    "enabled": true,
    "ttl": 7200
  }
}
{
  "status": true,
  "data": {
    "text": "Die Evergreen Media AR GmbH ist ein internationales Beratungsunternehmen für digitales Wachstum...",
    "markdown": "Die **Evergreen Media AR GmbH** ist ein internationales Beratungsunternehmen für digitales Wachstum...",
    "model": "gemini-2.0",
    "sources": [
      {
        "url": "https://firmen.wko.at/evergreen-media-ar-gmbh/tirol/",
        "title": "Evergreen Media AR GmbH - WKO Firmen A-Z",
        "snippet": "Evergreen Media ist ein internationales Beratungsunternehmen für digitales Wachstum...",
        "rank": 1,
        "datePublished": null
      }
      // ... rest
    ],
    "citations": [
      {
        "url": "https://www.evergreen.media/impressum/",
        "title": "Impressum - Evergreen Media",
        "description": "Evergreen Media AR GmbH company information...",
        "icon": null,
        "domain": "evergreen.media",
        "cited": true
      }
      // ... rest
    ],
    "paragraphs": [
      {
        "text": "Die **Evergreen Media AR GmbH** ist ein internationales Beratungsunternehmen...",
        "citations": [
          {
            "url": "https://www.evergreen.media/impressum/",
            "title": "Impressum - Evergreen Media",
            "description": "Evergreen Media AR GmbH company information...",
            "icon": null,
            "domain": "evergreen.media"
          }
        ]
      }
      // ... rest
    ]
  },
  "cached": false,
  "cacheExpiresIn": null
}