Get history backfill job status
GET/v1/imap/:mailerID/history/:jobId
Returns tenant-scoped status and clamped progress for a history backfill job (percent, processed/target, startedAt/endedAt). A job owned by another tenant or an unknown job returns 404. History backfill supports Google (Gmail) and Microsoft (Outlook) OAuth mailboxes and basic username/password IMAP mailboxes.
Request
Path Parameters
mailerID stringrequired
Mailer ID
jobId stringrequired
History backfill job ID
Responses
- 200
- 400
- 404
History backfill status
- application/json
- Schema
- Example (from schema)
Schema
endedAt string
jobId string
percent number
processed integer
startedAt string
status string
success boolean
target integer
{
"endedAt": "string",
"jobId": "string",
"percent": 25,
"processed": 250,
"startedAt": "string",
"status": "processing",
"success": true,
"target": 1000
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Job not found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...