animedex.api.trace
animedex api trace raw passthrough.
Backend: Trace.moe (api.trace.moe).
Rate limit: anonymous tier concurrency 1, quota 100/month.
— LLM Agent Guidance — Two paths:
GET /mereports the caller’s quota state ({id, priority, concurrency, quota, quotaUsed}); free, no quota cost.GET /search?url=<encoded>&anilistInfosearches for a screenshot anime match. Each call consumes one from the monthly quota.POST /searchwith raw image bytes is also supported.
Errors: HTTP 402 (quota exhausted), 429 (concurrency exceeded), 503 (backend overload), 403 (target image fetch failed).
quotaUsed is returned as a string in the response; downstream
mappers must coerce.
— End —
call
- animedex.api.trace.call(path: str, *, method: str = 'GET', headers: Dict[str, str] | None = None, params: dict | None = None, raw_body: bytes | None = None, no_cache: bool = False, cache_ttl: int | None = None, rate: str = 'normal', follow_redirects: bool = True, user_agent: str | None = None, timeout_seconds: float | None = None, cache=None, session=None, rate_limit_registry=None, config=None) RawResponse[source]
Issue a Trace.moe request and return its envelope.