Keen Cached Queries API
The Keen Cached Queries API allows developers to create, manage, and retrieve pre-defined queries that are automatically refreshed on a schedule. Cached queries improve performance for frequently accessed analytics by storing pre-computed results, making them ideal for powering dashboards and embedded analytics experiences.
Keen Cached Queries API is one of 6 APIs that Keen publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Analytics, Caching, Performance, and Queries. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 5 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 3.0.
Requests are made against a single base URL, https://api.keen.io/3.0.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Keen Cached Queries API declares
2 security schemes
for authenticating requests.
An API key is passed in the header as Authorization (masterKey).
An API key is passed in the header as Authorization (readKey).
By default, every request must be authenticated.
masterKey— Keen Master Key for management endpoints.readKey— Keen Read Key for retrieving cached results.
Paths & Operations 5
Across 3 paths, the API surfaces 5 operations — 1 DELETE, 3 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Manage and retrieve cached queries that refresh on a schedule.
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are CachedQueryDefinition (2 properties), Error (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Keen 5
Other APIs Keen publishes across the network.