Skip to main content
POST
https://api.evergreens.ai
/
tedi
/
networks
/
browser
/
ai
/
gemini
{
  "prompt": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "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": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.\n\n1. James E. Webb (1906–1992)\n\nThe NASA Administrator He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the James Webb Space Telescope (JWST).\n\nThe Apollo Era: Webb led NASA during the height of the Space Race. He was responsible for the Mercury and Gemini programs and laid the groundwork for the Apollo moon landings...",
    "markdown": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.\n\n## 1. James E. Webb (1906–1992)\n\n**The NASA Administrator** He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the **James Webb Space Telescope (JWST)**...",
    "model": "Gemini",
    "sources": [
      {
        "url": "https://www.nasa.gov/people/james-e-webb/",
        "title": "NASA",
        "snippet": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator...",
        "rank": 1,
        "datePublished": null
      }
      // ... rest
    ],
    "citations": [
      {
        "url": "https://www.nasa.gov/people/james-e-webb/",
        "title": "NASA",
        "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ...",
        "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
        "domain": "nasa.gov",
        "cited": true
      },
      {
        "url": "https://en.wikipedia.org/wiki/Jim_Webb",
        "title": "Wikipedia",
        "description": "James Henry Webb Jr. (born February 9, 1946) is an American politician and author. He has served as a United States senator from Virginia, Secretary of the ...",
        "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcTGo2ldWXblVJVy9av_nsZSibxa_2qWNauc-_aN3Z88QWRlrBwOirgky4S2BQx4HAP717l1X6fwOGXal25Xka-QwL048XUpux7h5g",
        "domain": "en.wikipedia.org",
        "cited": true
      }
      // ... rest
    ],
    "paragraphs": [
      {
        "text": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.",
        "citations": []
      },
      {
        "text": "**The NASA Administrator** He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the James Webb Space Telescope (JWST).",
        "citations": [
          {
            "url": "https://www.nasa.gov/people/james-e-webb/",
            "title": "NASA",
            "description": "NASA Administrator biography...",
            "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
            "domain": "nasa.gov"
          }
        ]
      }
      // ... rest
    ]
  },
  "cached": false,
  "cacheExpiresIn": null
}
Entity Reference:
AiSearchEntity
The image below illustrates how the Gemini Search response maps to the Google Gemini interface:
Gemini Search Response Visualization
The highlighted boxes in the image indicate the different response components returned by the API.
UI ElementAPI FieldDescription
🔴 Main Gemini Response (red bordered area)textThe AI-generated answer text displayed in the main content area, synthesized by Google Gemini.
🟡 Inline Citations (yellow circles within text)citationsReferences embedded within the Gemini response. Each citation includes url, title, source, favicon, and description.
🔵 Sources Button (bottom panel)citationsThe expandable sources list with all referenced websites used to generate the response.
The citations array provides source attribution for claims within the Gemini response, while paragraphs offers structured breakdown of the response with associated citations.

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:"us"
The ISO 3166-1 alpha-2 country code to tailor the Gemini Search results for a specific region.
languageCode
string
default:"en"
The ISO 639-1 language code to tailor the Gemini Search 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": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "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": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.\n\n1. James E. Webb (1906–1992)\n\nThe NASA Administrator He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the James Webb Space Telescope (JWST).\n\nThe Apollo Era: Webb led NASA during the height of the Space Race. He was responsible for the Mercury and Gemini programs and laid the groundwork for the Apollo moon landings...",
    "markdown": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.\n\n## 1. James E. Webb (1906–1992)\n\n**The NASA Administrator** He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the **James Webb Space Telescope (JWST)**...",
    "model": "Gemini",
    "sources": [
      {
        "url": "https://www.nasa.gov/people/james-e-webb/",
        "title": "NASA",
        "snippet": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator...",
        "rank": 1,
        "datePublished": null
      }
      // ... rest
    ],
    "citations": [
      {
        "url": "https://www.nasa.gov/people/james-e-webb/",
        "title": "NASA",
        "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ...",
        "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
        "domain": "nasa.gov",
        "cited": true
      },
      {
        "url": "https://en.wikipedia.org/wiki/Jim_Webb",
        "title": "Wikipedia",
        "description": "James Henry Webb Jr. (born February 9, 1946) is an American politician and author. He has served as a United States senator from Virginia, Secretary of the ...",
        "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcTGo2ldWXblVJVy9av_nsZSibxa_2qWNauc-_aN3Z88QWRlrBwOirgky4S2BQx4HAP717l1X6fwOGXal25Xka-QwL048XUpux7h5g",
        "domain": "en.wikipedia.org",
        "cited": true
      }
      // ... rest
    ],
    "paragraphs": [
      {
        "text": "Depending on which era you're looking at, you are likely thinking of one of two prominent American public figures. Most people asking today are referring to the man behind the famous space telescope.",
        "citations": []
      },
      {
        "text": "**The NASA Administrator** He is best known as the second administrator of NASA, serving from 1961 to 1968. He is the namesake of the James Webb Space Telescope (JWST).",
        "citations": [
          {
            "url": "https://www.nasa.gov/people/james-e-webb/",
            "title": "NASA",
            "description": "NASA Administrator biography...",
            "icon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
            "domain": "nasa.gov"
          }
        ]
      }
      // ... rest
    ]
  },
  "cached": false,
  "cacheExpiresIn": null
}