Moves a waiting export to the top or bottom of the export queue by removing and re-adding its job, which gives it a new queue job id (returned) and resets its retry count. An export with no live job or one a worker already picked up returns 400 and one with several queued jobs 409; if the re-add fails it returns 500 and the export has no queue job until it is re-run or resumed. Returns 404 for an unknown export and 403 while queue operations are turned off. Super admin only.
POST
/admin/exports/{id}/priority
curl \
--request POST 'http://api.example.com/admin/exports/{id}/priority' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"position": "top"
}'
Request examples
{
"position": "top"
}
Response examples (200)
{
"data": {
"exportId": "65a1b2c3d4e5f6a7b8c9d0f1",
"position": "top",
"reordered": true,
"bullJobId": "1907",
"previousBullJobId": "1842",
"message": "Export moved to the top of the queue with a new queue job id."
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}