Skip to main content

Query usage log

In Liberator 2.4 and later, Super Admins can query usage_log — a standard Liberator dataset of one row per query per dataset. Use it to see who queried which dataset, which as_of / back_to window they requested, how many rows came back, and whether the query succeeded or was rejected. This is the per-query drill-down that monthly usage totals and AI-based reporting do not provide. It uses the same liberator.query API as any other dataset, including Python, REST, Excel, and MCP.
usage_log is Super Admin only. It is private and hidden from the standard user catalog. Regular users cannot discover or query it, and it is not granted through ordinary Data Permissions.

Who can query it

If a Super Admin query returns “not entitled” or the dataset is missing, usage logging may not be enabled on that instance. Contact CloudQuant.

Query the log

The query parameters as_of and back_to select when the usage occurred (when someone ran a query). They are not the date range those users requested — those values are columns on each row. The symbol / key is the dataset that was queried, not a ticker. symbols='daily_bars' returns usage rows for queries against daily_bars.
Recent queries are included as they complete — you do not wait for a daily rollup.

Record grain

One row per (query, dataset). A request that names several datasets produces several rows that share the same qid. Rejected queries still appear, with rows_returned of 0 and status of not_entitled, limit_exceeded, or error.

Columns

Do not confuse the columns as_of / back_to (what the user asked for) with the parameters as_of / back_to on your usage_log query (which slice of the log you want).

Status values

Retention

Records are kept for at least 30 days. Retention is configured for the instance — contact CloudQuant to change it.

AI-based reporting

Aggregated usage, user, and entitlement reports in the Admin UI

System monitoring

Cluster health, long queries, and license utilization

Fine-grained permissions

Caps that show up as limit_exceeded on usage_log

What's new in 2.4

Liberator 2.4 release notes