Copy {
"data": [
{
"id": 101,
"integration_type": "google_drive",
"integration_step": "authorized",
"source": "user@example.com",
"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": "Integrations retrieved successfully",
"code": "success"
}
This endpoint retrieves a list of all available data source integrations for the current user. The response includes detailed information about each integration, including the integration type, status, and document statistics.