AI Table
Create an AI Table
Overview
Document
AI Chat
AI Table
- POSTCreate an AI Table
- GETList AI Tables
- GETGet an AI Table
- POSTUpdate an AI Table
- DELDelete an AI Table
- POSTCreate an AI Table column
- GETList all columns in an AI Table
- GETGet an AI Table column
- POSTUpdate an AI Table column
- POSTRun AI on all cells in a column
- DELDelete an AI Table column
- GETList all cells in a row
- POSTRun AI on all cells in a row
- POSTCreate cells and run AI
- POSTCreate cell without AI
- POSTUpdate cell without AI
- GETList all cells in an AI Table
AI Table
Create an AI Table
Create an AI Table
POST
/
api
/
ai
/
table
/
create
curl --request POST \
--url https://cite.petal.org/api/ai/table/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"document_ids": [
123
],
"meta": {},
"organization_id": 123,
"user_id": 123,
"visibility": "shared"
}'
{
"created_at": "<string>",
"document_ids": [
123
],
"id": 123,
"meta": {},
"organization_id": 123,
"user_id": 123,
"visibility": "shared"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://cite.petal.org/api/ai/table/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"document_ids": [
123
],
"meta": {},
"organization_id": 123,
"user_id": 123,
"visibility": "shared"
}'
{
"created_at": "<string>",
"document_ids": [
123
],
"id": 123,
"meta": {},
"organization_id": 123,
"user_id": 123,
"visibility": "shared"
}