Keen
Per-project event analytics: logging, queries and schemas
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Project IDRequiredIdentifier
- API key (Read Key or Master Key)SecretRequired
Where to find them
- Sign in to Keen (keen.io) and open your project: its identifier (“Project ID”) appears in the project settings.
- In the project's access keys section copy the “Read Key” (queries and reads; recommended) or the “Master Key” (allows everything, including writing and deleting events).
- Paste the project identifier and the key. The “Write Key” only works for sending events and fails the connection test.
Tools (1)
Keen API request
KEENIO_SEND_REQUESTAuthenticated call to the Keen API (https://api.keen.io/3.0/projects/{project}). Any endpoint of the API is allowed. Examples: GET /events (event collections and their properties), GET /queries/count?event_collection=purchases&timeframe=this_7_days, POST /queries/count_unique {"event_collection": "purchases", "target_property": "user.id", "timeframe": "this_30_days"}, POST /events/purchases {"amount": 25} (records an event; needs a Write Key or the Master Key).
Required scopes
No scopes required
Input
Keen API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

