Skip to main content
POST
/
v1
/
beta
/
visualize_saved_view
cURL
curl --request POST \
  --url https://trytako.com/api/v1/beta/visualize_saved_view \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "file_id": "<string>",
  "file_ids": [
    "<string>"
  ],
  "saved_view_id": "<string>",
  "saved_view_reference_id": "<string>",
  "debug": false,
  "segment_id": "<string>",
  "file_source": {
    "file_id": "<string>",
    "file_context": "<string>",
    "ontology_context": "<string>",
    "segment_id": "<string>",
    "private_index_id": "<string>"
  }
}'
{
  "outputs": {
    "knowledge_cards": [
      {
        "card_id": "jLmsqH4NfXFLqhWnZqhM",
        "title": "Nvidia, Advanced Micro Devices - Full Time Employees",
        "description": "This is a time series bar chart showing 2 series between 12:00AM UTC-04:00 on 04/01/2013 and 08:55PM UTC on 04/30/2025. Nvidia Full Time Employees latest value was at 12:00AM UTC on 12-31-2024, and had a final value of 36.0K Employees, or 308.72% growth since 12:00AM UTC on 12-31-2013, with a maximum value of 36.0K Employees at 12:00AM UTC on 12-31-2024 and a minimum value of 8.81K Employees at 12:00AM UTC on 12-31-2013; Advanced Micro Devices Full Time Employees latest value was at 12:00AM UTC on 12-31-2024, and had a final value of 28.0K Employees, or 162.39% growth since 12:00AM UTC on 12-31-2013, with a maximum value of 28.0K Employees at 12:00AM UTC on 12-31-2024 and a minimum value of 8.2K Employees at 12:00AM UTC on 12-31-2016. The source of the data is S&P Global. S&P Global is a US-based financial data and analytics company that provides products and services to the financial industry.",
        "webpage_url": "https://trytako.com/card/jLmsqH4NfXFLqhWnZqhM/",
        "image_url": "https://trytako.com/api/v1/image/jLmsqH4NfXFLqhWnZqhM/",
        "embed_url": "https://trytako.com/embed/jLmsqH4NfXFLqhWnZqhM/",
        "sources": [
          {
            "source_name": "S&P Global",
            "source_description": "S&P Global is a US-based financial data and analytics company that provides products and services to the financial industry.",
            "source_index": "tako",
            "url": "https://xignite.com"
          }
        ],
        "methodologies": [
          {
            "methodology_name": "Where the Data Comes From - S&P Global",
            "methodology_description": "The financial metrics are collected from S&P Global, where information is sourced from original regulatory filings, press releases, and subsequent restatements. Data points, including over 5,000 financial, supplemental, segment, ratio, and industry-specific items, are standardized across over 180,000 companies to ensure consistency and comparability across different reporting formats. This comprehensive and methodical process enables robust historical analysis and back-testing by seamlessly integrating diverse financial datasets while preserving the granularity of the original reports."
          }
        ],
        "source_indexes": [
          "tako"
        ],
        "card_type": "company",
        "data_url": "<string>",
        "confidence": "High",
        "visualization_data": {
          "data": [
            {
              "x": "2013",
              "y": 10000
            },
            {
              "x": "2014",
              "y": 20000
            }
          ],
          "viz_config": {
            "title": "Nvidia, Advanced Micro Devices - Full Time Employees"
          }
        }
      }
    ],
    "answer": "<string>"
  },
  "request_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.

Authorizations

X-API-Key
string
header
required

Body

application/json
file_id
string | null

The file id of the dataset to visualize

file_ids

The file ids of the datasets to visualize

saved_view_id
string | null

The id of the saved view to use for the transformation. If specified, use the specific saved view instead of all the saved views associated with the schema

saved_view_reference_id
string | null

The reference id of the saved view to use for the transformation. If specified, use the specific saved view instead of all the saved views associated with the schema

debug
boolean
default:false

Whether to return debug information

segment_id
string | null

The segment id of the dataset to visualize

file_source
object | null

The file source of the dataset to visualize

Response

200 - application/json

List of knowledge search results

outputs
object | null
request_id
string | null
I