cURL
curl --request POST \ --url https://cite.petal.org/api/ai/table/{ai_table_id}/update \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "document_ids": [ 123 ], "meta": {}, "visibility": "shared" }'
{ "created_at": "<string>", "document_ids": [ 123 ], "id": 123, "meta": {}, "organization_id": 123, "user_id": 123, "visibility": "shared" }
Change visibility or Document list of AI Table
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique ID of the AI Table
OK
The response is of type object.
object