Query the tenant's knowledge graph.
Run a natural-language query against the tenant's knowledge graph.
Who answers (ADR-082): a JWT (dashboard session) request gets a synthesised answer (DeepSeek V3 via OpenRouter) plus best-effort source references. An API-key request never calls our model at all — the server returns retrieved material instead (see context_only and hl_keywords/ll_keywords below for the exact shape); metadata.model reads context-mode-no-llm and metadata.mode reports the search mode actually used (which may not be the one requested — see hl_keywords).
Empty graph: If no documents have been indexed yet, the endpoint returns answer='Недостаточно данных для ответа.' without calling the LLM.
Cost cap: Requests are blocked with 402 when the tenant's daily cost cap is reached (error=cost_cap_exceeded; comes back within 24 hours), OR — on the free tier — when the calendar-month cap is reached (error=cost_cap_monthly_exceeded; the body carries retry_after seconds and the response the Retry-After header: the allowance comes back on the 1st of the next month, 00:00 UTC; when both caps are used up the answer is the monthly one), OR when the platform-wide daily spend cap is reached and this tenant is billed on the platform key (error=platform_budget_paused, ADR-066 — the body carries no cap field for this reason, unlike the per-tenant one; a tenant on their own key is never affected). Neither cap applies to an API-key request — it spends nothing.
modes local / global / naive: x-experimental — may return an empty answer when the knowledge graph is sparse.
Request
- Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
- URL: https://api.andish.ru/v1/query
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.