API Reference
Search
Local-database fuzzy search surface used by CLI/agents
Returns matches from the local database (titles + romanised/english aliases) with a 0..1 match score. Used by the CLI/agent surface; bypasses the audit middleware because it's read-only.
Authorization
bearerAuth AuthorizationBearer <token>
Pass an API token obtained from POST /api/v1/auth/login or POST /api/v1/api-tokens. Tokens have the prefix mlml_.
In: header
Query Parameters
q*string
Substring matched against title / title_zh / title_en
limit?integer
Range
1 <= value <= 100Default
20Response Body
application/json
curl -X GET "https://example.com/api/v1/search/anime?q=string"{ "items": [ { "id": "string", "bangumi_id": 0, "anilist_id": 0, "title": "string", "alt_titles": [ "string" ], "score": 0.1, "source": "local" } ]}