GET
/
v1
/
{ai_id}
/
session.messages
curl --request GET \
  --url https://api.gbase.ai/v1/{ai_id}/session.messages
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "anonymous_username": "<string>",
      "question": "<string>",
      "answer": "<string>",
      "feedback_content": "<string>",
      "total_tokens": -1,
      "rating": 0,
      "reference_list": "<any>",
      "reference_indexes": "<any>",
      "history_conversation_count": -1,
      "is_test": false,
      "faq_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "comes_from": "<string>",
      "first_response_time": -1,
      "llm_can_answer": true,
      "title": "<string>",
      "url": "<string>",
      "model": "<string>",
      "question_metadata": "<any>",
      "status": "finished",
      "is_correct": false,
      "transfer_to_human": false,
      "canvas": "<any>",
      "session_id": "<string>",
      "user_id": "<string>",
      "session_message_metadata": [],
      "default_dataset_id": "<string>",
      "citation": [
        "<any>"
      ]
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2,
  "pages": 1
}

Path Parameters

ai_id
string
required

Query Parameters

session_id
string
required
end_time
string
page
integer
default:1
Required range: x >= 1
size
integer
default:50
Required range: 1 <= x <= 1000
order_by
string

Sort order, allowing order by multiple columns, separated by ,, use - for reverse order.

Response

200
application/json

Successful Response

The response is of type object.