Documentation Index
Fetch the complete documentation index at: https://docs.andiai.com/llms.txt
Use this file to discover all available pages before exploring further.
You need an API key to follow this guide. Get one from the
API Console.
Get your API key
Sign in to the API Console and create an API key. Copy it — you’ll need it for the next step. Make your first request
Send a search query using the x-api-key header:curl "https://search-api.andisearch.com/api/v1/search?q=what+is+RAG" \
-H "x-api-key: YOUR_API_KEY"
Read the response
The API returns a JSON object with top-level fields and a results array. Each result includes a title, link, desc, and source:{
"results_type": "search",
"answer": "",
"type": "search",
"title": "what is RAG",
"results": [
{
"title": "Retrieval-Augmented Generation (RAG) Explained",
"link": "https://example.com/rag-explained",
"desc": "RAG combines a retrieval system with a language model to generate responses grounded in retrieved documents.",
"source": "example.com",
"type": "website"
}
],
"metrics": {
"query": "what is RAG",
"intent": "FallbackSearchIntent",
"duration": 234,
"results_returned": 10,
"total_results_found": 42
}
}
Next steps
Fast search
Default search mode for real-time applications.
Deep search
Enhanced search with spell correction and more sources.
Query parameters
Full parameter reference for the search endpoint.
Authentication
API key management and security practices.