Hey @lewis!
Thanks for your question!
A simialr question was asked previously and Jarryd provided the answer here: How to make buildkite-agent meta-data get "key" optional - #3 by jarryd
TL;DR: it is possible by passing in the job UUID using the --job flag.
Hope that helps with your use case.
Cheers,
Ben