-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This API is available to FullStory customers participating in a private beta of the new Data Export API. If you are interested in participating in the beta, please email [email protected].
The segex
CLI tool is built on this API.
The data dictionary for event export is on the current API docs site: https://developer.fullstory.com/get-data-export
API access is controlled via Basic Authorization. Your API key must be included in an Authorization
HTTP request header:
headers: {
Authorization: `Basic ${apiKey}`,
'Content-Type': 'application/json'
}
Kick off a segment export job.
The segment id of the segment created in FullStory. See finding a segment created in FullStory.
Allowed values are TYPE_EVENT
and TYPE_INDIVIDUAL
Allowed values are FORMAT_NDJSON
and FORMAT_CSV
The time_range
object has two fields: start
and end
formatted as RFC 3339 timestamps.
time_range: {
start: string,
end: string
}
The Id of the backend job that performs the segment export. Used by /operations/v1/${operation_id}
to get the completion status of the export job.
Retrieve the status of a segment export job.
The Id of the backend job that performs the segment export. Returned in the POST /segments/v1/exports
response.
The current state of the export job.
Estimated completion of the export job
The search export result Id and expiration date
results: {
searchExportId: string,
expires: string
}
Retrieve a URL to download a data file in the format specified in POST /segments/v1/exports
. This URL expires after a set amount of time.
The searchExportId
returned from the GET /operations/v1/${operation_id}
response.
The URL path to download the export data file. The file is a compressed (*.gz
) file formatted as specified in POST /segments/v1/exports
. It will need to be uncompressed to be read.
The expiration date for the location
URL. Once expired, the file is no longer available at location
.