---
title: "Set starred"
method: POST
path: "/set_starred"
---

# Set starred

`POST /set_starred`

## Request

- Base URL: `https://newsmind.app/api/v1`
- URL: `https://newsmind.app/api/v1/set_starred`
- Auth: OAuth 2 (authorization code, authorization URL `https://newsmind.app/oauth/authorize`, token URL `https://newsmind.app/oauth/token`, scopes: `mcp`)

Star or unstar articles. starred=true adds the star, starred=false removes it. Operates on the stars table only; read state is preserved. Re-starring an already-starred article is a no-op.

## Request body

- object
  - `starred` boolean, required: true = star; false = unstar.
  - `article_ids` integer[], required: Article IDs to star or unstar.

## Response `200`

Success

- object
  - `starred` boolean
  - `updated` integer
  - `message` string

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `402`: Subscription required (trial expired or cancelled)
- `429`: Too many calls. Either the per-account rate limit ({error: "rate_limited", message}) or the account's in-flight work ({error: <sentence>, code: "busy"}). Wait Retry-After seconds.
- `500`: Server error on our side (error: internal_error). The team has been notified.
- `503`: Temporarily unable to answer. error: timeout (the request ran too long; narrow it), server_busy or tier_unavailable (retry after Retry-After seconds when sent).

---

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