Retrieve the figures of the indexing logs
Indexings, indexed, failed, in progress, unchanged and words indexed, over the same filters as GET /v1/logs/indexing (without cursor and limit). Costs nothing.
GET/v1/logs/indexing/stats
Requires resources:read.
The totals behind the list of indexings, over the same filters (resource_id, status, source_type, q, include_unchanged, from, to) and without cursor or limit.
indexed counts the indexings that succeeded, including those since replaced. in_progress counts queued and processing. unchanged counts unchanged and skipped ones, and only when the filters include them.
See Logs.
Authorizations
Authorizationbearerin headerrequiredQuery parameters
resource_idstringpattern: ^res_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Only this resource's indexings (a site: all its pages).
statusstringlength: ≥ 1 charsOnly these statuses, comma-separated: queued, processing, indexed (searchable now), replaced (indexed, then replaced by a newer indexing), unchanged (re-read, same text), skipped (a newer indexing finished first), failed. Default: all but unchanged and skipped.
source_typeenum<string>one of: file, url, site, textOnly resources of this kind.
qstringlength: 1–200 charsWords in the resource's title, the file's name, or the page's address or title.
include_unchangedboolean | enum<string>Also list the pages a sync re-read and found unchanged. Default false.
fromstringOnly indexings started since this ISO 8601 date or timestamp.
tostringOnly indexings started until this ISO 8601 date or timestamp.
Response
Retrieve the figures of the indexing logs
dataobjectrequiredrequest_idstringrequiredPossible codes: invalid_request, unknown_field, invalid_parameter, invalid_cursor
errorobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired