
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "tako",
"path": "/v1/beta/visualize",
"method": "POST",
"body": {
"csv": [
""
]
}
}'
{
"success": true,
"data": {
"outputs": { … },
"request_id": "{request_id}"
}
}
Example values, built from the documented fields.
$0.023per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Turn your own data into interactive Tako Knowledge Card visualizations. Provide data as CSV strings and a natural language query describing what to visualize. Tako auto-selects the best chart type or you can specify one. Returns a knowledge card with chart image, interactive webpage, and embed URLs. Example: {"csv": ["quarter,revenue\nQ1,100\nQ2,200\nQ3,300"], "query": "Show revenue growth as a bar chart"}
Body parameters
csvrequiredarrayArray of CSV strings. Each string is a full CSV with headers in the first row. Example: ["name,value\nApple,3.7\nNVIDIA,3.4\nMicrosoft,3.1"]. Multiple CSVs can be passed for multi-dataset visualizations.querystringNatural language instructions for how to visualize the data (e.g. "Show as a bar chart", "Compare revenue trends", "Make a pie chart of market share").viz_component_typestringExplicitly request a chart type. Options: bar, grouped_bar, stacked_bar, timeseries, area_timeseries, stacked_area_timeseries, pie, choropleth, map, scatter, boxplot, heatmap, timeline, waterfall, histogram, table, treemap.Response types
request_idstringMore from Tako
- Tool DescriptionsGET/v1/tako_tools_description$0.023 per callFixed
- Knowledge SearchPOST/v1/knowledge_search$0.023 per callFixed
- Create Card (Thin-Viz)POST/v1/thin_viz/create/$0.023 per callFixed
- List Default SchemasGET/v1/thin_viz/default_schema/$0.023 per callFixed
- Chart InsightsGET/v1/beta/chart_insights$0.023 per callFixed