Fetching details from the dictionary...

thank you (for your hard work); I appreciate your efforts
仕事を終えた部下に「ご苦労様」と言った。
I said 'good work' to my subordinate who finished work.
「ご苦労様です」と配達員に声をかけた。
I said 'thank you for your work' to the delivery person.
長時間働いた同僚にご苦労様と伝えた。
I told my colleague who worked long hours 'good work.'