Unleash is a feature management platform that lets engineering teams release features safely using feature flags. It enables teams to control which users see a feature, roll out changes gradually across environments, run experiments with variants, and track how their applications use feature flags. Unleash is available as a hosted service (Unleash Cloud) and as a self-hosted deployment.
Hevo uses the Unleash Admin API to replicate data from your Unleash instance to the Destination of your choice. To connect to your Unleash instance, you must provide Hevo with the URL of the instance and an API token, which can be a personal access token or a service account token.
Supported Features
| Feature Name |
Supported |
| Capture deletes |
Yes (for some objects) |
| History mode |
No |
| Custom data (user-configured tables & fields) |
No |
| Data blocking (skip objects and fields) |
Yes |
| Resync (objects and Pipelines) |
Yes |
| API configurable |
Yes |
Prerequisites
-
An active Unleash Cloud or self-hosted Unleash instance exists from which data is to be ingested.
-
The URL of your Unleash instance is available. This is the address at which you open Unleash in your browser. For example, https://eu.app.getunleash.io/<instance> or https://eu.app.unleash-hosted.com/<instance> for Unleash Cloud, or https://unleash.example.com for a self-hosted instance.
-
An API token is available, owned by a user or a service account that is assigned the Viewer root role or higher. To ingest the users, groups, and service_accounts objects, the owner must be assigned the Admin root role.
Obtain the API Token
Hevo connects to your Unleash instance using an API token for the Unleash Admin API. You can use one of the following token types:
-
Personal access token: A token tied to your Unleash user account. It has the same access as your user.
-
Service account token: A token tied to a service account, which is not linked to a specific user. Service accounts are available only in Unleash Enterprise.
Backend and frontend SDK tokens cannot read the Admin API, and Hevo does not accept them.
Create a Personal Access Token
Perform the following steps to create a personal access token:
-
Log in to your Unleash instance.
-
In the top right corner, click your profile icon, and then click Profile settings.

-
In the left pane, click Personal API tokens.

-
On the Personal API tokens page, click New token.

-
On the Create personal API token page, do the following:

-
Specify a Description for the token. For example, Hevo Pipeline Token.
-
From the Token will expire in drop-down, select the period after which the token expires. For example, 30 days.
-
Click Create token.
-
In the Personal API token created dialog, click the copy icon to copy the token, and save it securely like any other password. Then, click Close.

You have created a personal access token.
Create a Service Account Token
Note: Service accounts are available only in Unleash Enterprise.
Perform the following steps to create a service account and its token:
-
Log in to your Unleash instance as a user who is assigned the Admin root role.
-
In the left navigation pane, click Admin settings, and then click Service accounts.

-
On the Service Accounts page, click New service account.

-
On the New service account page, do the following:

-
Specify a Service account name. For example, Hevo Pipeline. Unleash fills in the Service account username based on the name. You can change it if needed.
-
From the Role drop-down, select a root role for the service account. For example, Admin. Read Prerequisites for the role that Hevo requires.
-
In the Token section, select Generate a token now, and then do the following:
-
Specify a Description for the token. For example, Hevo Pipeline Token.
-
From the Token will expire in drop-down, select the period after which the token expires. For example, 30 days.
-
Click Add service account.
-
In the Service account token created dialog, click the copy icon to copy the token, and save it securely like any other password. Then, click Close.

You have created a service account and its token.
Note: Unleash displays the token only once. After you close the dialog, the token cannot be retrieved. If the token is lost, you must create a new one and modify the Source configuration in the Pipeline with the new token.
Use this API token while configuring your Unleash Source in Hevo. If the API token configured in the Pipeline expires or is revoked manually from your Unleash instance, Hevo cannot authenticate with the Source. As a result, all active jobs for the Pipeline fail, and no data is replicated. To resume data replication, modify the Source configuration in the Pipeline with a valid API token. Once the updated token is saved, Hevo re-authenticates the Source, and data ingestion resumes from the last saved offset.
Perform the following steps to configure your Unleash Source:
-
Click Pipelines in the Navigation Bar.
-
Click + Create Pipeline in the Pipelines List View.
-
On the Select Source Type page, select Unleash.
-
On the Select Destination Type page, select the type of Destination you want to use.
-
On the Configure Source page, specify the following:

-
Source Name: A unique name for your Source, not exceeding 255 characters. For example, Unleash Source.
-
In the Connect to your Unleash instance section, specify the following:
-
Unleash URL: The address at which you open your Unleash instance in your browser. On Unleash Cloud, the URL includes your instance name. For example, https://eu.app.getunleash.io/<instance>. Hevo adds https:// to the URL if you do not specify it, and removes /api from the end of the URL.
Note: You cannot change this value after the Pipeline is created.
-
API Token: The personal access token or service account token that you obtained from your Unleash instance.
-
Click Test & Continue to test the connection to your Unleash Source. Once the test is successful, you can proceed to set up your Destination.
When you click this button, Hevo performs the following validations:
-
The Unleash URL is a valid http or https address.
-
Hevo can connect to the host specified in the Unleash URL.
-
The Unleash URL leads to the Unleash Admin API. For example, on Unleash Cloud, the URL includes your instance name.
-
The API token is valid, and it has not expired or been revoked.
-
The API token can read the Unleash Admin API. Backend and frontend SDK tokens fail this check.
Data Replication
Hevo replicates data for all the objects selected on the Configure Objects page during Pipeline creation. By default, all supported objects and their available fields are selected. However, you can modify this selection while creating or editing the Pipeline.
The features object has four child objects: feature_environments, feature_strategies, feature_tags, and feature_variants. Selecting the features object includes all its child objects for replication. You cannot select, deselect, or resync a child object individually. To resync a child object, resync the features object, which also resyncs all its child objects.
Hevo ingests the following types of data from your Source objects:
-
Historical Data: The first run of the Pipeline ingests all available historical data for the selected objects and loads it into the Destination. For the events object, this includes all the events in the Unleash event log. For the feature_metrics object, this includes the hourly metrics of the last 48 hours.
-
Incremental Data: Once the historical load is complete, new and updated records for objects are ingested as per the sync frequency.
Hevo ingests the objects as follows in the incremental runs:
| Object |
Incremental data |
| events |
The events created since the day before the most recent event ingested in the previous run. Hevo reads this one-day overlap again so that no event is missed, and updates these events in the Destination. |
| feature_metrics |
The hourly metrics since the latest hour ingested in the previous run. Hevo reads the two hours before that hour again, because Unleash can still add reports to them, and updates them in the Destination. In the first run, or if the Pipeline did not run for 48 hours, Hevo reads the metrics of the last 48 hours. |
|
feature_environments, feature_strategies, feature_tags, and feature_variants
|
All the records of the child objects, along with the features object. Hevo replaces the data in the Destination tables with the data ingested from Unleash. |
| All other objects |
All the records available in the Source. |
Note: You can create a Pipeline with this Source only using the Merge load mode. The Append mode is not supported for this Source.
Unleash does not document rate limits for the Admin API endpoints that Hevo uses to read data. If Unleash returns a rate limit exception, Hevo retries the request. To understand how Hevo handles such scenarios, read Handling Rate Limit Exceptions.
Schema and Primary Keys
Hevo uses the following schema to upload the records in the Destination. For a detailed view of the objects, fields, and relationships, click the ERD.
Data Model
The following is the list of tables (objects) that are created at the Destination when you run the Pipeline:
| Object |
Description |
| applications |
Contains the applications that connect to Unleash through an SDK, such as the application name, SDK version, URL, strategies used, environments, projects, and when each application was last seen. |
| change_requests |
Contains the change requests raised for changes to feature flags and segments, such as the title, project, environment, state, creator, schedule, and the features and segments that each change request affects. |
| context_fields |
Contains the context fields defined for use in strategy constraints, such as the name, description, legal values, stickiness setting, project, and the number of features and projects that use each field. |
| environments |
Contains the environments configured in your Unleash instance, such as development and production, including the type, enabled and protected status, sort order, required approvals, and the number of projects, API tokens, and enabled flags in each environment. |
| events |
Contains the events recorded in the Unleash event log, such as changes to feature flags, strategies, and projects, including the event type, creator, project, environment, feature flag, and the data before and after each change. |
| feature_metrics |
Contains the hourly usage metrics of each feature flag for each environment and application, such as the number of times the flag evaluated to enabled (yes) and disabled (no), and the variant counts. Hevo does not load the hours in which a feature flag was not evaluated. |
| feature_types |
Contains the feature flag types available in Unleash, such as release, experiment, and operational, including the description and expected lifetime of each type. |
| features |
Contains the active and archived feature flags in your Unleash instance, such as the type, project, description, stale status, lifecycle stage, segments, creator, and creation and archive times. It includes the following child objects: - feature_environments - feature_strategies - feature_tags - feature_variants
|
| groups |
Contains the user groups in your Unleash instance, such as the name, description, root role, SSO mappings, members, projects, and the number of users in each group. |
| projects |
Contains the projects in your Unleash instance, such as the name, description, mode, owners, health, technical debt, default stickiness, and the number of features, stale features, and members in each project. |
| roles |
Contains the root and project roles defined in your Unleash instance, such as the role type, name, description, and project. |
| segments |
Contains the segments defined in Unleash, which are reusable sets of constraints, such as the name, description, constraints, project, creator, and the number of features and projects that use each segment. |
| service_accounts |
Contains the service accounts in your Unleash instance, such as the name, username, root role, and when each account was created and last seen. |
| strategies |
Contains the built-in and custom activation strategies available in Unleash, such as the name, display name, description, parameters, and whether each strategy is editable or deprecated. |
| tag_types |
Contains the tag types defined in Unleash for tagging feature flags, such as the name, description, icon, color, and the number of values and projects for each tag type. |
| users |
Contains the users of your Unleash instance, such as the name, email address, username, root role, account type, seat type, permissions, and when each user was created and last seen. |
Read the detailed Hevo documentation for the following related topics:
Handling of Deletes
Hevo handles deleted records differently based on how data is ingested for an object.
Hevo ingests all the records of the following objects in each Pipeline run. When a record is no longer available in Unleash, Hevo sets the value of the metadata column _hevo_marked_deleted to True for the record in the Destination:
-
applications
-
change_requests
-
context_fields
-
environments
-
feature_types
-
features
-
groups
-
projects
-
roles
-
segments
-
service_accounts
-
strategies
-
tag_types
-
users
An archived feature flag is not a deleted record. It remains in the features table with the date and time of archiving in the archived_at field. When you permanently delete an archived flag, Hevo marks the record as deleted.
For the child objects of features, Hevo replaces the data in the Destination tables with the data ingested from Unleash in each Pipeline run. As a result, the child records deleted in Unleash, such as a strategy or a tag removed from a feature flag, are removed from the Destination.
The following objects do not support capturing deletes:
Source Considerations
-
The change_requests, groups, roles, and service_accounts objects use features that are available only in Unleash Enterprise, such as change requests, service accounts, user groups, and custom roles. If your Unleash plan does not include these features, or the API token cannot read one of these objects, Hevo marks the object as Inaccessible and skips it. The other objects in the Pipeline are ingested as usual.
-
Unleash provides the raw hourly usage metrics of a feature flag only for the last 48 hours. As a result, if the Pipeline does not run for more than 48 hours, for example, while it is paused, the metrics of the hours in between are not ingested.
-
The number of events available for the events object depends on how long your Unleash instance retains its event log. Unleash Enterprise retains the audit log for up to two years. Read Unleash Open Source vs Enterprise.