List the indexing logs
Every indexing Lookio ran, one line each: a file read, a web page or a site's page fetched, a text added, and each update of them. Latest first, with its status (indexed, failed with the reason, processing…), what reading found (pages, words, passages, warnings) and how long it took. A site's sync re-reads its changed pages: those found unchanged are left out unless include_unchanged=true. Filter by resource_id, status, source_type, q and from/to, and paginate with cursor. Costs nothing.
GET/v1/logs/indexing
Requires resources:read.
One line per indexing: a file read, a web page or a site’s page fetched, a text added, and each update of them. Results come latest first, and you page with cursor, an opaque string: pass next_cursor back unchanged. See Pagination.
A line carries the status, the resource it belongs to, what reading found (page_count, word_count, chunk_count, warnings), how long it took, and the error of a failed one. Statuses are queued, processing, indexed (searchable now), replaced (indexed, then replaced by a newer indexing), unchanged (re-read, same text), skipped (a newer indexing finished first) and failed.
By default the list leaves out unchanged and skipped, so a site’s weekly sync shows only what changed. Add include_unchanged=true to see every page it re-read. Narrow the list with resource_id (for a site, all its pages), status (comma-separated), source_type (file, url, site or text), q (words in the title, the file name or the page address) and from and to. status=failed is the quickest way to find what to retry.
See Logs. The figures over the same filters are in Retrieve the figures of the indexing 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.
cursorstringlength: 1–200 charsPass next_cursor from the previous page, unchanged.
limitintegerrange: 1–100Number of items to return. Values outside 1-100 are clamped, and the response reports the limit actually applied.
Response
List the indexing logs
dataobject[]requiredhas_morebooleanrequiredTrue when another page follows: pass next_cursor back as cursor.
next_cursorstringnullrequiredPass it back unchanged as cursor. Null on the last page.
limitintegerrequiredThe page size actually applied.
request_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