Wait for a job
doseedo_wait_taskWait for an async doseedo job to finish: polls server-side for up to timeout_seconds (5–50; one call can never hold longer than 50 s), then returns the result or the latest status. If it returns still_running:true, call it again — a submit reply's eta_seconds says how long the whole job usually takes (transcribe ~15 s, a render 1–3 min, audio_to_session ~4 min), so a 3-minute job is three or four calls, not one. A finished job answers with its output, artifacts (pre-signed links) and note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which job kind created the task — the registry name the submit reply carried (generate_music, generate_sound, cover_stem, fill_gap, render_midi, train_instrument, render_score, mix, session_from_stems, spot_video, score_to_picture, cover_song, separate_stems, transcribe, audio_to_session, convert_project, bounce_session, analyze_song, detect_chords, beat_grid, check_take, analyze_midi); the short codes (generate, sound, coverstem, fillgap, render, train, score, stemsess, spot, picture, cover, separate, session, convert, bounce, analyze, chords, beats, check, harmony) are accepted aliases. | |
| job_id | No | Alternatively the job_id (job_…) from a submit tool or the jobs API — replaces task_id + kind. | |
| task_id | No | The task_id returned by a submit tool. | |
| timeout_seconds | No | Max seconds to wait in this call (5–50, default 45). Start with the submit reply's suggested_next_wait. |