For AI agents: the documentation index is at /llms.txt. Every page is also available as Markdown at its address with .md appended, or with index.md appended when the address ends in a slash.
Check the status of an aggregate export job. When the job's status is FINISHED, the response includes a signed response_url you can use to download the export.
Parameters
app_idstringqueryRequired
Unique identifier for the Branch app of the requested data.
job_idstringpathRequired
The unique ID of the request. Obtained from the Export Request.
formatenumquery
Format of the returned data: json or csv.
csvjson
limitintegerquery
The maximum number of results to return.
Returns
Current status of the aggregate export job. When status is FINISHED, response_url contains the signed download link. Returns 400, 404, and 429 on failure — see the response panel for the error shape.
Request aggregate export
POST/analytics
By passing in the appropriate options, you can initiate an export of your aggregate Branch data.
Parameters
data_sourceenumRequired
A string value representing the data source. See Topics for the complete list.
The end of the interval time range represented as an ISO-8601 complete date.
start_datestringRequired
The start of the interval time range represented as an ISO-8601 complete date.
aggregationenum
How to count events toward the final result count. When querying with a data source of "eo_commerce_event", the aggregation may also be specified as "revenue", in which case the counts returned are the sum of revenue from matching events, and not the number of events themselves.
If true, then Branch will dedupe unattributed installs caused by duplicate events from non-opt-in users coming from paid ads (resulting from iOS 14.5 privacy changes).
filtersobjectExpandable
Keys are the same as dimensions. Values are an array of values to match for the dimension.
An object defining filters to match or disallow certain values.
filters.namearray of string
The name of the event, such as "CLICK", "INSTALL", "PURCHASE", or custom event names like "UpdateSettings". Set either by the client (for example, custom events) or automatically server side. See events for the Standard Events enum.
filters.app_idarray of string
Unique identifier for the Branch app of the requested data.
filters.app_namearray of string
The name of your Branch app.
filters.originarray of enum
Whether the event originated with a Branch SDK/API call, or was sent by Segment or mParticle. Set automatically server side.
BRANCHSEGMENTMPARTICLE
filters.timestamparray of string
Unix timestamp in milliseconds for the event. Set automatically server side.
filters.deep_linkedarray of enum
True if the current app or web session resulted in the user being deep linked. Set automatically server side.
truefalse
filters.from_desktoparray of enum
True if the last attributed touch originated on desktop and the user continued through to mobile via Text Me The App. Set automatically server side.
truefalse
filters.attributedarray of enum
Whether the event is attributed. This will always be accompanied by last_attributed_touch_type and last_attributed_touch_data. Set automatically server side.
truefalse
filters.user_data_osarray of enum
Operating system (OS) of the device where the event occurred. Note that robots include web and app robots for easy filtering. Specified by the client.
Language specified in the user_agent string (or, in some cases, other headers). Specified by the client.
filters.user_data_platformarray of string
Convenience dimension that lets you easily see web versus app, desktop versus mobile, and iOS versus Android versus other. Derived from information specified by the client.
filters.user_data_environmentarray of enum
Runtime environment where the event occurred, which can distinguish between, for example, full app and instant app. Specified by the client.
Country code, derived from IP address. Set automatically server side.
filters.user_data_countryarray of string
Country, derived from user agent string or request body field. Specified by the client.
filters.user_data_cpp_levelarray of string
Consumer Protection Preference level.
filters.user_data_geo_region_enarray of string
Human-readable region, derived from IP address. Set automatically server side.
filters.user_data_opted_inarray of enum
Boolean for whether the second OPEN can be inferred as INSTALL after opt-in. If set, the event can be considered as our synthetic OPEN generated by api-open by inspecting incoming event parameters with persona data. If the event isn't considered as the second OPEN, the flag isn't present. Only available for iOS 14.5 or higher.
truefalse
filters.user_data_opted_in_statusarray of string
Current authorization status of the opt-in flag for iOS 14.5 or higher traffic. The flag is sent directly from the SDK.
filters.last_attributed_touch_typearray of enum
Whether the last attributed touch was an impression, a click, or a web-to-app auto redirect. Set automatically server side.
CLICKWEB_TO_APP_AUTO_REDIRECTIMPRESSION
filters.last_attributed_touch_data_tilde_campaignarray of string
Campaign (name) specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_campaign_idarray of string
Campaign ID specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_channelarray of string
Channel specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_featurearray of string
Feature specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_stagearray of string
Stage specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_tagsarray of string
Tags specified for the last attributed touch. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_advertising_partner_namearray of string
Human-readable advertising partner name specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_advertising_partner_idarray of string
ID for the advertising partner specified for the last attributed touch. Set automatically server side or specified by the client, for now, specific to partners migrating from TUNE.
filters.last_attributed_touch_data_tilde_secondary_publisherarray of string
Secondary publisher specified for the last attributed touch. Passed by the ad network.
filters.last_attributed_touch_data_tilde_creative_namearray of string
Creative name specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_creative_idarray of string
Creative ID specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_ad_set_namearray of string
Ad set name specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_ad_set_idarray of string
Ad set ID specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_ad_namearray of string
Ad name specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_ad_idarray of string
Ad ID specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_keywordarray of string
Keyword specified for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_keyword_idarray of string
Keyword ID for the last attributed touch. Set automatically server side.
filters.last_attributed_touch_data_tilde_placementarray of string
Placement of the last touch, as set with an analytics tag. Actual app or website the ad appears on in display campaigns.
filters.last_attributed_touch_data_tilde_agencyarray of string
Agency of the last touch, as set with an analytics tag. The agency that runs ad campaigns on behalf of the advertiser.
filters.last_attributed_touch_data_tilde_agency_idarray of string
ID of the agency of the last touch, as set with an analytics tag. The agency that runs ad campaigns on behalf of the advertiser.
filters.last_attributed_touch_data_tilde_customer_secondary_publisherarray of string
Customer secondary publisher.
filters.last_attributed_touch_data_tilde_customer_ad_set_namearray of string
Customer ad set name.
filters.last_attributed_touch_data_tilde_customer_ad_namearray of string
Customer ad name.
filters.last_attributed_touch_data_tilde_customer_keywordarray of string
Customer keyword.
filters.last_attributed_touch_data_tilde_customer_placementarray of string
Customer placement.
filters.last_attributed_touch_data_tilde_customer_sub_site_namearray of string
Customer sub site name.
filters.last_attributed_touch_data_tilde_customer_campaignarray of string
Customer campaign.
filters.last_attributed_touch_data_dollar_marketing_titlearray of string
Whether the Meta mobile data terms have been signed for the last attributed touch. When true, Meta doesn't require Branch to scrub Meta-related data from this attribution record.
filters.last_attributed_touch_data_dollar_3parray of string
The third party that was part of the last touch.
filters.last_attributed_touch_data_plus_current_featurearray of enum
Branch feature (determined by Branch) of the current touch. Set automatically server side.
filters.last_attributed_touch_data_plus_via_featuresarray of enum
All Branch features (determined by Branch) that were determined, via attribution, to have led to this event. For example, if an email link click leads to a Journey that leads to the app, the published eo_open will have +via_features: [EMAIL, JOURNEYS]. Set automatically server side.
Whether PAM was enabled for the last attributed touch.
filters.last_attributed_touch_data_tilde_journey_idarray of string
Audience rule ID for a Journey. Set automatically server side.
filters.last_attributed_touch_data_tilde_view_namearray of string
"View Name" or "title" for a Branch view/template. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_attributed_touch_data_tilde_view_idarray of string
Branch View ID for a Journey. Set automatically server side.
filters.last_cta_view_data_tilde_campaignarray of string
Campaign (name) specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_cta_view_data_tilde_campaign_idarray of string
Campaign ID specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_channelarray of string
Channel specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_cta_view_data_tilde_featurearray of string
Feature specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_cta_view_data_tilde_stagearray of string
Stage specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_cta_view_data_tilde_tagsarray of string
Tags specified for the last Branch CTA view. Can be specified on links by the client, or prefilled automatically server side in some cases.
filters.last_cta_view_data_tilde_advertising_partner_namearray of string
Human-readable advertising partner name specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_secondary_publisherarray of string
Secondary publisher specified for the last Branch CTA view. Passed by the ad network.
filters.last_cta_view_data_tilde_creative_namearray of string
Creative name specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_creative_idarray of string
Creative ID specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_ad_set_namearray of string
Ad set name specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_ad_set_idarray of string
Ad set ID specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_ad_namearray of string
Ad name specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_tilde_ad_idarray of string
Ad ID specified for the last Branch CTA view. Set automatically server side.
filters.last_cta_view_data_plus_via_featuresarray of enum
All Branch features (determined by Branch) that were determined, via attribution, to have led to this event. For example, if an email link click leads to a Journeys CTA view, the published eo_branch_cta_view will have +via_features: [EMAIL, JOURNEYS]. Set automatically server side.
Whether the Meta mobile data terms have been signed for the last CTA view touch. When true, Meta doesn't require Branch to scrub Meta-related data from this CTA view record.
filters.last_cta_view_data_plus_web_formatarray of string
Set if an event originated with a Branch CTA view on Google AMP or Facebook Instant Article. Specified by the client.
Whether the Meta mobile data terms have been signed for the install touch. When true, Meta doesn't require Branch to scrub Meta-related data from this record.
Whether the Meta mobile data terms have been signed for the reengagement touch. When true, Meta doesn't require Branch to scrub Meta-related data from this reengagement record.
filters.body_ad_network_idarray of string
SKAdNetwork ad network ID. Set server side.
filters.body_campaign_idarray of string
SKAdNetwork campaign ID. Set server side.
filters.body_app_idarray of string
SKAdNetwork app ID. Set server side.
filters.body_redownloadarray of string
SKAdNetwork redownload status. Set server side.
filters.body_source_app_idarray of string
SKAdNetwork source app ID. Set server side.
filters.body_conversion_valuearray of string
SKAdNetwork conversion value. Set server side.
filters.body_last_attributed_touch_data_tilde_creative_namearray of string
SKAdNetwork LATD creative name. Set server side.
filters.body_last_attributed_touch_data_tilde_ad_set_namearray of string
SKAdNetwork LATD ad set name. Set server side.
filters.body_last_attributed_touch_data_tilde_creative_idarray of string
SKAdNetwork LATD creative ID. Set server side.
filters.body_last_attributed_touch_data_tilde_ad_set_idarray of string
SKAdNetwork LATD ad set ID. Set server side.
filters.body_last_attributed_touch_data_tilde_ad_namearray of string
SKAdNetwork LATD ad name. Set server side.
filters.body_last_attributed_touch_data_tilde_ad_idarray of string
SKAdNetwork LATD ad ID. Set server side.
filters.body_last_attributed_touch_data_tilde_campaign_idarray of string
SKAdNetwork LATD campaign ID. Set server side.
filters.body_last_attributed_touch_data_tilde_campaign_namearray of string
SKAdNetwork LATD campaign name. Set server side.
filters.body_last_attributed_touch_data_tilde_campaignarray of string
SKAdNetwork LATD campaign. Set server side.
filters.annotation_dollar_3parray of string
SKAdNetwork annotation 3p shortcode. Set server side.
filters.annotation_conversion_value_mapped_valuearray of string
SKAdNetwork annotation conversion value mapped value. Set server side.
filters.annotation_conversion_value_revisionarray of string
SKAdNetwork annotation conversion value revision. Set server side.
filters.annotation_campaign_id_mapped_valuearray of string
SKAdNetwork annotation campaign ID mapped value. Set server side.
filters.annotation_campaign_id_revisionarray of string
SKAdNetwork annotation campaign ID revision. Set server side.
filters.annotation_source_app_id_mapped_valuearray of string
SKAdNetwork annotation source app ID mapped value. Set server side.
filters.annotation_source_app_id_revisionarray of string
SKAdNetwork annotation source app ID. Set server side.
filters.annotation_customer_event_aliasarray of string
SKAdNetwork annotation customer event alias. Set server side.
filters.days_from_last_attributed_touch_to_eventarray of string
Number of days between when the last touch occurred and when this event subsequently occurred. Set automatically server side.
filters.days_from_last_cta_view_to_eventarray of string
Number of days between when the last Branch CTA view occurred and when this event subsequently occurred. Set automatically server side.
filters.event_data_product_categoriesarray of enum
Iterate over content_items and aggregate the category from each product. Specified by the client.
Whether this is the first time for this persona that this event has been triggered. Set automatically server side.
truefalse
filters.customer_event_aliasarray of string
You can specify that an event of type "purchase" should have the name "buy20tokens". customer_event_alias captures this name, which is additional information. For most events, this is likely unnecessary.
formatenumquery
Format of the returned data: json or csv.
csvjson
granularityenum
The time granularity that each band value will represent.
dayweekmonth
limitintegerquery
The maximum number of results to return.
Returns
Status of aggregate export. Returns 400, 429, and 500 on failure — see the response panel for the error shape.