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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | No | The nextCursor of the previous page; rows after it, ascending |
from | query | integer | No | Created at or after this time, epoch milliseconds |
limit | query | integer | No | Page size from 1 to 1000; 500 by default |
Responses
| Code | Description |
|---|---|
200 | One ascending page of the whole log |
400 | A parameter is not valid; the message names it |
401 | Not signed in |
503 | The state store is not configured |