I had done a bit of ear training last year and I'm going to get back into it. I can recognize intervals pretty well.

After brushing up on my intervals. I want to apply this to start recognizing and imitating simple melodies, eventually working from simple to more complex melodies.
I believed this to be called melodic dictation but I've found different exercises online that aren't exactly like that, and others that are. Some exercises play a chord progression rather than a single melodic line and I'm not sure what I'm supposed to do.

I can't seem to find any definition of melodic dictation online. Is what I'm trying to accomplish melodic dictation?