Task management

User Guide

Task management

Manage async tasks such as Midjourney image generation and Suno music generation

EasyAPI records long-running requests such as Midjourney, music, and video generation as async tasks. Query general tasks with `GET /api/task/self` and Midjourney image tasks with `GET /api/mj/self`. The console sidebar modules already include “Task logs” and “Drawing logs” entries; the list page UI matches the reference design and is still being integrated.

View task records

Open task logs

Async tasks are queried through two endpoints, both of which require a signed-in session:

TypeAPIDescription
General tasksGET /api/task/selfAsync tasks of the current user, such as Suno and video generation
Midjourney tasksGET /api/mj/selfMJ imagine, upscale, variation, and other tasks of the current user
  • To show these in the console sidebar, go to Profile settings → Sidebar modules and enable “Task logs” and “Drawing logs” (sidebar_modules.console.task / midjourney)
  • The list page UI (time filter, task ID search, progress, and preview links) matches the reference design; the web console page is still being integrated

Search and filter

Set filters

  • Time range: filter by submission or completion time (start and end datetime)
  • Task ID: search by task_id or the Midjourney mj_id
  • Channel ID: filter by channel_id (multi-tenant or admin scenarios)
  • Click Search to apply the filters, Reset to clear them, or Refresh to reload the list

View results

The table shows each task’s submission and completion time, platform, type, status, and progress. For successful tasks, the Details column links to the image or video preview; failed tasks show fail_reason.

easyapi.com/console · Task records
Last 7 daysTask IDChannel IDSearchResetRefresh
SubmittedPlatformTypeTask IDStatusProgressDetails
2026-06-02 15:01:22sunogeneratetsk_8f2…SUCCESS100%Preview audio
2026-06-02 14:48:09midjourneyimaginemj_3a1…IN_PROGRESS45%—

Task records example: filter bar, status badges, and result preview links

Task fields

ColumnFieldDescription
Submittedsubmit_timeTimestamp when the task was submitted
Finishedfinish_timeTime when the task succeeded or failed
Durationstart_time / finish_timeCalculated from the start and finish times
PlatformplatformPlatform the task belongs to, such as suno or mj
TypeactionSpecific action type (e.g. imagine, upscale)
Task IDtask_id / mj_idTask identifier from the upstream provider or the gateway
Task statusstatusFor example SUCCESS, FAILURE, IN_PROGRESS
ProgressprogressPercentage or stage description
Detailsdata / image_url / video_urlResult link, preview URL, or the failure reason in fail_reason

Midjourney tasks also include fields such as prompt, image_url, and video_url; general tasks store the result JSON in the data field.

Troubleshoot failures

  • SUCCESS: The task is complete; open the image or video link from Details
  • IN_PROGRESS / SUBMITTED: Still queued or generating; refresh the list later
  • FAILURE: Check the fail_reason field for prompt, quota, or channel issues