---
title: "PUT /api/search/weights"
method: PUT
path: "/api/search/weights"
tags: ["/api/search"]
---

# PUT /api/search/weights

`PUT /api/search/weights`

Update the current weights being used to rank the search results

## Query parameters

- `context` string, required
- `search_engine` unknown

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
