---
title: "Visualize your own data (inline CSV); does not search Tako's data"
method: POST
path: "/api/mpp/v1/visualize"
---

# Visualize your own data (inline CSV); does not search Tako's data

`POST /api/mpp/v1/visualize`

## Request body

- object
  - `query` string, required — How to chart the data, in natural language.
  - `csv` string[] — Inline CSV string(s) to visualize. Supply this or file_ids.
  - `file_ids` string[] — Previously uploaded file ids (file upload not yet available via MPP; use inline CSV).
  - `viz_component_type` string — Optional forced chart type: bar, timeseries, pie, scatter, table, heatmap, histogram, boxplot, choropleth, treemap, waterfall, and others.

## Response `200`

Successful response

## Other responses

- `402` — Payment Required

---

[API](https://skmtc.net/tako/apis/tako-api.md) · [All operations](https://skmtc.net/tako/apis/tako-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tako/tako-api/versions/212ef2954a14/schema)
