Data API / Scholar Search / Search
Explain search results
Explain previously fetched search results. Supply the search_id returned by a Scholar search, with optional detail_level and language. response_mode=NON_STREAMING returns JSON with message; COMPLETE and INCREMENTAL return text/event-stream, where each event contains the accumulated explanation. This operation explains an existing search and does not start another search.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
search_idstringОбязательныйID of the search to explain
response_modestringНеобязательныйДопустимые значения: COMPLETE · INCREMENTAL · NON_STREAMING
Format of the explanation response. COMPLETE and INCREMENTAL stream server-sent events; NON_STREAMING returns a JSON response.
languagestringНеобязательныйLanguage code for the explanation (e.g., en, zh, ar)
detail_levelstringНеобязательныйДопустимые значения: BRIEF · MODERATE · DETAILED
Level of detail in the explanation
Пример запроса
curl -X POST "https://openapi.felo.ai/v1/beta/scholar/search/explain" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"search_id": "<string>",
"response_mode": "<string>",
"language": "<string>",
"detail_level": "<string>"
}'Ответ
Поля ответа
messagestringОбязательныйGenerated explanation text.