Task fetching
Fetch a Midjourney task
Use CometAPI GET /mj/task//fetch to retrieve a single Midjourney task status quickly and reliably for monitoring and result polling.
GET
/
mj
/
task
/
{id}
/
fetch
curl "https://api.cometapi.com/mj/task/<task_id>/fetch" \
-H "Authorization: Bearer $COMETAPI_KEY"
{
"id": "1773314942177684",
"status": "SUCCESS",
"progress": "100%",
"imageUrl": "https://api.cometapi.com/mj/image/1773314942177684",
"videoUrl": "",
"buttons": [
{
"customId": "MJ::JOB::upsample::1::example",
"emoji": "",
"label": "U1",
"type": 2,
"style": 1
}
]
}Use this endpoint after every Midjourney submit call. It is the main polling endpoint for imagine, action, modal, blend, and editor workflows.
Check these fields first
statusfor the overall task stateprogressfor the current completion signalimageUrlorvideoUrlwhen the asset is readybuttonsfor the next availablecustomIdvalues
Polling rules
- Keep polling until the task reaches
SUCCESS,MODAL, orFAILURE - Treat the
buttonsarray as the source of truth for follow-up actions - Use
imageUrlwhen you need the finished grid or upscale result
Response
200 - application/json
Current task state.
Last modified on June 23, 2026
⌘I
curl "https://api.cometapi.com/mj/task/<task_id>/fetch" \
-H "Authorization: Bearer $COMETAPI_KEY"
{
"id": "1773314942177684",
"status": "SUCCESS",
"progress": "100%",
"imageUrl": "https://api.cometapi.com/mj/image/1773314942177684",
"videoUrl": "",
"buttons": [
{
"customId": "MJ::JOB::upsample::1::example",
"emoji": "",
"label": "U1",
"type": 2,
"style": 1
}
]
}