Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/vanhecke/celmex is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with the same repo name found; no cached copy. Use another version.
Cortex scheduled XQL queries configured on the tenant.
A SearchArgs with no filters, sort, pagination, or
timeframe.
One scheduled XQL query configured on the tenant.
Trigger schedule for a ScheduledQuery. All
fields optional — only the subset relevant to the trigger type is
populated. triggerType = "date" populates runDate; "cron" populates
startDate / endDate / hour / minute / second / dayOfWeek /
week / month.
Paginated envelope returned by list.
POST /public_api/v1/scheduled_queries/list
Retrieve scheduled XQL queries currently configured on the tenant, with optional filters and pagination. Requires Instance Administrator permissions.
Arguments to insert. queries is the batch of definitions
to send.
One query definition to insert. relativeTimeMs is the rolling-window
size that the query inspects on every run, in epoch-milliseconds (e.g.
86400000 for the last 24 hours).
Trigger schedule for an inserted query. OneShot runs the query a
single time at runAtMs (epoch-milliseconds, must be in the future);
Cron runs on a recurring crontab-style schedule.
Cron-style trigger fields. Each Maybe String carries either a single
value (e.g. "5") or a comma-separated list / * wildcard accepted by
the Cortex scheduler. startDate / endDate bound the active window in
epoch-milliseconds; the other fields are minute/hour/etc.
The server-echoed definition returned in the InsertResult
dict, keyed by the assigned query_id. timeframe stays opaque for the
same reasons as ScheduledQuery.timeframe.
Outcome of an insert call: a Dict keyed by the assigned
query_id (e.g. "qc_1683461522_18780") → the echoed definition. Empty
for a request that was rejected before any item was processed.
POST /public_api/v1/scheduled_queries/insert — insert a batch of
scheduled XQL queries. The server assigns each query a fresh ID; consult
the keys of the returned InsertResult to delete or
manage them later.
Arguments to delete. ids may be the assigned query_id
strings or the human-readable query_definition_name values; the API
accepts either.
Per-id outcome inside DeleteResult. Deleted is the
server's true reply; DeleteFailed carries the human-readable rejection
reason.
Outcome of a delete call: a Dict keyed by the same
ids the caller submitted → success/failure.
Arguments to
list. All fields are optional; passdefaultSearchArgsfor an unfiltered request.extrais merged last intorequest_dataand overrides any SDK-generated key on collision — the endpoint'sextended_viewandlist_idsfields are reachable through it.