Skip to main content
POST
https://api.evergreens.ai
/
v1
/
networks
/
browser
/
gemini-search
{
  "query": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "screenshots": true,
  "fields": {
    "citations": ["url", "title", "source", "favicon", "description"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title", "source", "favicon", "description"]
    }
  },
  "cache": {
    "enabled": true,
    "ttl": 7200
  }
}
{
  "status": true,
  "data": {
    "isCached": false,
    "cacheExpiresIn": null,
    "results": {
      "model": "Gemini",
      "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...",
      "citations": [
        {
          "url": "https://www.nasa.gov/people/james-e-webb/",
          "title": "NASA",
          "source": "nasa.gov",
          "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
          "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ..."
        },
        {
          "url": "https://en.wikipedia.org/wiki/Jim_Webb",
          "title": "Wikipedia",
          "source": "en.wikipedia.org",
          "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcTGo2ldWXblVJVy9av_nsZSibxa_2qWNauc-_aN3Z88QWRlrBwOirgky4S2BQx4HAP717l1X6fwOGXal25Xka-QwL048XUpux7h5g",
          "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 ..."
        }
        // ... 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",
              "source": "nasa.gov",
              "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
              "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ..."
            }
          ]
        }
        // ... rest
      ],
      "screenshots": {
        "initial": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-initial.png",
        "beforeSubmit": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-before-submit.png",
        "afterResponse": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-after-response.png"
      }
    }
  }
}
Entity Reference:
GeminiSearchEntity — extends SearchEntity
Example
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

query
string
required
The search query string used to generate a Gemini-based answer.
  • Minimum length: 1 character
  • Maximum length: 500 characters
screenshots
boolean
default:"true"
Whether to include screenshots from Tedi Browser in the search results.
Gemini Tedi Browser Screenshot (before)Gemini Tedi Browser Screenshot (after)
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.
Screenshot URLs are only available for 24 hours after generation. Make sure to download or cache them if you need to retain them longer.
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

isCached
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).
results
GeminiSearchEntity
required
{
  "query": "Who is James Webb?",
  "countryCode": "us",
  "languageCode": "en",
  "screenshots": true,
  "fields": {
    "citations": ["url", "title", "source", "favicon", "description"],
    "paragraphs": {
      "text": true,
      "citations": ["url", "title", "source", "favicon", "description"]
    }
  },
  "cache": {
    "enabled": true,
    "ttl": 7200
  }
}
{
  "status": true,
  "data": {
    "isCached": false,
    "cacheExpiresIn": null,
    "results": {
      "model": "Gemini",
      "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...",
      "citations": [
        {
          "url": "https://www.nasa.gov/people/james-e-webb/",
          "title": "NASA",
          "source": "nasa.gov",
          "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
          "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ..."
        },
        {
          "url": "https://en.wikipedia.org/wiki/Jim_Webb",
          "title": "Wikipedia",
          "source": "en.wikipedia.org",
          "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcTGo2ldWXblVJVy9av_nsZSibxa_2qWNauc-_aN3Z88QWRlrBwOirgky4S2BQx4HAP717l1X6fwOGXal25Xka-QwL048XUpux7h5g",
          "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 ..."
        }
        // ... 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",
              "source": "nasa.gov",
              "favicon": "https://encrypted-tbn2.gstatic.com/favicon-tbn?q=tbn:ANd9GcRF004DO_Mf4qjW7J3xQ4sOaNSKBIET4coxnOiknQDt0eorVywHPVjvm0hYmVo5Ah79KIoMf6fueHN8ISIBt-0IAEXnOE6I",
              "description": "NASA Administrator (Feb. 16, 1961–Oct. 7, 1968) James Edwin Webb was the second administrator of the National Aeronautics and Space Administration, formally ..."
            }
          ]
        }
        // ... rest
      ],
      "screenshots": {
        "initial": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-initial.png",
        "beforeSubmit": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-before-submit.png",
        "afterResponse": "https://tedi-cdn.evergreens.ai/jobs/tedi-browser/YjSjM5oaFu/screenshot-after-response.png"
      }
    }
  }
}