---
title: "Star or unstar one model for the whole company"
method: PUT
path: "/models/favorites"
tags: ["Agent Options"]
---

# Star or unstar one model for the whole company

`PUT /models/favorites`

## Request

- Base URL: `https://api.atako.ai`
- URL: `https://api.atako.ai/models/favorites`
- Auth: HTTP bearer

Idempotent both ways. Starring rejects a slug absent from the OpenRouter catalog; unstarring never validates, so a model that left the catalog stays removable. Returns the up-to-date list.

## Request body

- object
  - `slug` string, required: OpenRouter model slug, from GET /models/catalog.
  - `favorite` boolean, required

## Response `200`

- string[]

## Other responses

- `400`: Missing `slug`/`favorite`, or a slug unknown to the OpenRouter catalog.
- `401`: Missing, malformed, or invalid bearer token / API key, or revoked session (SESSION_REVOKED).

---

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