POST
/
api
/
ai
/
table
/
create

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
organization_id
integer
required

The Organization in which to create the Table

user_id
integer
required

The user's unique ID

document_ids
integer[]

The IDs of the documents to include in this Table

meta
object

Table metadata, for internal use

visibility
enum<string>
default: shared

Whether this Table can only be seen by its creator, or by the whole Workspace

Available options:
shared,
private

Response

200 - application/json
created_at
string
required

Time of Table creation, in UTC

id
integer
required

Unique ID of Table

meta
object
required

Metadata, for internal use

organization_id
integer
required

Unique ID of Organization the Table belongs to

user_id
integer
required

Unique ID of user the Table belongs to

visibility
enum<string>
default: sharedrequired

Whether this Table can only be seen by its creator, or by the whole Workspace

Available options:
shared,
private
document_ids
integer[]

List of Document IDs in this Table