Picker (Let AI Choose)
Picker (Let AI Choose)
**What:** Pick movies FROM the caller's own collection that best match a prompt, each with a one-line reason. Owner-only.
**Auth:** Bearer token required. Spends 1 daily AI action on success.
**Body (JSON):**
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| collectionId | string | yes | The caller's collection id. | `66b0c1d2e3f4a5b6c7d8e9f0` |
| prompt | string | yes | Natural-language ask. | `a tense thriller for tonight` |
| count | integer | no | How many to return. Clamped to 1-3 and to the collection size; invalid = 1. | `2` |
| exclude_ids | array | no | TMDB ids currently on screen (Smart Reroll soft filter). | `[550]` |
**Returns:** `data = [{ id, title, poster_path, vote_average, release_date, releaseYear, reason }]` + sibling `aiUsage`.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
prompt
collectionId
count
exclude_ids
Response
OK
ok
data
aiUsage
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
504
Gateway Timeout Error

