Search Exports
Use the search exports request to search across your list of exports by date range, export name, who requested the export, and by export status.
Note
Searching your exports will not show exports that have been deleted, it will however show expired exports.
Endpoint
Method: POST
URL: /export/search
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| Array | Search for exports from a specified date range, use | Optional |
| String | Search for exports where the | Optional |
| String | Search for exports requested by a specific user ID. | Optional |
| String | The tenant ID for the tenant to search exports across. | Required |
| String | Search for exports with a specific status, valid values are:
| Optional |
For an example request, see Sample Request.
Response and Error Code
Response Code | Condition |
---|---|
200 | OK |
Response Parameters
Parameter Name | Data Type | Description |
---|---|---|
| Array | The list of exports provided in the response, each export will have the below parameters if applicable. |
| Integer | The ID of the specific export. |
| String | The ID of your tenant, the tenant the export belongs to. |
| String | The name of the export, either a friendly name manually entered when the export was set up, or a generated name if the export is the result of an export policy. |
| String | The types of data included in the export, this indicates if audio, metadata, and/or screen recording are part of the export:
|
| Array | Filter details for the export, what criteria was specified to determine which conversations to export. See Filters for a detailed explanation on how filters work - how to use them in API requests and therefore how to understand them in API responses. |
| String | A list of the conversation IDs for the conversations that are included in the export. |
| String | The ID of the user who requested the export. |
| Date-Time | The date and time that the export was requested, in the format |
| Date-Time | The date and time that the export will expire, in the format |
| String | The status of the export, indicates if the export is, Accepted, In Progress, Failed, Unable to Start, Completed, or Expired. |
| Number | Indicates how complete the export is by percentage, |
| String | A link to download the export zip file. The link provided will link to the file location, and include the credentials for accessing the file, following the link will start the file download. |
| String | The format that the metadata is provided in, either CSV or JSON. |
| Number | How many conversations are included in the export. |
For an example response, see Sample Response.
Sample Request
{ "requestedDateRange": { "startDate": "2024-06-23T23:00:00.000Z", "endDate": "2024-08-15T22:59:59.999Z" }, "nameContains": "", "requesterId": "auth0|auth0|735ujf53h235bn09835d984h", "tenantId": "67hg8362-g3d2-7g92-9273-d9h02kr83736", "status": "EXPORT_STATUS_COMPLETED" }
Sample Response
{ "exports": [ { "exportId": "822", "tenantId": "67hg8362-g3d2-7g92-9273-d9h02kr83736", "exportName": "ExampleExport2", "exportTypes": [ "EXPORT_TYPE_AUDIO", "EXPORT_TYPE_SCREEN_RECORDING", "EXPORT_TYPE_METADATA" ], "groupFilter": { "leftFilter": { "field": "CONVERSATION_FIELD_START_TIMESTAMP", "operator": "CONVERSATION_FILTER_OPERATOR_GREATER_THAN_OR_EQUAL", "timestampValue": "2024-08-04T00:00:00Z" }, "operator": "CONVERSATION_LOGICAL_OPERATOR_AND", "rightFilter": { "field": "CONVERSATION_FIELD_END_TIMESTAMP", "operator": "CONVERSATION_FILTER_OPERATOR_LESS_THAN_OR_EQUAL", "timestampValue": "2024-08-06T22:59:59.999Z" } }, "requesterId": "auth0|735ujf53h235bn09835d984h", "requestedDate": "2024-08-06T14:00:02.842320Z", "completionDate": "2024-08-06T14:00:21.936123Z", "expirationDate": "2024-08-06T15:00:21.936138Z", "status": "EXPORT_STATUS_COMPLETED", "completionPercentage": "100", "downloadLink": "https://uniphore-platform-staging.s3.us-east-2.amazonaws.com/exports/66dd8418-b1d1-4d47-9218-c0e29bf13170/e21d9a32-9234-4efc-bdfa-394e862b493b/ExampleExport2.zip?response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIATWYKH5YDG42SLUYK%2F20240806%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20240806T140021Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=12a99b26451411c1ca9a1f6f9d659ad24535ba188ea7aa9516e7ccd21d5e0ffd", "metadataFormat": "EXPORT_METADATA_FORMAT_JSON", "numExportEntities": "3" } ] }