Added endpoint for weights and history