Smart search combining web and academic results
Scholar Search
Scholarly and web search with result explanations.
Smart search combining web and academic results
Search the web and academic sources together, for questions that straddle both. ⚠️ Parameters go in the query string: query (required), max_num_results, as_ylo/as_yhi. Returns a search id and results[]; the entry shape varies by source — every result has title, link and snippet, and academic ones additionally carry authors and number_of_citations, so treat those two as optional rather than assuming they are there. Use it when you do not know in advance which kind of source will answer. When you do, post_scholar_search_web or post_scholar_search_scholar is more predictable. Keep the id for post_scholar_search_explain.
- 型: stringquery必須
Search query for scholarly materials
- 型: integermax
_num _results 最小値:1最大値:100Maximum number of search results to return, up to 100
- 型: integeras
_ylo 最小値:1900最大値:2030null 許容Year of publication lower bound
- 型: integeras
_yhi 最小値:1900最大値:2030null 許容Year of publication upper bound
- 型: object · SmartSearchResponse200
Successful search response
- 型: stringid必須
Unique identifier for the search request
- 型: array object[] · SmartResult[]results必須
List of smart search results combining web and academic content
- link型: string 形式: uri必須
URL to access the content
- snippet型: string必須
Brief summary or abstract
- title型: string必須
Title of the result
- authors型: array string[]
List of authors (for academic content)
- number型: integer
_of _citations 最小値:0Number of citations (for academic content)
- relevance型: number
_score 最小値:0最大値:1Relevance score of the result
- type型: string 列挙値
Type of the result
値- web
- academic
- 型: string 列挙値search
_type Type of search results included
値- web
- academic
- hybrid
application/json - 型: object · ErrorResponse400
Bad request - invalid parameters
- 型: stringerror
A short error message.
- 型: stringmessage
A more detailed error message.
application/json - 型: object · ErrorResponse401
Unauthorized - invalid or missing API key
- 型: stringerror
A short error message.
- 型: stringmessage
A more detailed error message.
application/json - 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 型: object · ErrorResponse429
Rate limit exceeded
- 型: stringerror
A short error message.
- 型: stringmessage
A more detailed error message.
application/json - 型: object · ErrorResponse500
Internal server error
- 型: stringerror
A short error message.
- 型: stringmessage
A more detailed error message.
application/json - 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/scholar/search/mixed?query=machine%20learning' \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"id": "string",
"results": [
{
"title": "string",
"link": "https://example.com",
"snippet": "string",
"authors": [
"string"
],
"number_of_citations": 0,
"type": "web",
"relevance_score": 0
}
],
"search_type": "web"
}