Audience export REST API
The Audience export REST API lets you access the output of an audience export job.
After an audience export job finishes running, its output becomes available at presigned URLs. You can download the output of the export job by opening the URLs.
To access output URLs using the Audience export REST API, you can:
The following table describes audience export attributes:
Attribute |
Type |
Description |
Example(s) |
---|---|---|---|
|
string (UUID) |
The reference of the audience export job. |
|
|
string (UUID) |
The UUID reference of the audience export. |
|
|
string |
The unique ID of the audience export. Only lowercase alphanumeric characters and underscores are allowed. |
|
|
string enum (uppercase) |
Whether the audience export runs instantly or on a schedule. |
Must be one of:
|
|
string enum (uppercase) |
Whether the audience export is a full or a delta export. |
Must be one of:
|
|
string enum (uppercase) |
The status of the audience export job. |
Must be one of:
|
|
string enum (uppercase) |
Whether the segment in the audience export is scheduled or live. |
Must be one of:
|
|
integer |
The number of guests in the segment selected for the export. |
|
|
integer |
The number of guests matched by the filter. These guests are included in the export. |
|
|
integer |
The number of guests not matched by the filter. These guests are excluded from the export. |
|
|
integer |
The number of guests the export succeeded for. |
|
|
integer |
The number of guests the export failed for. |
|
|
integer |
The number of guests that filtering failed for. |
|
|
array of objects |
A list of errors related to conditions, for example, errors with the JavaScript in a condition. |
RequestResponse
|
|
array of objects |
A list of errors related to the JavaScript in the export and the attribute values in the output structure. |
RequestResponse
|
|
array of strings |
A list of all errors. |
RequestResponse
|
|
string |
The time the export job started running. |
|
|
string |
The time the export job finished running. |
|
|
string |
The time the output URLs expire. |
|
|
integer |
The total number of files included in the output. |
|
|
integer |
The total size of all the output files in kilobytes. |
|
array of objects |
A list of all the presigned output URLs for the export job. |
RequestResponse
|
The exports
array of objects: