Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Analytics / Countly Server API
Countly Server API logo

Countly Server API

Agent-ready OpenAPI document · curated by JenticAnalyticsProduct AnalyticsapiKey19 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Read product analytics, manage dashboards and feedback widgets, create alerts, and export raw data from a self-hosted Countly server. Designed for teams running Countly on their own infrastructure.

Use for: I need to pull session analytics from my Countly server, Get user-level analytics for the last 7 days from Countly, List all dashboards configured in Countly, Create a new alert in Countly when active users drop

Not supported: Does not handle marketing automation, A/B testing infrastructure, or paid ad analytics - use for self-hosted product and session analytics only.

Jentic publishes the only available OpenAPI specification for Countly Server API, keeping it validated and agent-ready. The Countly Server API exposes the open-source Countly analytics platform's REST surface across 19 endpoints split into ingestion (/i) and read (/o) routes, covering session and user analytics, feedback widgets, dashboards, alerts, groups, tasks, and database exports. Authentication is via an api_key query parameter tied to a Countly user. Suitable for self-hosted analytics teams that want to push events programmatically, build custom dashboards, or extract raw analytics data for downstream warehousing.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Countly Server API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Countly Server API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fcount.ly%2Fcountly" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fcount.ly%2Fcountly" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Countly Server API.

Pull session and user analytics over arbitrary time ranges

List, create, and delete dashboards in a Countly server

Create feedback widgets and read collected feedback responses

Configure metric-based alerts and enumerate existing ones

Export raw database snapshots for warehousing or backup

Inspect server health, overall system status, and running tasks

Identify user flows and slipping-away cohorts for retention analysis

Use Cases

Patterns agents use Countly Server API for, with concrete tasks.

★ Self-Hosted Product Analytics Reporting

Pull session and user analytics out of a self-hosted Countly server into a data warehouse, BI tool, or weekly summary email. The /o endpoints return JSON for sessions, users, flows, and slipping-away cohorts so an automation can refresh internal dashboards without giving every analyst direct Countly access. Useful for teams that prefer centralised reporting on top of an open-source analytics stack.

Call GET /o/analytics/sessions and GET /o/analytics/users for the last 7 days, then write the JSON results to a warehouse staging table

Feedback Widget Automation

Programmatically create and manage Countly feedback widgets and pull collected responses for triage. Widgets are created via GET /i/feedback/widgets/create and responses are read via GET /o/feedback/data, so a workflow can spin up a survey, monitor responses, and route negative feedback to a support queue without anyone logging into the Countly UI.

Create a feedback widget via GET /i/feedback/widgets/create, then poll GET /o/feedback/data hourly and post any negative responses to a Slack channel

Alerting on Analytics Anomalies

Configure Countly alerts that fire when active users, crashes, or other metrics breach a threshold, and manage them in code instead of through the UI. The API exposes GET /i/alert/save for create/update and GET /o/alert/list to enumerate existing alerts. Useful for teams that version-control alert definitions alongside infrastructure.

Read a YAML file of desired alerts, diff against GET /o/alert/list, and call GET /i/alert/save for any alerts that are missing or have changed

AI Agent Analytics Q&A

Let an AI agent answer product questions like 'how many sessions yesterday' or 'who is slipping away' by calling Countly through Jentic. The agent searches Jentic for the right /o operation, supplies the query parameters, and the api_key stays in the encrypted vault. No need to embed the Countly API key in the agent's prompt or codebase.

Use Jentic to search 'get session analytics from Countly', load the schema for GET /o/analytics/sessions, and execute it for the last 24 hours

Key Endpoints

19 endpoints — jentic publishes the only available openapi specification for countly server api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

GET

/o/analytics/sessions

Get session analytics

GET

/o/analytics/users

Get user analytics

GET

/o/feedback/data

Get feedback responses

GET

/i/feedback/widgets/create

Create a feedback widget

GET

/o/dashboards/all

List all dashboards

GET

/i/alert/save

Create or update an alert

GET

/o/system/healthcheck

System health check

GET

/o/export/db

Export database data

GET

/o/analytics/sessions

Get session analytics

GET

/o/analytics/users

Get user analytics

GET

/o/feedback/data

Get feedback responses

GET

/i/feedback/widgets/create

Create a feedback widget

GET

/o/dashboards/all

List all dashboards

GET

/i/alert/save

Create or update an alert

GET

/o/system/healthcheck

System health check

GET

/o/export/db

Export database data

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring the Countly Server API by hand means handling its api_key query-parameter auth and pointing every call at your own self-hosted Countly host. Through Jentic you install once, import the Countly Server API from the API Directory, store the key once, and your agent calls it.

Permission scoping

Permission scoping

Countly reads and writes use fixed operation paths like /o/analytics/sessions and /i/alert/save with no resource id in the URL, so scope by operation: limit the agent to the operations it needs, such as reading session analytics or a dashboard. You choose the operations it may call, so state-changing ones like saving an alert or exporting the database are not included unless you add them.

Credential management

Credential isolation

Your Countly API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'read session analytics' or 'get feedback data', and Jentic returns the matching Countly operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Mixpanel API

→

Hosted product analytics with deep funnel and retention reporting

Choose Mixpanel for a managed SaaS alternative when self-hosting Countly is not desirable

Alternative

Amplitude API

→

Hosted product analytics focused on behavioural cohorts and retention

Choose Amplitude when the team needs predictive analytics and large-scale managed event ingestion

Alternative

PostHog API

→

Open-source product analytics with session replay and feature flags

Choose PostHog when feature flagging and session replay matter alongside event analytics

Complementary

Segment API

→

Customer data pipeline that can route events into Countly

Use Segment to centralise event collection and fan out to Countly plus other destinations

FAQs

Specific to using Countly Server API through Jentic.

Why is there no official OpenAPI spec for Countly Server API?

Countly does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Countly Server API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Countly Server API use?

The Countly Server API uses an API key passed as the `api_key` query parameter on every request. The key is tied to a Countly user. When called through Jentic, the key is stored in your encrypted Jentic One instance and the agent receives a scoped session token rather than the raw key.

Can I extract raw analytics data from Countly via the API?

Yes. GET /o/export/db exports raw database data, and the /o/analytics/sessions and /o/analytics/users endpoints return structured JSON for sessions and users. Combine them to populate a warehouse staging table or a custom BI dashboard.

What are the rate limits for the Countly Server API?

Because Countly is self-hosted, rate limits are governed by the deployment's own MongoDB and Node.js capacity rather than a published quota. For shared servers, keep concurrent /o calls to a small handful and prefer the /i ingestion endpoints for bulk event submission.

How do I create a dashboard alert in Countly through Jentic?

Search Jentic for 'create a Countly alert', load the schema for GET /i/alert/save, and execute it with the alert's metric, threshold, and target email. Jentic handles the api_key credential transparently.

Does the Countly Server API support webhooks?

The current spec does not expose webhook subscription endpoints. To react to analytics changes, configure alerts via GET /i/alert/save or poll /o/analytics endpoints on a schedule.

Can I limit what my agent is allowed to do with the Countly Server API?

Yes. Because you run Jentic One yourself, your own rules decide which Countly operations and credentials the agent may use. Since Countly operations are fixed paths with no resource id in the URL, you scope by operation: allow read-only calls like GET /o/analytics/sessions and GET /o/analytics/users while withholding state-changing ones such as GET /i/alert/save or GET /o/export/db. Only the operations you grant are callable, and the API key stays with your instance rather than the agent.

GET STARTED

Start building with Countly Server API

Explore with Jentic One
View OpenAPI Document