Danh sách các tích hợp nguồn dữ liệu có sẵn
get
This operation retrieves available data sources.
Responses
200
Successful operation
application/json
get
GET /api/v1/integrations/ HTTP/1.1
Host: api.rememberizer.ai
Accept: */*
200
Successful operation
{
"data": [
{
"id": 101,
"integration_type": "text",
"integration_step": "text",
"source": "text",
"document_type": "text",
"document_stats": {
"status": {
"indexed": 1,
"indexing": 1,
"error": 1
},
"total_size": 1,
"document_count": 1
},
"consent_time": "2025-07-03T17:40:16.944Z",
"memory_config": "text",
"token_validity": true
}
],
"message": "text",
"code": "text"
}
Ví dụ Yêu cầu
curl -X GET \
https://api.rememberizer.ai/api/v1/integrations/ \
-H "Authorization: Bearer YOUR_JWT_TOKEN"
Định dạng Phản hồi
{
"data": [
{
"id": 101,
"integration_type": "google_drive",
"integration_step": "authorized",
"source": "[email protected]",
"document_type": "drive",
"document_stats": {
"status": {
"indexed": 250,
"indexing": 5,
"error": 2
},
"total_size": 15000000,
"document_count": 257
},
"consent_time": "2023-06-15T10:30:00Z",
"memory_config": null,
"token_validity": true
},
{
"id": 102,
"integration_type": "slack",
"integration_step": "authorized",
"source": "workspace-name",
"document_type": "channel",
"document_stats": {
"status": {
"indexed": 45,
"indexing": 0,
"error": 0
},
"total_size": 5000000,
"document_count": 45
},
"consent_time": "2023-06-16T14:45:00Z",
"memory_config": null,
"token_validity": true
}
],
"message": "Các tích hợp đã được lấy thành công",
"code": "success"
}
Điểm cuối này lấy danh sách tất cả các tích hợp nguồn dữ liệu có sẵn cho người dùng hiện tại. Phản hồi bao gồm thông tin chi tiết về từng tích hợp, bao gồm loại tích hợp, trạng thái và thống kê tài liệu.
Last updated