Search
Search API Request and Response
Last updated
Search API Request and Response
Last updated
Our Search API allows you to search all the content in your AskAI via a simple API call.
Only the references (AskAI content) is returned, no answer to the question is provided, unlike the other APIs.
AskAI ID
AskAI API Key
Query for AskAI
POST /api/1.1/wf/ask-ai-search HTTP/1.1
Host: myaskai.com
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "text",
"api_key": "text",
"query": "text"
}
Successful response
{
"answer": "text",
"references": [
{
"author": "text",
"img": "text",
"link": "https://example.com",
"score": 1,
"section": "text",
"time_stamp": 1,
"title": "text"
}
]
}