Create Card (Thin-Viz)

POST/v1/thin_viz/create/

VerifiedPublished by Tako
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

More from Tako

  1. Tool DescriptionsGET/v1/tako_tools_description$0.023 per callFixed
  2. Knowledge SearchPOST/v1/knowledge_search$0.023 per callFixed
  3. List Default SchemasGET/v1/thin_viz/default_schema/$0.023 per callFixed
  4. Visualize DatasetsPOST/v1/beta/visualize$0.023 per callFixed
  5. Chart InsightsGET/v1/beta/chart_insights$0.023 per callFixed
All 6 Tako endpoints