document the sql endpoint