Lists the case's export jobs with their status, progress and file.
Query parameters
-
Default value is
1. -
Default value is
10. -
If skip/limit not provided, page/perPage will take precedence
-
If skip/limit not provided, page/perPage will take precedence
-
Values are
ascordesc. Default value isasc. -
Values are
conversation,browser-history,emails,case-files,case-attachments,financial,linkedin,ai-chat, orcontacts. -
Values are
doc,text,csv,pdf,goodfact,rsmf,eml, orfiles-zip. -
Values are
createdAtorexportedAt. Default value iscreatedAt.
GET
/case/{caseId}/export
curl \
--request GET 'http://api.example.com/case/{caseId}/export' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "organization: string"
Response examples (200)
{
"data": {
"total": 42,
"page": 1,
"perPage": 20,
"skip": 0,
"limit": 20,
"totalPages": 3,
"nextPage": 2,
"previousPage": 42.0,
"data": [
{
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"organization": {},
"device": {},
"type": "doc",
"source": "conversation",
"chunkType": "none",
"exportedBy": "507f1f77bcf86cd799439011",
"tags": [
{}
],
"emails": [
"jane.doe@example.com"
],
"caseFileIds": [
"507f1f77bcf86cd799439015"
],
"fileName": "doe-v-example-export.pdf",
"file": {
"createdAt": "2026-01-15T14:30:00.000Z",
"updatedAt": "2026-01-15T14:30:00.000Z",
"id": "507f1f77bcf86cd799439011",
"name": "photo.heic",
"providerId": "uploads/507f1f77bcf86cd799439011/photo.heic",
"convertedName": "photo.jpg",
"convertedProviderId": "uploads/507f1f77bcf86cd799439011/photo.jpg",
"provider": "s3",
"size": 204800,
"transferState": 42.0
},
"sortBy": "old-to-new",
"size": 1048576,
"errorMessage": "string",
"totalMessages": 1200,
"messagesProcessed": 600,
"totalConversations": 12,
"conversationsProcessed": 6,
"status": "not-started",
"jobId": "job-1234",
"totalJobs": 1,
"emailData": [
[
{}
]
],
"metadata": {},
"failedThreadsCount": 0,
"cmpSyncStatus": "pending",
"progress": 100,
"conversationNames": [
"Jane Doe"
],
"caseName": "Doe v. Example Corp"
}
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}