Search (AI Search)
Search (AI Search)
**What:** Turn a natural-language query into up to 50 real TMDB movies (Gemini proposes titles+years; each is resolved against TMDB).
**Auth:** Bearer token required. Spends 1 daily AI action on success.
**Body (JSON):**
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| query | string | yes | Natural-language search. Blank = 400. | `mind-bending sci-fi about dreams` |
| exclude_ids | array | no | TMDB ids on screen (Smart Reroll soft filter). | `[27205]` |
**Returns:** `data = [tmdbMovie]` (raw TMDB objects, no reason) + sibling `aiUsage`.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
query
Response
OK
ok
data
aiUsage
Errors
400
Bad Request Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error

