---
title: "Update Watchlist Audience Prefs"
method: PUT
path: "/api/watchlist/{username}/audience"
tags: ["Watchlist"]
---

# Update Watchlist Audience Prefs

`PUT /api/watchlist/{username}/audience`

## 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/watchlist/{username}/audience`
- Auth: HTTP bearer

AP-4: per-row audience auto-refresh prefs.

PATCH-style — only the fields present in the body are touched.
Sample size must be one of the priced tiers (200 / 500 / 2000) so
the scheduler always knows what to charge.

## Path parameters

- `username` string, required

## Headers

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

## Request body

- WatchlistAudiencePrefs: PATCH-shape for ``PUT /api/watchlist/{username}/audience``. All fields optional so the front-end toggle can flip just ``audience_auto_refresh`` without re-sending the others.
  - `audience_auto_refresh` boolean, nullable
  - `audience_refresh_interval_days` integer, nullable
  - `audience_sample_size` integer, nullable

## Response `200`

Successful Response

- WatchlistEntryOut
  - `id` string, required
  - `user_id` string, required
  - `username` string, required
  - `platform` string
  - `added_at` string, required
  - `last_refreshed_at` string, nullable
  - `next_refresh_at` string, nullable
  - `is_paused` boolean, required
  - `audience_auto_refresh` boolean
  - `audience_refresh_interval_days` integer
  - `audience_sample_size` integer
  - `audience_last_refreshed_at` string, nullable

## 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)
