---
title: "Update Search"
method: PUT
path: "/api/v1/saved-searches/{search_id}"
tags: ["saved-searches"]
---

# Update Search

`PUT /api/v1/saved-searches/{search_id}`

## Request

- Base URL: `https://api.getnivara.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getnivara.com/api/v1/saved-searches/{search_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/getnivara/apis/nivara-api/docs/api/v1/saved-searches/:search_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a saved search's filters, criteria, TAM count, etc.

## Path parameters

- `search_id` integer, required

## Request body

- SaveSearchRequest
  - `description` string, required
  - `summary` string
  - `db_filters` object
  - `ai_criteria` unknown[]
    - unknown
  - `tam_count` integer, nullable
  - `preview` unknown[]
    - unknown

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getnivara/apis/nivara-api.md) - [All operations](https://skmtc.dev/getnivara/apis/nivara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getnivara/apis/nivara-api/revisions/2810c849c6a4?raw)
