---
title: "Create Data Table"
method: POST
path: "/api/projects/tables"
---

# Create Data Table

`POST /api/projects/tables`

## Request

- Base URL: `https://api.openpaper.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openpaper.ai/api/projects/tables`
- Auth: API key in header `Authorization`

Create a data table extraction job for a project.

## Request body

- CreateDataTableRequest
  - `project_id` string, required
  - `columns` string[], required
  - `computed_columns` ComputedColumnSpec[]
    - `label` string, required: Display label of the computed column
    - `spec` string, required: Natural-language description of the computation, e.g. 'the average of the per-model scores, then averaged across models'
    - `inputs` string[], required: Labels of the extracted columns the computation reads
  - `list_columns` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openpaper/apis/open-paper.md) - [All operations](https://skmtc.dev/openpaper/apis/open-paper/llms.txt) - [OpenAPI document](https://skmtc.dev/openpaper/apis/open-paper/revisions/c2ad03216101?raw)
