
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "tako",
"path": "/v1/thin_viz/create/",
"method": "POST",
"body": {
"components": [
{
"config": {
"title": ""
},
"component_type": ""
},
{
"config": {
"datasets": [
{
"data": [
{
"x": "",
"y":
}
],
"label": "",
"units": ""
}
]
},
"component_type": ""
}
]
}
}'
$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
Create a custom embeddable knowledge card from your own data by specifying chart components directly. Returns card_id, image_url, webpage_url, and embed_url. Use List Default Schemas first to see available chart types and their required fields. Example body for a bar chart: {"components": [{"component_type": "header", "config": {"title": "Sales by Region"}}, {"component_type": "categorical_bar", "config": {"datasets": [{"label": "Revenue", "data": [{"x": "US", "y": 500}, {"x": "EU", "y": 300}]}]}}], "title": "Sales by Region", "source": "Internal Data"}
Body parameters
componentsrequiredarrayArray of component config objects. Each needs "component_type" (string: header, generic_timeseries, categorical_bar, pie, scatter, table, choropleth, heatmap, histogram, boxplot, treemap, waterfall, bubble, financial_boxes, data_table_chart) and "config" (object with type-specific fields). Use List Default Schemas endpoint to see required fields per type.titlestringCard title displayed at the top.descriptionstringCard description text.sourcestringData source attribution shown in the card footer (e.g. "S&P Global", "Internal Data").More from Tako
- Tool DescriptionsGET/v1/tako_tools_description$0.023 per callFixed
- Knowledge SearchPOST/v1/knowledge_search$0.023 per callFixed
- List Default SchemasGET/v1/thin_viz/default_schema/$0.023 per callFixed
- Visualize DatasetsPOST/v1/beta/visualize$0.023 per callFixed
- Chart InsightsGET/v1/beta/chart_insights$0.023 per callFixed