Jobs
Bulk update stuck image statuses
Updates the status of multiple ImageResult objects to 'failed'. This is useful for cleaning up images that are stuck in 'pending' or 'processing' status. Only images belonging to the authenticated user can be updated.
AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
image_idsImage Ids
List of image result IDs to update
new_statusNew Status
New status to set (currently only 'failed' is allowed)
error_message?Error Message
Optional error message to set
Default
"Manually marked as failed due to stuck processing"Response Body
Examples
curl -X POST "https://v2.api.piktid.com/jobs/stuck-images/bulk-update" \
-H "Content-Type: application/json" \
-d '{
"image_ids": [
0
],
"new_status": "failed"
}'{
"success": true,
"updated_count": 0,
"message": "string"
}Empty
Empty