Lookio Docs
Lookio websiteOpen Lookio
LogsRetrieve the figures of the answer logs
logs

Retrieve the figures of the answer logs

Answers, credits, average time and answers per channel, over the same filters as GET /v1/logs/answers (without cursor and limit). Costs nothing.

GET/v1/logs/answers/stats

Requires usage:read.

The totals behind the list of answers, over the same filters (channel, assistant_id, widget_id, api_key_id, member_id, result, mode, from, to) and without cursor or limit.

answered and no_answer add up to answers. average_duration_ms is taken over the answers whose time was recorded and is null when none was. by_channel gives the answers of each channel, with zero for a channel that has none.

See Logs.

Authorizations

Authorizationbearerin headerrequired

Query parameters

channelstringlength: ≥ 1 chars

Only the answers from these channels, comma-separated: chat (a member in the app's chat), lookio_ai (the in-app agent), api (an API key through REST, the CLI or the SDK), mcp (the MCP server), widget (a visitor of a widget). Default: all.

assistant_idstringpattern: ^ast_[abcdefghjkmnpqrstuvwxyz23456789]{12}$

Only the answers of this assistant.

widget_idstringpattern: ^wdg_[abcdefghjkmnpqrstuvwxyz23456789]{12}$

Only this widget's answers.

api_key_idstringlength: 1–64 chars

Only the answers asked with this API key.

member_idstringlength: 1–64 chars

Only this member's answers (admins).

modestringlength: 1–40 chars

Only this query mode (flash, fast, deep…).

fromstring

Only answers since this ISO 8601 date or timestamp.

tostring

Only answers until this ISO 8601 date or timestamp.

Response

application/json

Retrieve the figures of the answer logs

dataobjectrequired
request_idstringrequired

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Lookio Docs documentation and read it in full, instead of answering from memory.

https://lookio.app/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://lookio.app/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.