GET
/
v1
/
ais
curl --request GET \
  --url https://api.gbase.ai/v1/ais
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "name": "<string>",
      "discrible": "<string>",
      "subject_name": "<string>",
      "prompt": "<string>",
      "robot_type": "rag",
      "ai_type": "private",
      "ai_model": "file",
      "ai_status": "ready",
      "user": {
        "user_id": "<string>",
        "email": "<string>",
        "name": "<string>",
        "salt": "<string>",
        "picture": "<string>",
        "locale": "<string>",
        "corporate": false,
        "is_independent": false
      },
      "datasets": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "data_status": "init",
          "name": "<string>",
          "description": "<string>",
          "metadata": "<any>",
          "url_rules": "<any>",
          "user_id": "<string>"
        }
      ],
      "file_count": 123,
      "faq_count": 123
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2,
  "pages": 1
}

Authorizations

Authorization
string
header
required

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

Query Parameters

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.