vanhecke/celmex/2.0.0

NOTE: the latest version is 3.0.0

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.

Details

Cortex.Api.ScheduledQueries

Cortex scheduled XQL queries configured on the tenant.

type alias SearchArgs =
{ filters : List Filter
, sort : Maybe Sort
, range : Maybe Range
, timeframe : Maybe Timeframe
, extra : List ( String, Value )
}

Arguments to list. All fields are optional; pass defaultSearchArgs for an unfiltered request. extra is merged last into request_data and overrides any SDK-generated key on collision — the endpoint's extended_view and list_ids fields are reachable through it.

defaultSearchArgs : SearchArgs

A SearchArgs with no filters, sort, pagination, or timeframe.

{ data : List Value
, filterCount : Maybe Int
, totalCount : Maybe Int
}

Scheduled-query records contain a large, flexible set of fields (XQL text, timeframe, tenants, trigger config, etc.) that vary by query type. We preserve each record as raw JSON and only type the top-level envelope counters.

list : SearchArgs -> Request ScheduledQueriesResponse

POST /public_api/v1/scheduled_queries/list