---
title: "Update List"
method: PATCH
path: "/api/lists/{list_id}"
tags: ["KOL Lists"]
---

# Update List

`PATCH /api/lists/{list_id}`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/lists/{list_id}`
- Auth: HTTP bearer

Update mutable list-level settings.

Issue #391 — currently the only mutable field is
``enable_daily_monitoring``, the daily-snapshot opt-out flag. The
list-detail UI's toggle calls this endpoint when the operator flips
the switch. Partial updates only: keys absent from the body are
left untouched on the persisted row.

## Path parameters

- `list_id` string, required

## Headers

- `x-kolens-user-id` string, nullable
- `x-kolens-workspace-id` string, nullable

## Request body

- ListUpdate: PATCH shape for ``PATCH /api/lists/{id}``. Issue #391 — the only mutable field on a list (so far) is ``enable_daily_monitoring``, the daily-snapshot opt-out toggle the list-detail UI exposes in its header. All fields optional so partial updates work; the route only applies the keys the caller sent. Adding name/description here later is a non-breaking change.
  - `enable_daily_monitoring` boolean, nullable

## Response `200`

Successful Response

- ListOut
  - `id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `member_count` integer, required
  - `created_at` string, required
  - `updated_at` string, required
  - `enable_daily_monitoring` boolean
  - `rollup` ListIndexRollup: Compact decision rollup carried by each list in ``GET /api/lists`` so the portfolio view can show "Skincare Q3 · 40 KOL · 8 shortlisted · 12 untriaged · 6 red-flag" without a per-list detail call.
    - `member_count` integer
    - `n_shortlisted` integer
    - `n_untriaged` integer
    - `n_passed` integer
    - `n_red_flag` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
