Import your data into Tako using the Tako Connect API to unlock AI-powered analysis and visualization capabilities.Documentation Index
Fetch the complete documentation index at: https://docs.tako.com/llms.txt
Use this file to discover all available pages before exploring further.
Connect Your Data
Tako supports two methods for bringing your data:- Upload a local file
- Connect to a hosted file via URL
Upload Local Files via API
First, generate a presigned url using theGET /file_upload_url endpoint. Then you can POST your file to the url
Step 1: Request Upload URL
Request
Sample Response
Response
Step 2: Upload Your File
Use theurl and fields from the response to upload your file using a multipart/form-data request.
Upload File
Connect External Files via URL
If your data is hosted elsewhere (e.g., S3, Dropbox, Google Drive), you can register it with Tako using thePOST /file_connector endpoint.
File Connector
Query Tako with Your Data
Once your file is uploaded or connected, use thePOST /visualize endpoint to generate insights and visualizations.
In the body, include the file_id from the response of /file_upload_url or /file_connector. Optionally, include a natural language query.
Query: Timeseries graph comparing Tokyo Balls’ and Tako Bell’s monthly revenue (total + tip)
Zero Data Retention (ZDR) Embeds
Zero Data Retention lets you render charts without persisting your data on Tako servers. You send the visualization payload at render time, either via our lightweight widget or by posting directly to the embed endpoint.How it works
- You generate a card via the visualize API as usual and receive a
card_idand avisualization_dataobject. - To render: you either
- use the
TakoZDREmbedwidget to create an iframe and POST thevisualization_datafor you, or - POST the
visualization_datadirectly to the embed URL with an HTML<form>that targets an<iframe>.
- use the
- Data is not stored by Tako; it exists only in your request and the user’s browser.
Option A: Use the ZDR Embed widget
- Include the widget in your app (serve the file from your app or a CDN):
- Create a container where the chart will render:
- Render using your
card_idandvisualization_data:
Full ZDR Embed Widget (copy-paste)
Full ZDR Embed Widget (copy-paste)
Option B: Direct POST to the embed (no widget)
Use a hidden<form> that posts your visualization_data JSON to the embed endpoint, targeting an <iframe>.
End-to-end flow
- Call
POST /v1/beta/visualizewith your data and query. - Extract
card_idandvisualization_datafrom the response. - Render with either the widget or direct form-post approach shown above.