Data Exports
List Data Exports
List the buckets Sequenzy streams your data to
GET
/
api
/
v1
/
data-exports
List Data Exports
curl --request GET \
--url https://api.sequenzy.com/api/v1/data-exports \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/data-exports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/data-exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/data-exports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/data-exports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sequenzy.com/api/v1/data-exports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/data-exports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"dataExports": [
{
"id": "exp_abc123",
"name": "Analytics lake",
"provider": "s3",
"bucket": "acme-exports",
"region": "us-east-1",
"endpoint": null,
"pathPrefix": "sequenzy",
"accessKeyId": "AKIA…WXYZ",
"datasets": ["email_events", "custom_events", "subscribers"],
"frequency": "every_15_minutes",
"isEnabled": true,
"status": "idle",
"startFrom": "2026-09-30T09:00:00.000Z",
"exportedThrough": {
"email_events": "2026-09-30T11:58:00.000Z",
"custom_events": "2026-09-30T11:58:00.000Z",
"subscribers": "2026-09-30"
},
"nextRunAt": "2026-09-30T12:13:00.000Z",
"lastRunAt": "2026-09-30T11:58:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:04.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"totalRowsExported": 184233,
"createdAt": "2026-09-30T09:00:00.000Z",
"updatedAt": "2026-09-30T12:00:04.000Z"
}
]
}
{
"success": false,
"error": "API key is missing required scope: data_exports:read"
}
Returns every data export in the workspace with its status, how far each dataset has been exported, and the last error. Credentials are never returned;
accessKeyId is masked.
Requires the data_exports:read scope. Marketers cannot use data export routes.
curl "https://api.sequenzy.com/api/v1/data-exports" \
-H "Authorization: Bearer YOUR_API_KEY"
Response fields
object[]
Show data export
Show data export
string
string
string
s3 or gcs.string
string
auto for GCS and custom endpoints without a region.string | null
Custom S3-compatible endpoint, or
null.string
Folder inside the bucket, without leading or trailing slashes.
string
Masked, for example
AKIA…WXYZ.string[]
Any of
email_events, sms_events, custom_events, subscribers.string
every_5_minutes, every_15_minutes, hourly or daily.boolean
false while paused.string
idle, queued, running, or failed (the last run failed and a retry
is scheduled).object
Per dataset. Event datasets: everything recorded up to this timestamp has
been written.
subscribers: date of the last complete snapshot. null
before the first export.string | null
string | null
string | null
string | null
Readable reason for the last failure, cleared after a successful run.
integer
Retries back off exponentially from the export frequency, up to 6 hours.
integer
{
"success": true,
"dataExports": [
{
"id": "exp_abc123",
"name": "Analytics lake",
"provider": "s3",
"bucket": "acme-exports",
"region": "us-east-1",
"endpoint": null,
"pathPrefix": "sequenzy",
"accessKeyId": "AKIA…WXYZ",
"datasets": ["email_events", "custom_events", "subscribers"],
"frequency": "every_15_minutes",
"isEnabled": true,
"status": "idle",
"startFrom": "2026-09-30T09:00:00.000Z",
"exportedThrough": {
"email_events": "2026-09-30T11:58:00.000Z",
"custom_events": "2026-09-30T11:58:00.000Z",
"subscribers": "2026-09-30"
},
"nextRunAt": "2026-09-30T12:13:00.000Z",
"lastRunAt": "2026-09-30T11:58:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:04.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"totalRowsExported": 184233,
"createdAt": "2026-09-30T09:00:00.000Z",
"updatedAt": "2026-09-30T12:00:04.000Z"
}
]
}
{
"success": false,
"error": "API key is missing required scope: data_exports:read"
}
⌘I
List Data Exports
curl --request GET \
--url https://api.sequenzy.com/api/v1/data-exports \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sequenzy.com/api/v1/data-exports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sequenzy.com/api/v1/data-exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sequenzy.com/api/v1/data-exports",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sequenzy.com/api/v1/data-exports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sequenzy.com/api/v1/data-exports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sequenzy.com/api/v1/data-exports")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"dataExports": [
{
"id": "exp_abc123",
"name": "Analytics lake",
"provider": "s3",
"bucket": "acme-exports",
"region": "us-east-1",
"endpoint": null,
"pathPrefix": "sequenzy",
"accessKeyId": "AKIA…WXYZ",
"datasets": ["email_events", "custom_events", "subscribers"],
"frequency": "every_15_minutes",
"isEnabled": true,
"status": "idle",
"startFrom": "2026-09-30T09:00:00.000Z",
"exportedThrough": {
"email_events": "2026-09-30T11:58:00.000Z",
"custom_events": "2026-09-30T11:58:00.000Z",
"subscribers": "2026-09-30"
},
"nextRunAt": "2026-09-30T12:13:00.000Z",
"lastRunAt": "2026-09-30T11:58:00.000Z",
"lastSuccessAt": "2026-09-30T12:00:04.000Z",
"lastError": null,
"lastErrorAt": null,
"consecutiveFailures": 0,
"totalRowsExported": 184233,
"createdAt": "2026-09-30T09:00:00.000Z",
"updatedAt": "2026-09-30T12:00:04.000Z"
}
]
}
{
"success": false,
"error": "API key is missing required scope: data_exports:read"
}