cURL
API Reference
Knowledge Search
Use natural language to search for Tako Knowledge Cards
POST
cURL
Notes
- To authenticate, you’ll need a Tako API key. It’s best practice to store it as an environment variable to avoid hardcoding sensitive credentials in your code.
- This endpoint executes a Tako Knowledge Search using a natural language query. Tako parses and interprets the query, and then assembles knowledge cards on the fly in response.
- If the query requests multiple series of data (i.e. “Tesla Stock Price vs Net Income”), Tako will adjust the knowlkedge cards so it matches the user’s intent. This may necessitate using both a left and right y-axis to visualize data of far different dimensions/magnitudes, applying aggregations (e.g. percent change since start y-axis when there are series with distinct unit types), or other transformations.
Authorizations
Body
application/json
The inputs for the knowledge search request
The priority order of potential source indexes to search. Once relevant results are found in a source index, the search will stopand results from remaining source indexes will not be searched.
Available options:
tako, web, connected_data, tako_deep_v2 Settings for controlling outputs of the knowledge search request
ISO3166-1 alpha-2 country code (e.g., 'US', 'CA', 'GB')
Locale for the knowledge search request
The effort to put into the search. Controls the depth and latency of the search pipeline. Deep search returns 202 with async polling.
Available options:
fast, medium, deep, auto Example:
"fast"