GET
/
api
/
ai
/
session
/
{ai_session_id}
/
qa
/
list
curl --request GET \
  --url https://cite.petal.org/api/ai/session/{ai_session_id}/qa/list \
  --header 'Authorization: Bearer <token>'
[
  {
    "ai_session_id": 123,
    "created_at": "<string>",
    "id": 123,
    "meta": {},
    "query": "<string>",
    "response": "<string>",
    "task_id": "<string>",
    "task_status": "<string>",
    "user_id": 123,
    "user_rating": "<string>"
  }
]

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

Response

200
application/json
OK
ai_session_id
integer
required

The unique ID of the AI Session this message belongs to

created_at
string
required

Time of message creation, in UTC

id
integer
required

Unique ID of this message

meta
object
required

Metadata, for internal use

query
string
required

The user-provided message to the AI

task_id
string
required

Task ID for internal use

task_status
string
required

Progress on obtaining a response from the AI

user_id
integer
required

ID of user who submitted the message

user_rating
string
required

User's assessment of the AI response

response
string

The AI's response to the user