Skip to main content
POST
Build a table from a file attached to an AI Assistant message

Authorizations

X-API-Key
string
header
required

Path Parameters

attachment_id
string<uuid>
required

Body

application/json

Build a table out of an attached file.

name
string
required

What to call the table. Unique in the workspace.

Required string length: 1 - 255

Response

Successful Response

The table an attached file is becoming.

The table exists when this returns; its rows are still arriving, loaded in the background from the file's own rows. row_count is how many will land, which is the file's count clamped to the plan's ceiling.

column_count
integer
required
import_id
string<uuid>
required

The import job loading the rows, for polling.

row_count
integer
required

Rows that will be added, from the file's top.

table_id
string<uuid>
required
table_name
string
required