Queries

Retrieves a paginated list of Queries consumed within the specified date range.

In Kimola, a Query represents a unit of package consumption (e.g., text classification, scraping, or tracking tasks such as collecting customer feedback).

This endpoint allows developers to review Queries spent by their account over a given period, with optional pagination parameters.

<b>pageIndex</b>: Defaults to 0 if not provided.
<b>pageSize</b>: Defaults to 10 and cannot exceed 10.
<b>startDate</b>: If null, defaults to one month before the current UTC time.
<b>endDate</b>: If null, defaults to the current UTC time.

get/v1/Queries

Query parameters

pageIndexinteger

Zero-based page index. Defaults to 0.

pageSizeinteger

Number of queries per page. Defaults to 10 and cannot be larger than 10.

startDatestring date-time

Optional UTC start date for filtering queries. Defaults to one month before now if not provided.

endDatestring date-time

Optional UTC end date for filtering queries. Defaults to current time if not provided.

Response

Successful operation. Returns a paginated array of Queries.

Changes

No recorded changes to this endpoint across all 1 revision of this API.