Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
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"
}
Create an AI Table
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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
OK
The response is of type object
.