Skip to main content
GET
List Query History requests
API requests to the deployment, newest first. Covers the deployment’s production API requests that queried data (REST, GraphQL, SQL and WebSocket), as the Query History page in Cube Cloud shows them; requests to development branches and metadata calls are left out. How far back it reaches is the deployment’s Query History retention. Filters combine with AND. A page holds up to 200 requests (100 by default). An endCursor keeps its first page’s filters: with after, the other filters are ignored. Open a request with GET …/query-history/requests/{id} to see the SQL it generated.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Query Parameters

from
string | null

Only requests at or after this ISO 8601 date or date-time, UTC unless it names a zone. Defaults to 24 hours before to. A window that starts earlier than the deployment’s Query History retention answers 400.

Pattern: ^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(?:Z|[+-]\d{2}:?\d{2})?)?$
to
string | null

Only requests at or before this ISO 8601 date-time, UTC unless it names a zone. A date alone (2026-10-01) includes that whole day. Defaults to now.

Pattern: ^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(?:Z|[+-]\d{2}:?\d{2})?)?$
status
enum<string> | null

success, error, running (no response yet), or noResponse (no response, and silent for five minutes).

Available options:
success,
error,
running,
noResponse
apiType
enum<string>[] | null

The API the request came in on. Repeat the parameter to match any of several.

Maximum array length: 4
Available options:
rest,
graphql,
sql,
ws
minDurationMs
integer | null

Only requests that took at least this many milliseconds.

Required range: x >= 0
search
string | null

A substring of the query, the security context, the request id or the span id.

Maximum string length: 1000
after
string
first
integer
Required range: x >= 1

Response

200 - application/json
items
object[]
required
pageInfo
object
required