Task Fetching API
List by Condition
POST /mj/task/list-by-condition lists Midjourney tasks by filters to fetch status for one or multiple jobs, including progress and results.
POST
List by Condition
Use this endpoint when you need to retrieve a batch of Midjourney tasks instead of polling one task id at a time.
When to use it
- You are tracking many Midjourney tasks together
- You want to filter by task state, submission window, or other server-side conditions
- You need a dashboard or reconciliation job instead of an interactive single-task poll
Query pattern
Use single-task polling for hot paths
For one active task, prefer Fetch Single Task, because it is simpler and faster.
Use condition-based listing for batch checks
Send your filter conditions through this endpoint when you need to inspect multiple Midjourney tasks in one request.
Follow up on interesting tasks
When the batch result shows tasks that need deeper inspection or continuation, switch back to Fetch Single Task and Action.
Authorizations
Bearer token authentication. Use your CometAPI key.
Body
application/json
Array of Midjourney task ids to retrieve. Returns the current status and result for each.