---
title: "Clear the store's learned scoring function"
method: DELETE
path: "/v1/stores/{store_identifier}/lsf"
tags: ["stores"]
---

# Clear the store's learned scoring function

`DELETE /v1/stores/{store_identifier}/lsf`

Delete a store's trained weights and everything they were trained on.

Removes the trained model, the captured searches and the relevance
signals collected for them, and stops applying the model to searches.
The store stays opted into `config.lsf`: it starts capturing again
immediately and retrains from scratch on the next run.

Args:
    store_identifier: The ID or name of the store.

Returns:
    StoreLsfCleared: Confirmation that the learned scoring function was cleared.

## Path parameters

- `store_identifier` union, required — The ID or name of the store
  - string
  - string, uuid

## Response `200`

Confirmation that the learned scoring function was cleared

- StoreLsfCleared — Response model for a cleared learned scoring function.
  - `store_id` union, required — ID of the store whose learned scoring function was cleared
    - string
    - string, uuid
  - `cleared` boolean — Whether the learned scoring function was cleared

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-09** `55daabbc273e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mixedbread/apis/mxbai-omni/changes/v1/stores/:store_identifier/lsf/delete.md)

---

[API](https://skmtc.dev/mixedbread/apis/mxbai-omni.md) · [All operations](https://skmtc.dev/mixedbread/apis/mxbai-omni/llms.txt) · [OpenAPI document](https://skmtc.dev/mixedbread/apis/mxbai-omni/revisions/427a5c58f68a?raw)
