Check if there are any running sync operations for the current user.
This endpoint provides a simple check to see if the user has any active sync operations without needing to know specific run IDs.
Returns a simple status overview:
curl -X GET "http://localhost:8000/api/v1/sync/status" \
-H "Cookie: auth_token=your-token"
No running syncs:
{
"has_running_sync": false,
"running_sync_count": 0
}
With running sync:
{
"has_running_sync": true,
"running_sync_count": 1,
"latest_running_sync": {
"run_id": "12345678-1234-5678-9012-123456789012",
"dataset_name": "My Dataset",
"progress_percentage": 45,
"created_at": "2025-01-01T00:00:00Z"
}
}
Successful Response