Перейти к содержимому

API: analytics

Статус: GA Доступ: по токену контракт API: 0.3.0 · capability 2026-09-03.1 Открыть как Markdown Открыть в Claude Открыть в ChatGPT

Collect

Открыть отдельной страницей →

Trigger a collection run (idempotent; safe to re-run).

collect=false runs the cheap SYNCHRONOUS mode: external collectors are not called, only the ingest of already-fetched files and topic scoring run, and the caller gets the RESULT instead of an “accepted” — so a scheduled caller can tell whether the loop actually computed.

Авторизация: нужен Authorization: Bearer <token>

ПараметрГдеОбязателенТипОписание
Idempotency-KeyheaderнетstringOptional.

Тело запроса: application/json — схема CollectTrigger

ПолеТипОбязательноОписание
collectbooleanнет
datestring | nullнет
with_psibooleanнет

Ответы:

КодСмыслТело
200Successful Responseobject
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Instance Dashboard

Открыть отдельной страницей →

Everything one per-instance analytics panel needs (snapshot + trends + queries + pages + index).

Авторизация: нужен Authorization: Bearer <token>

ПараметрГдеОбязателенТипОписание
instance_idpathдаstring

Ответы:

КодСмыслТело
200Successful ResponseInstanceDashboard
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Overview

Открыть отдельной страницей →

Cross-instance grid: latest snapshot KPIs + health per instance.

Авторизация: нужен Authorization: Bearer <token>

Ответы:

КодСмыслТело
200Successful ResponseOverviewResponse
401Missing or invalid authentication credentialsErrorResponse

Runs

Открыть отдельной страницей →

Recent collection-run manifests.

Авторизация: нужен Authorization: Bearer <token>

Ответы:

КодСмыслТело
200Successful Responseмассив CollectionRunRead
401Missing or invalid authentication credentialsErrorResponse