> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/quick-start/data-tables/from-topic.md).

# Create a Data Table from a Topic Prompt

Use `topic` when you want AutoContent to research and structure a table around a subject.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "datatable",
    "topic": "European AI infrastructure startups",
    "text": "Create a comparison table with startup, headquarters, product category, buyer persona, funding stage, and one notable risk."
  }'
```

**Tips**

* Keep `topic` under 500 characters.
* Use `text` to define columns, sort order, and what counts as a relevant row.
