curl --request GET \
--url https://api.gbase.ai/v1/datasets/{ai_id}/datasets
{
"items": [
{
"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>",
"robots": [
{
"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",
"apis": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"function_call_name": "<string>",
"openapi_url": "<string>",
"server_url": "<string>",
"path": "<string>",
"method": "<string>",
"header_authorization": "<any>",
"function_type": "<string>",
"function_status": "<string>",
"share_status": "<string>",
"user_id": "<string>",
"function_call_description": "<string>",
"matching_keywords": "<any>",
"llm_sta": true,
"body": "<any>",
"auth_token_curl": "<any>",
"body_required": "<any>",
"request_explanation": "<string>"
}
],
"user_id": "<string>"
}
],
"user_id": "<string>",
"clone_progress": {
"total": 123,
"done": 123,
"remaining": 123
}
}
],
"total": 1,
"page": 2,
"size": 2,
"pages": 1
}
Get ai datasets
curl --request GET \
--url https://api.gbase.ai/v1/datasets/{ai_id}/datasets
{
"items": [
{
"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>",
"robots": [
{
"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",
"apis": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"function_call_name": "<string>",
"openapi_url": "<string>",
"server_url": "<string>",
"path": "<string>",
"method": "<string>",
"header_authorization": "<any>",
"function_type": "<string>",
"function_status": "<string>",
"share_status": "<string>",
"user_id": "<string>",
"function_call_description": "<string>",
"matching_keywords": "<any>",
"llm_sta": true,
"body": "<any>",
"auth_token_curl": "<any>",
"body_required": "<any>",
"request_explanation": "<string>"
}
],
"user_id": "<string>"
}
],
"user_id": "<string>",
"clone_progress": {
"total": 123,
"done": 123,
"remaining": 123
}
}
],
"total": 1,
"page": 2,
"size": 2,
"pages": 1
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
x >= 1
1 <= x <= 1000
Successful Response
The response is of type object
.