cURL
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>" } ]
List all chat messages in an AI Session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique ID of the AI Session
OK
The response is of type AIQA · object[].
AIQA · object[]