POST
/
v1
/
beta
/
file_connector
curl --request POST \
  --url https://trytako.com/api/v1/beta/file_connector \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "file_id": "<string>",
  "file_url": "<string>"
}'
{
  "message": "<string>",
  "id": "<string>"
}

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.
  • Supported file formats: .csv, .xls, .xlsx, .parquet
  • File size is limited to 5MB currently
  • When you connect a file, Tako will download and store a copy of the file on its platform for analysis and visualization.
If the original file is updated, call the file_connector endpoint again with the same file_id and updated file_url to propagate changes to Tako.

Authorizations

X-API-Key
string
header
required

Body

application/json

Response

200 - application/json

File connector ID

The response is of type object.