The AiSearchEntity is a unified entity designed to enable AI-driven search capabilities within the Tedi API. This entity allows you to send search prompts to various AI search providers and receive structured responses that include citations, sources, and relevant paragraphs.We use High-Level Scraping (HLS) techniques to extract and structure information from AI search results, providing comprehensive and organized responses that can be easily integrated into your applications.
Google AI Mode - AI-generated answers integrated into Google Search
ai-overview
Google AI Overview - AI summaries displayed at the top of search results
chatgpt
ChatGPT Search - OpenAI’s ChatGPT with real-time web search capabilities
copilot
Microsoft Copilot - Microsoft’s AI assistant powered by GPT with web search
perplexity
Perplexity - AI search engine with real-time web information
gemini
Google Gemini - Google’s AI assistant with search capabilities
grok
Grok - xAI’s AI assistant with real-time information access
Screenshots Deprecated: The screenshots field has been deprecated and is no longer supported for performance reasons. All AI search endpoints no longer return screenshot data.
Parameter Renamed: The query parameter has been renamed to prompt across all AI search endpoints. Please update your API calls accordingly.
Request Timeout: AI search requests have a timeout of 45 minutes. Complex queries or high-traffic periods may require longer processing times.
Copilot Performance: Microsoft Copilot scraping is currently slower than other providers. We are actively working on optimizations.
A Citation represents a specific reference that appears inline within the AI’s response text. Citations link specific statements to their source websites.
Property
Type
Description
url
string
The full URL of the cited webpage.
title
string
The title of the cited webpage.
description
string | null
A brief description of the cited content. May be null if not available.
icon
string | null
URL to the favicon or icon of the cited website. May be null if not available.
domain
string
The display name or domain of the cited website (e.g., “Wikipedia”, “Reuters”).
cited
boolean
Indicates whether this citation was directly referenced in the response text. Optional field.
A Paragraph represents a segment of the AI’s response, typically containing a complete thought or section. Each paragraph can have its own inline citations.
Property
Type
Description
text
string
The text content of the paragraph, may include Markdown formatting.
citations
Citation[]
Array of citations that are referenced within this specific paragraph. Empty array if none.