{
  "opencollection": "1.0.0",
  "info": {
    "name": "Knowledge Search agent tako API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "tako",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tako.com/api/v3/search",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Fast-pipeline knowledge search. Returns Tako cards (and web results when requested) with no LLM synthesis."
        },
        {
          "info": {
            "name": "Answer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tako.com/api/v1/answer",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Fast-pipeline retrieval plus an LLM-synthesized answer with confidence. Replaces the grounding endpoint."
        },
        {
          "info": {
            "name": "Search the data graph",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tako.com/api/beta/graph/search",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Search text (min 2 chars)."
              },
              {
                "name": "types",
                "value": "",
                "type": "query",
                "description": "Comma-separated facets: metric,entity."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Max results (default 20, max 50)."
              },
              {
                "name": "label",
                "value": "",
                "type": "query",
                "description": "Prefer results with this NER label (boost, not a filter — matching nodes rank higher; others still return). Supplying label disables inference."
              },
              {
                "name": "infer_label",
                "value": "",
                "type": "query",
                "description": "When true, Tako NER infers the label and grounded-node boosts from q. Set false to disable. Tako ignores this parameter when you supply label. Default true."
              }
            ]
          },
          "docs": "Resolve a metric or entity in Tako's data graph by name. Use this to discover and confirm what data exists before you query. For example, resolve the metric and the entity here, then ask /v3/search or /v1/answer for that entity + metric combination. Public and unauthenticated. Note: Tako does not yet filter results to the production-ready inventory. A returned metric or entity without a production fact table can 404 when you pass it to /beta/graph/related. Pass label to prefer a NER label (a ran"
        },
        {
          "info": {
            "name": "Get a graph node's related nodes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tako.com/api/beta/graph/related",
            "params": [
              {
                "name": "node_id",
                "value": "",
                "type": "query",
                "description": "Opaque public id of the node."
              },
              {
                "name": "relation",
                "value": "",
                "type": "query",
                "description": "Relation key to paginate, for example `rel:competes_with`, `metrics`, `entities`, `siblings`, or `members`."
              },
              {
                "name": "relation_type",
                "value": "",
                "type": "query",
                "description": "Deprecated: use `relation`. A legacy facet name (metric, entity, sibling, or member) that maps to a key."
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Optional case-insensitive substring filter on the related nodes' names and aliases. It filters every group of the overview, or the single paginated group when you set `relation`."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Opaque pagination cursor."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Page size (default 50, max 100)."
              },
              {
                "name": "label",
                "value": "",
                "type": "query",
                "description": "Prefer related nodes with this NER label. This is a boost, not a filter: matching nodes rank higher within each relation, and totals do not change. Supplying label disables inference."
              },
              {
                "name": "infer_label",
                "value": "",
                "type": "query",
                "description": "When true, Tako NER infers the label and grounded-node boosts from q. Set false to disable. Tako ignores this parameter when you supply label. It applies only when q is present. Default true."
              }
            ]
          },
          "docs": "Explore what a node connects to. The overview returns an ordered `relations` list: named relationships (for example `rel:competes_with`, `rel:in_industry`) first, then a node's metrics and entities, then similar nodes and membership (part_of, members). The metrics and entities are the entity + metric combinations Tako covers — query /v3/search or /v1/answer for one. Each group carries a stable `key`. Pass `relation`=<key> plus cursor to paginate that one group. Pass the optional q to narrow by a"
        },
        {
          "info": {
            "name": "Get a graph node by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://tako.com/api/beta/graph/node/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Opaque public id of the node."
              }
            ]
          },
          "docs": "Resolve a single node by its opaque public id. Search cards, /beta/graph/search, and /beta/graph/related return these ids. Returns the node's name, type, aliases, and description. Public and unauthenticated."
        },
        {
          "info": {
            "name": "Download content",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tako.com/api/v1/contents",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Download the content behind a search result: a CSV of a Tako card's underlying data, or the full text of a web page. Returns a short-lived presigned download URL. Protected-source cards (data export not available) return 403. Send `quote_only: true` to get only the export's price (`cost` + `export_pricing`) with an empty payload. A quote is free: Tako fetches nothing and charges nothing."
        },
        {
          "info": {
            "name": "createCard",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://tako.com/api/v1/thin_viz/create/",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "X-API-Key",
              "value": "{{X-API-Key}}",
              "placement": "header"
            }
          },
          "docs": "Create a visualization card directly from component configurations. Supported component types: header, generic_timeseries, categorical_bar, stock_boxes, financial_boxes, table."
        }
      ]
    }
  ],
  "bundled": true
}