Skip to main content

Nova API — /api/admin

The operations Nova tags public under /api/admin. Generated from reference-src/nova-openapi.json.

GET /api/admin/query-log/export​

Operation id query_log_export: in Python client.call("query_log_export", …), on the command line stardelt api query_log_export.

GET /api/admin/query-log/export?from=&cursor=&limit= — the whole log, ascending.

Administrator only. Every stored column of the query log, oldest first, a page at a time — the read a job copies into the platform's own tables so usage outlives the 90-day window. The order is ascending (createdAt, then id), so a writer keeps the nextCursor of one page and continues from it after a restart; nextCursor is null on the last page. limit is 1 to 1000, 500 by default; from is an epoch-millisecond lower bound. With NOVA_QUERY_LOG_REDACT_LITERALS=1 every statement shows '?' in place of each string literal.

Parameters

NameInTypeRequiredDescription
cursorquerystringNoThe nextCursor of the previous page; rows after it, ascending
fromqueryintegerNoCreated at or after this time, epoch milliseconds
limitqueryintegerNoPage size from 1 to 1000; 500 by default

Responses

CodeDescription
200One ascending page of the whole log
400A parameter is not valid; the message names it
401Not signed in
503The state store is not configured