POST
/
api
/
ai
/
session
/
{ai_session_id}
/
update
curl --request POST \
  --url https://cite.petal.org/api/ai/session/{ai_session_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,
  "is_multidoc": true,
  "meta": {},
  "organization_id": 123,
  "user_id": 123,
  "visibility": "shared"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

ai_session_id
integer
required

The unique ID of the AI Session

Body

application/json

Response

200
application/json

OK

The response is of type object.