The response data type
The path parameters type (concrete, required values)
The query parameters type
Endpoint config: axios instance, queryClient, path, method, listPath
OptionalpathParams: MaybeRefOrGetter<Record<string, string | number | undefined> | null | undefined>Path parameters (reactive). Pass undefined for operations without path params.
Optionaloptions: Omit<Query options (staleTime, errorHandler, axiosOptions — but NOT queryParams/onLoad/enabled)
Execute a type-safe lazy query (GET/HEAD/OPTIONS) with imperative execution.
Lazy queries do not auto-execute. The
fetch()method must be called explicitly with query parameters. Results are cached and shared withuseQueryfor the same operation+params.This is a low-level primitive — in normal usage it is called by the generated per-operation
useLazyQuerywrappers inapi-client.ts, not directly.